Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 875066b5fde7b922e9d8d3441f36c420da663fec (plain)
ofshex dumpascii
0000 47 49 46 38 39 61 10 00 10 00 e6 00 00 fc fc fc b7 ba bf fc fc fc b9 bc c1 8c 8f 94 f6 f7 f8 f8 GIF89a..........................
0020 f8 f9 f9 f9 fa f2 f3 f5 f2 f3 f5 f3 f4 f6 f4 f5 f6 f3 f4 f6 f5 f6 f7 f6 f7 f8 f6 f7 f8 f7 f8 f9 ................................
0040 f9 f9 fa f3 f4 f6 f4 f5 f6 f5 f6 f7 f4 f5 f6 f9 f9 fa f8 f8 f9 f2 f3 f5 f3 f4 f6 f5 f6 f7 f6 f7 ................................
0060 f8 f6 f7 f8 f8 f8 f9 f8 f8 f9 f4 f5 f6 f4 f5 f6 f5 f6 f7 f7 f8 f9 f6 f7 f8 f7 f8 f9 aa b0 b6 f7 ................................
0080 f8 f9 f9 f9 fa 91 9b a2 92 9c a3 9d a6 ac ab b2 b8 c5 ca ce ce d3 d6 eb ed ee e1 e4 e6 fb fc fc ................................
00a0 fa fb fc fc fd fd fa fb fc fb fc fc f6 f8 f9 f8 f9 fa f9 fa fb c4 c4 c3 c3 c3 c2 c4 c4 c3 c4 c4 ................................
00c0 c3 c5 c5 c3 c6 c5 c3 c4 c4 c3 c7 c6 c2 c7 c6 c3 e9 e8 e5 c5 c5 c2 c5 c5 c3 c9 c8 c3 c9 c8 c3 c8 ................................
00e0 c7 c3 c7 c6 c3 c6 c5 c3 c9 c8 c3 c8 c7 c3 ff ff ff 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 .................ppppppppppppppp
0100 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 pppppppppppppppppppppppppppppppp
0120 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 pppppppppppppppppppppppppppppppp
0140 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 pppppppppppppppppppppppppppppppp
0160 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 pppppppppppppppppppppppppppppppp
0180 70 70 70 70 70 70 70 70 70 70 70 70 70 21 f9 04 01 00 00 4b 00 2c 00 00 00 00 10 00 10 00 00 07 ppppppppppppp!.....K.,..........
01a0 9d 80 4b 82 83 84 85 86 84 28 87 87 28 28 2d 8a 49 45 44 41 8c 8c 2a 8e 85 32 32 16 1d 1d 8c 2d ..K......(..((-.IEDA..*..22....-
01c0 2c 2b 97 82 25 2f 04 1e 11 27 0f 28 02 02 2d 2b 85 34 30 23 26 17 1c 41 00 00 2e af 83 a4 04 0f ,+..%/...'.(..-+.40#&..A........
01e0 21 22 10 46 06 06 11 29 85 31 33 15 20 1b 0e 3f 03 01 07 4a 84 bd 13 1f 0d 0f 40 05 14 1d 47 85 !".F...).13....?...J......@...G.
0200 37 37 19 12 15 1a 3d d0 24 48 d4 a5 12 12 0b 12 42 db 1a 42 85 36 36 ec 12 43 43 d0 13 3c ea 04 77....=.$H......B..B.66..CC..<..
0220 0a 12 7c 28 18 08 50 47 a1 1a 35 24 ec 10 c7 00 43 02 04 38 0a e5 98 48 b1 62 0e 41 81 00 00 3b ..|(..PG..5$....C..8...H.b.A...;

Back to the top

td class='add' style='width: 0.0%;'/> -rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/ComplianceDiagnoseTest.java2375
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/DietCompletionTest.java2033
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/DietRecoveryTest.java7680
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/DualParseSyntaxErrorTest.java359
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/ExplicitConstructorInvocationCompletionTest.java385
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/ExplicitConstructorInvocationSelectionTest.java229
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/FieldAccessCompletionTest.java2424
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/InMemoryNameEnvironment.java102
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/InnerTypeCompletionTest.java456
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/JavadocCompletionParserTest.java545
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/LabelStatementCompletionTest.java492
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/MethodInvocationCompletionTest.java863
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/NameReferenceCompletionTest.java923
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/ParserTest.java693
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/ReferenceTypeCompletionTest.java1553
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/RunCompletionParserTests.java108
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SelectionJavadocTest.java865
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SelectionTest.java2579
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SelectionTest2.java229
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SingleCompletionTest.java57
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SourceElementParserTest.java5261
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SourceField.java122
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SourceImport.java52
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SourceInitializer.java32
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SourceMethod.java192
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SourcePackage.java49
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SourceType.java271
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SourceUnit.java268
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/StatementRecoveryTest.java3734
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SyntaxErrorTest.java327
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/TestAll.java120
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/TestSourceElementRequestor.java120
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/ASTImplTests.java995
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/AbstractComparableTest.java49
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/AbstractRegressionTest.java1871
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/AssignmentTest.java614
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicAnalyseTests.java200
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicErrorTests.java57
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicJsdocTests.java210
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicParserTests.java1017
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicResolveTests.java1832
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/CharOperationTest.java121
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/CompilerInvocationTests.java791
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/Compliance_1_3.java273
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/DeprecatedTest.java737
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/ExternalizeStringLiterals15Test.java227
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/ExternalizeStringLiteralsTest.java515
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/FieldAccessTest.java199
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/FlowAnalysisTest.java1242
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/ForStatementTest.java77
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InMemoryNameEnvironment.java115
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferResolveTests.java196
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java1490
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InnerEmulationTest.java5692
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InternalHexFloatTest.java409
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InternalScannerTest.java68
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocBugsTest.java5193
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTest.java578
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTestForClass.java990
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTestForConstructor.java946
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTestForField.java1013
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTestForInterface.java2219
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTestForMethod.java4835
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTestMixed.java859
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTestOptions.java2022
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTest_1_3.java3914
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTest_1_4.java3908
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTest_1_5.java2940
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/LocalVariableTest.java363
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/LookupTest.java2702
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/MethodVerifyTest.java7376
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/NonFatalErrorTest.java184
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/NullReferenceImplTests.java1889
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/NullReferenceImplTransformations.java3177
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/NullReferenceTest.java8710
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/NumericTest.java95
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/OaaMetadataTests.java150
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/ProblemConstructorTest.java136
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/ProblemTypeAndMethodTest.java113
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/RegressionTestSetup.java40
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/Requestor.java92
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/RunComparableTests.java70
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/RuntimeTests.java540
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/ScannerTest.java1205
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/SerialVersionUIDTests.java136
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/StaticImportTest.java1875
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/SuperTypeTest.java266
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/SwitchTest.java576
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/TestAll.java162
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/TryStatementTest.java5366
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/UtilTest.java605
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/VarargsTest.java2067
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/XLargeTest.java11826
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/util/ExclusionTests.java660
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/eval/target/CodeSnippetClassLoader.java118
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/eval/target/CodeSnippetRunner.java471
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/eval/target/IDEInterface.java157
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/future/compiler/regression/AmbiguousMethodTest.java1988
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/future/compiler/regression/ArrayTest.java371
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/future/compiler/regression/BooleanTest.java1151
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/future/compiler/regression/Compliance_1_4.java3431
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/future/compiler/regression/Compliance_1_5.java3456
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/interpret/BasicInterpretTest.java81
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/interpret/InterpretTest.java65
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/junit/extension/PerformanceTestSuite.java96
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/junit/extension/StopableTestCase.java21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/junit/extension/TestCase.java748
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/junit/extension/TestListener.java27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/junit/extension/TestResult.java67
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/AbstractReader.java54
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/J9VMLauncher.java284
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/J9VirtualMachine.java82
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/JRockitVMLauncher.java193
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/LocalVMLauncher.java470
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/LocalVirtualMachine.java231
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/MacVMLauncher.java135
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/NullConsoleReader.java42
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/ProxyConsoleReader.java68
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/RuntimeConstants.java21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/SideCarJ9VMLauncher.java138
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/SideCarVMLauncher.java133
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/StandardVMLauncher.java221
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/TargetException.java34
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/TargetInterface.java148
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/runtime/VMInputStream.java110
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/AbstractCompilerTest.java502
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/CompilerTestSetup.java61
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/TestVerifier.java618
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/Util.java1299
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/util/VerifyTests.java217
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.compiler/test.xml119
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/.classpath7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/.cvsignore2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/.project28
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/.settings/org.eclipse.core.resources.prefs4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/META-INF/MANIFEST.MF25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/META-INF/eclipse.inf6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/about.html28
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/build.properties18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/plugin.properties19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/plugin.xml67
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunCompilerTests.java59
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunDOMTests.java32
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunFormatterTests.java61
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunJSDTCoreTests.java35
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunModelTests.java32
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterAST3Test.java9467
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterBindingsTest.java506
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterJavadocTest.java3405
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterRecoveryTest.java923
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterTest.java8795
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterTest2.java5418
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterTestAST3_2.java8652
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTMatcherTest.java1112
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTModelBridgeTests.java1419
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTNodesCollectorVisitor.java260
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTParserTest.java116
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTPositionsTest.java144
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTStructuralPropertyTest.java348
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTTest.java7191
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTVisitorTest.java1951
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/AbstractASTTests.java548
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/BatchASTCreationTests.java1670
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/BindingsCollectorVisitor.java429
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/CompatibilityRulesTests.java787
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ConverterTestSetup.java564
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/GetKeyVisitor.java29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ProfilingASTConvertionTest.java350
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/RunAllTests.java69
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/RunConverterTests.java66
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/SampleASTs.java276
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/DecodeCodeFormatterPreferences.java154
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/FormatterRegressionTests.java9249
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/CommentFormatterUtil.java193
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/CommentTestCase.java114
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/CommentsTestSuite.java31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/JavaDocTestCase.java703
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/MultiLineTestCase.java204
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/SingleLineTestCase.java197
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AbstractJavaModelCompletionTests.java167
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AbstractJavaModelTests.java2261
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AbstractJavaSearchTests.java607
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AbstractJavadocCompletionModelTest.java500
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AccessRestrictionsTests.java1023
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AttachSourceTests.java1141
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AttachedJavadocTests.java509
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/BindingKeyTests.java227
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/BufferTests.java424
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CancelCounter.java31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/Canceler.java34
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ClassFileTests.java824
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ClassNameTests.java1169
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ClasspathInitializerTests.java1306
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ClasspathTests.java3032
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CodeCorrectionTests.java731
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CodeCorrectionTestsRequestor.java118
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CodeSnippetParsingUtilTests.java125
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompilationUnitTests.java1422
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionContextTests.java3385
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionTests.java13665
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionTests2.java2416
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionTestsRequestor.java193
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionTestsRequestor2.java446
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionWithMissingTypesTests.java1415
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionWithMissingTypesTests2.java249
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionWithMissingTypesTests_1_5.java569
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ContainerInitializer.java48
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CopyMoveElementsTests.java2743
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CopyMoveResourcesTests.java933
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CopyMoveTests.java307
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CreateCompilationUnitTests.java341
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CreateMembersTests.java144
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CreatePackageTests.java133
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/DefaultJavaElementComparator.java295
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/DeleteTests.java1009
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/EncodingTests.java918
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ExclusionPatternsTests.java895
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ExistenceTests.java507
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ExternalJarDeltaTests.java541
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/FactoryTests.java232
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/GetSourceTests.java246
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/HierarchyOnWorkingCopiesTests.java102
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/InclusionPatternsTests.java1049
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JSDTModelTests.java244
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaConventionTests.java402
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaElementDeltaTests.java2056
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaModelTests.java564
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaProjectTests.java1133
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaScriptLikeExtensionsTests.java106
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaSearchBugsTests.java7560
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaSearchJavadocTests.java926
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaSearchMultipleProjectsTests.java919
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaSearchScopeTests.java966
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavaSearchTests.java3616
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavadocBugsCompletionModelTest.java1061
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavadocCompletionContextTests.java1587
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavadocFieldCompletionModelTest.java519
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavadocMethodCompletionModelTest.java2584
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavadocPackageCompletionModelTest.java523
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavadocTextCompletionModelTest.java1240
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/JavadocTypeCompletionModelTest.java1343
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/LocalElementTests.java580
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/MementoTests.java678
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ModifyingResourceTests.java347
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/NameLookupTests2.java253
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/NamingConventionTests.java729
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/OptionTests.java632
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/OverflowingCacheTests.java692
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ReconcilerStatementsRecoveryTests.java346
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ReconcilerTests.java3413
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/RenameTests.java875
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ResolveTests.java2113
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/RootManipulationsTests.java1226
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/RunCompletionModelTests.java100
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/RunJavaSearchTests.java78
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/SearchParticipantTests.java310
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/SearchTests.java1014
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/SelectionJavadocModelTests.java1019
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/Semaphore.java65
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/SignatureTests.java1024
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/SnippetCompletionContextTests.java187
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/SnippetCompletionTests.java326
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/SnippetCompletionTests_1_5.java67
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/SortCompilationUnitElementsTests.java2080
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/SuiteOfTestCases.java122
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/TestBuffer.java191
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/TestPessimisticProvider.java95
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/TestProgressMonitor.java69
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/TestvalidationParticipant.java28
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ThreadSafetyTests.java117
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/TypeHierarchyNotificationTests.java1218
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/TypeHierarchySerializationTests.java143
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/TypeHierarchyTests.java1707
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/TypeResolveTests.java233
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/VariablesInitializer.java48
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/WorkingCopyNotInClasspathTests.java468
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/WorkingCopyOwnerTests.java1331
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/WorkingCopySearchTests.java436
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/WorkingCopyTests.java701
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingExpressionsTest.java1229
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingGroupNodeTest.java139
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingInsertBoundTest.java1525
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingJavadocTest.java1062
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingMethodDeclTest.java2180
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingMoveCodeTest.java1892
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingStatementsTest.java3132
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingTest.java229
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingTrackingTest.java524
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingTypeDeclTest.java1084
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/LineCommentOffsetsTest.java466
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/SourceModifierTest.java149
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/describing/StringAsserts.java153
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingCopyTest.java438
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingInsertTest.java365
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingMoveTest.java488
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingOtherTest.java122
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingRemoveTest.java409
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingReplaceTest.java108
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingTest.java208
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/utils/SequenceReaderTests.java84
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/test.xml119
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/.classpath16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/attach.jarbin953 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/attach2.jarbin1051 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/attach2src.zipbin22 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/attachsrc.new.zipbin374 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/attachsrc.zipbin198 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/b153133.jarbin1774 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/full.jarbin1096 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/fullsrc.zipbin797 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/src.zipbin559 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/src/A.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/srcLib/p/X.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/test.jarbin502 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/test2.jarbin1134 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/test4.jarbin1055 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/test4_src.zipbin609 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/test5.jarbin1513 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/test6.jarbin1748 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/test6src.zipbin556 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachSourceTests/update.jarbin783 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/.classpath7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc.zipbin78240 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/allclasses-frame.html52
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/allclasses-noframe.html52
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/constant-values.html142
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/deprecated-list.html142
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/help-doc.html219
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-1.html141
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-10.html144
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-11.html145
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-12.html150
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-13.html141
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-14.html141
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-15.html141
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-2.html156
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-3.html138
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-4.html144
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-5.html141
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-6.html171
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-7.html147
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-8.html141
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index-files/index-9.html138
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/index.html37
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/overview-frame.html46
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/overview-summary.html156
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/overview-tree.html172
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/Annot.D.html224
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/Annot.html235
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/Annot2.html198
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/E.html362
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/TestClass.html221
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/X.A.html230
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/X.B.html224
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/X.html440
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/Z.html258
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/class-use/Annot.D.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/class-use/Annot.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/class-use/Annot2.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/class-use/E.html185
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/class-use/TestClass.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/class-use/X.A.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/class-use/X.B.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/class-use/X.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/class-use/Z.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/p3/C.html442
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/p3/D.html221
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/p3/class-use/C.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/p3/class-use/D.html201
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/p3/package-frame.html43
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/p3/package-summary.html168
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/p3/package-tree.html154
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/p3/package-use.html166
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/package-frame.html62
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/package-summary.html198
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/package-tree.html166
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p1/p2/package-use.html166
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/X.html254
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/Y.html256
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/Z.html221
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/class-use/X.html176
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/class-use/Y.html140
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/class-use/Z.html184
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/package-frame.html36
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/package-summary.html162
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/package-tree.html151
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/p2/package-use.html172
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/package-list3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/resources/inherit.gifbin57 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/doc/stylesheet.css29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/lib/test6.jarbin7538 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/lib/test6src.zipbin3083 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/src/p1/p2/X.js68
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/AttachedJavadocProject/src/p1/p2/Y.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/.settings/.jsdtscope7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/lib.jarbin2435 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/libSrc.zipbin1573 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectArgument1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectException1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectException2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectField1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectField2.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectFieldType1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectFieldType2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectFieldType3.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectImport1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectImport2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectImport3.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectLocalVariable1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectLocalVariableType1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectLocalVariableType2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectMethod1.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectMethod2.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectReturnType1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectReturnType2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectSuperClass1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectSuperClass2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectSuperInterface1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CodeCorrection/src/CorrectSuperInterface2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/.settings/.jsdtscope6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/core/compiler/package.html17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser1.rscbin23054 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser10.rscbin252 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser11.rscbin252 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser12.rscbin252 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser13.rscbin252 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser14.rscbin1204 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser15.rscbin890 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser16.rscbin1866 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser17.rscbin671 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser18.rscbin7979 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser19.rsc2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser2.rscbin21712 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser20.rscbin12598 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser21.rscbin5368 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser3.rscbin1866 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser4.rscbin3126 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser5.rscbin1866 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser6.rscbin866 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser7.rscbin218 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser8.rscbin598 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/parser9.rscbin15800 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/parser/readableNames.properties306
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/problem/messages.properties465
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/util/messages.properties66
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/core/compiler/CharOperation.js2747
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/core/compiler/IProblem.js983
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/core/compiler/InvalidInputException.js34
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/core/compiler/package.html17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ASTVisitor.js924
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ClassFile.js3040
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/CompilationResult.js433
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/Compiler.js610
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ConfigurableOption.js227
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/DefaultErrorHandlingPolicies.js75
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ICompilerRequestor.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/IDebugRequestor.js42
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/IErrorHandlingPolicy.js28
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/IProblemFactory.js41
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/AND_AND_Expression.js269
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ASTNode.js298
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/AbstractMethodDeclaration.js421
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/AbstractVariableDeclaration.js97
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/AllocationExpression.js317
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Annotation.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/AnnotationTypeDeclaration.js283
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/AnnotationTypeMemberDeclaration.js158
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Argument.js132
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ArrayAllocationExpression.js191
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ArrayInitializer.js209
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ArrayQualifiedTypeReference.js86
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ArrayReference.js213
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ArrayTypeReference.js83
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/AssertStatement.js198
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Assignment.js204
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/BinaryExpression.js1764
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Block.js142
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/BranchStatement.js62
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/BreakStatement.js95
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/CaseStatement.js114
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/CastExpression.js420
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/CharLiteral.js101
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ClassLiteralAccess.js105
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Clinit.js248
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/CompilationUnitDeclaration.js323
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/CompoundAssignment.js158
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ConditionalExpression.js416
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ConstructorDeclaration.js467
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ContinueStatement.js100
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/DoStatement.js173
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/DoubleLiteral.js115
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/EmptyStatement.js64
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/EnumConstant.js208
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/EnumDeclaration.js242
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/EqualExpression.js454
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ExplicitConstructorCall.js366
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Expression.js757
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ExtendedStringLiteral.js79
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/FalseLiteral.js67
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/FieldDeclaration.js242
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/FieldReference.js545
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/FloatLiteral.js117
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ForStatement.js325
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ForeachStatement.js393
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/IfStatement.js242
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ImplicitDocTypeReference.js73
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ImportReference.js82
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Initializer.js120
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/InstanceOfExpression.js105
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/IntLiteral.js150
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/IntLiteralMinValue.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Javadoc.js495
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocAllocationExpression.js113
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocArgumentExpression.js98
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocArrayQualifiedTypeReference.js48
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocArraySingleTypeReference.js46
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocFieldReference.js143
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocImportReference.js32
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocMessageSend.js170
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocQualifiedTypeReference.js94
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocReturnStatement.js51
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocSingleNameReference.js58
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/JavadocSingleTypeReference.js94
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/LabeledStatement.js129
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Literal.js57
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/LocalDeclaration.js226
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/LongLiteral.js141
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/LongLiteralMinValue.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/MagicLiteral.js29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/MarkerAnnotation.js42
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/MemberValuePair.js67
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/MessageSend.js399
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/MethodDeclaration.js181
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/NameReference.js64
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/NormalAnnotation.js84
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/NullLiteral.js59
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/NumberLiteral.js36
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/OR_OR_Expression.js272
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/OperatorExpression.js1564
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/OperatorIds.js43
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ParameterizedQualifiedTypeReference.js287
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ParameterizedSingleTypeReference.js217
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/PostfixExpression.js77
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/PrefixExpression.js60
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/QualifiedAllocationExpression.js359
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/QualifiedNameReference.js877
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/QualifiedSuperReference.js63
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/QualifiedThisReference.js120
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/QualifiedTypeReference.js115
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Reference.js70
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ReturnStatement.js244
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/SingleMemberAnnotation.js69
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/SingleNameReference.js689
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/SingleTypeReference.js77
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Statement.js79
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/StringLiteral.js120
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/StringLiteralConcatenation.js79
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/SubRoutineStatement.js67
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/SuperReference.js68
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/SwitchStatement.js320
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/SynchronizedStatement.js194
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ThisReference.js120
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/ThrowStatement.js79
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/TrueLiteral.js70
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/TryStatement.js562
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/TypeDeclaration.js1202
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/TypeParameter.js79
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/TypeReference.js164
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/UnaryExpression.js301
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/WhileStatement.js234
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/ast/Wildcard.js112
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/classfmt/ClassFileConstants.js72
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/classfmt/ClassFileReader.js827
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/classfmt/ClassFileStruct.js188
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/classfmt/ClassFormatException.js131
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/classfmt/FieldInfo.js318
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/classfmt/InnerClassInfo.js142
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/classfmt/MethodInfo.js251
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/AttributeNamesConstants.js25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/CaseLabel.js81
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/CharArrayCache.js184
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/CodeStream.js5479
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/ConstantPool.js3609
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/DoubleCache.js138
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/ExceptionLabel.js49
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/FieldNameAndTypeCache.js161
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/FloatCache.js138
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/IntegerCache.js155
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/Label.js262
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/LongCache.js155
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/MethodNameAndTypeCache.js162
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/ObjectCache.js152
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/Opcodes.js216
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/codegen/QualifiedNamesConstants.js107
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/IBinaryField.js39
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/IBinaryMethod.js50
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/IBinaryNestedType.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/IBinaryType.js114
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/ICompilationUnit.js36
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/IConstants.js48
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/IDependent.js44
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/IGenericField.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/IGenericMethod.js36
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/IGenericType.js32
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/INameEnvironment.js71
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/ISourceField.js47
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/ISourceImport.js45
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/ISourceMethod.js72
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/ISourceType.js108
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/env/NameEnvironmentAnswer.js79
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/ConditionalFlowInfo.js178
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/ExceptionHandlingFlowContext.js219
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/FinallyFlowContext.js122
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/FlowContext.js493
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/FlowInfo.js144
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/InitializationFlowContext.js97
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/InsideSubRoutineFlowContext.js59
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/LabelFlowContext.js61
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/LoopingFlowContext.js153
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/SwitchFlowContext.js54
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/flow/UnconditionalFlowInfo.js558
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/BooleanConstant.js41
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/ByteConstant.js52
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/CharConstant.js55
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/CompilerOptions.js725
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/Constant.js1611
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/DoubleConstant.js64
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/FloatConstant.js62
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/ITypeRequestor.js37
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/IntConstant.js63
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/LongConstant.js52
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/ReferenceContext.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/ShortConstant.js52
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/impl/StringConstant.js48
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ArrayBinding.js219
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/BaseTypeBinding.js186
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/BaseTypes.js24
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/BinaryTypeBinding.js819
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/Binding.js45
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/BindingIds.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/BlockScope.js825
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ClassScope.js995
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/CompilationUnitScope.js633
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/CompilerModifiers.js42
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/FieldBinding.js228
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ImportBinding.js45
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/InnerEmulationDependency.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/InvocationSite.js28
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/LocalTypeBinding.js177
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/LocalVariableBinding.js110
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/LookupEnvironment.js815
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/MemberTypeBinding.js39
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/MethodBinding.js635
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/MethodScope.js502
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/MethodVerifier.js544
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/MethodVerifier15.js161
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/NestedTypeBinding.js217
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/PackageBinding.js197
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ParameterizedFieldBinding.js59
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ParameterizedGenericMethodBinding.js232
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ParameterizedMethodBinding.js91
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ParameterizedTypeBinding.js787
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ProblemBinding.js55
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ProblemFieldBinding.js41
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ProblemMethodBinding.js42
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ProblemPackageBinding.js32
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ProblemReasons.js28
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ProblemReferenceBinding.js50
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/RawTypeBinding.js170
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/ReferenceBinding.js742
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/Scope.js2887
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/SignatureWrapper.js68
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/SourceTypeBinding.js1162
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/Substitution.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/SyntheticAccessMethodBinding.js307
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/SyntheticArgumentBinding.js61
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/SyntheticFieldBinding.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/TagBits.js61
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/TypeBinding.js289
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/TypeConstants.js89
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/TypeIds.js138
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/TypeVariableBinding.js210
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/UnresolvedReferenceBinding.js70
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/UpdatedMethodBinding.js25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/VariableBinding.js59
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/lookup/WildcardBinding.js325
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/AbstractCommentParser.js1234
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/JavadocParser.js632
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/NLSLine.js65
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/Parser.js9112
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/ParserBasicInformation.js35
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredBlock.js330
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredElement.js308
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredField.js169
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredImport.js57
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredInitializer.js237
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredLocalVariable.js108
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredMethod.js447
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredStatement.js54
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredType.js511
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/RecoveredUnit.js217
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/Scanner.js3587
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/TerminalTokens.js144
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/diagnose/DiagnoseParser.js2295
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/diagnose/LexStream.js270
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/diagnose/RangeUtil.js200
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser1.rscbin23054 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser10.rscbin252 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser11.rscbin252 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser12.rscbin252 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser13.rscbin252 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser14.rscbin1204 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser15.rscbin890 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser16.rscbin1866 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser17.rscbin671 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser18.rscbin7979 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser19.rsc2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser2.rscbin21712 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser20.rscbin12598 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser21.rscbin5368 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser3.rscbin1866 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser4.rscbin3126 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser5.rscbin1866 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser6.rscbin866 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser7.rscbin218 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser8.rscbin598 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/parser9.rscbin15800 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/parser/readableNames.properties90
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/AbortCompilation.js75
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/AbortCompilationUnit.js29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/AbortMethod.js29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/AbortType.js29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/DefaultProblem.js227
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/DefaultProblemFactory.js197
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/ProblemHandler.js183
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/ProblemReporter.js4731
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/ProblemSeverities.js25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/ShouldNotImplement.js24
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/problem/messages.properties465
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/CompoundNameVector.js71
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/FloatUtil.js421
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/HashtableOfInt.js92
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/HashtableOfIntValues.js148
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/HashtableOfLong.js92
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/HashtableOfObject.js146
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/HashtableOfPackage.js96
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/HashtableOfType.js96
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/ObjectVector.js132
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/SimpleLookupTable.js156
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/SimpleNameVector.js96
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/SuffixConstants.js43
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/Util.js523
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/WeakHashSet.js206
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Compiler/src/org/eclipse/jsdt/internal/compiler/util/messages.properties66
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/.settings/.jsdtscope15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/ZZZ.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/constructors.jarbin1456 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/constructorssrc.zipbin615 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/generics.jarbin695 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/genericssrc.zipbin265 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/lib.jarbin392 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/pack.jarbin1303 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/same.jarbin535 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CUWithSecondaryType.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/ClassWithComplexName.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/Completion2InterfacesWithSameMethod.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAfterCase1.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAfterCase2.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAfterSupercall1.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAfterSwitch.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAllocationExpressionIsParent1.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAllocationExpressionIsParent4.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAllocationExpressionIsParent5.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAmbiguousFieldName.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAmbiguousFieldName3.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAmbiguousFieldName4.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAmbiguousType.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAmbiguousType2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionArgumentName.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionArrayAccess1.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionArraysCloneMethod.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAssignmentInMethod1.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAssignmentInMethod2.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAssignmentInMethod3.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionAssignmentInMethod4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBasicField1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBasicKeyword1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBasicLocalVariable1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBasicMethod1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBasicMethodDeclaration1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBasicPackage1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBasicPotentialMethodDeclaration1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBasicType1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBinaryOperator1.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBinaryOperator2.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionBinaryOperator3.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionCaseInsensitive.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionCaseInsensitivePackage.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionCastIsParent1.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionCastIsParent2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionCatchArgumentName2.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionClassLiteralAfterAnonymousType1.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionConditionalExpression1.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionConditionalExpression2.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionConditionalExpression3.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionConstructorForAnonymousType.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionDefaultPackage.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionEmptyToken1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionEmptyTypeName2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionEmptyTypeName3.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionEndOfCompilationUnit.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionExactNameCaseInsensitive.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionExpectedTypeIsNotValid.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFieldInitializer1.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFieldInitializer2.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFieldInitializer3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFieldInitializer4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFieldName.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindClass2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindException1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindException2.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindField1.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindField2.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindField3.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindLocalVariable.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindMethod1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindMethod2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindMethodInProcess.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindMethodInThis.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindSecondaryType1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionFindThisDotField.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionInsideStaticMethod.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionInstanceofOperator1.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionLocalName.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMessageSendIsParent1.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMessageSendIsParent2.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMessageSendIsParent3.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMessageSendIsParent4.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMessageSendIsParent5.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMessageSendIsParent6.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMethodDeclaration.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMethodDeclaration10.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMethodDeclaration6.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMethodDeclaration7.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMethodDeclaration8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMethodDeclaration9.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMethodThrowsClause.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionMethodThrowsClause2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionNonEmptyToken1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionNonStaticFieldRelevance.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionNullRequestor.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionObjectsMethodWithInterfaceReceiver.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionOnStaticMember1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionOnStaticMember2.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionOutOfBounds.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionRepeatedType.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionReturnInInitializer.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionReturnStatementIsParent1.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionReturnStatementIsParent2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionSameClass.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionThrowStatement.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionType1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionUnaryOperator1.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionUnaryOperator2.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionUnresolvedEnclosingType.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionUnresolvedFieldType.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionUnresolvedParameterType.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionUnresolvedReturnType.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableInitializerInInitializer1.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableInitializerInInitializer2.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableInitializerInInitializer3.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableInitializerInInitializer4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableInitializerInMethod1.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableInitializerInMethod2.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableInitializerInMethod3.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableInitializerInMethod4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableName1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableName2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableName3.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVariableNameUnresolvedType.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVisibilityCheck.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionVoidMethod.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/CompletionWithBinaryFolder.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/Default.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/SuperClass.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/SuperInterface.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/TEST_FOO_MyClass.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/Test_Bar_MyClass.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/TypeWithConstructor.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/XX00.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/XX01.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/XX02.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/XX10.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/XX11.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/XX12.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/XX20.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/XX21.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/XX22.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/deprecation/Bug127628Type1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/deprecation/Bug127628Type2.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/org/eclipse/jsdt/core/tests/BasicTestReferences.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/p1/ABC.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/p2/ABC.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/p3/CompletionToplevelType1.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/pack1/PX.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/pack1/pack3/PX.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/pack2/PX.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/q1/CT1.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/q2/CT1.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/z1/z2/Qla1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/z1/z2/qla0/Qla3.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/z1/z2/qla0/Qla4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/z1/z2/qla0/Wla.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src/z1/z2/qla2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract1.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract10.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract11.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract12.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract13.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract14.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract15.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract16.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract2.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract3.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract4.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract5.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract6.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract7.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract8.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAbstract9.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAssert1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAssert2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAssert3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAssert4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAssert5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordAssert6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordBreak1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordBreak2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordBreak3.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordBreak4.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordBreak5.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordBreak6.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase10.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase2.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase3.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase4.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase5.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase6.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase7.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase8.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCase9.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch1.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch10.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch5.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch6.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch7.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordCatch9.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass1.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass10.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass11.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass12.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass13.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass14.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass15.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass16.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass17.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass18.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass19.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass2.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass20.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass21.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass22.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass23.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass24.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass3.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass4.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass5.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass6.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass7.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass8.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordClass9.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordContinue1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordContinue2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordContinue3.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordContinue4.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault10.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault2.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault3.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault5.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault6.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault7.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault8.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDefault9.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDo1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDo2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDo3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDo4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDo5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordDo6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordElse1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordElse2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordElse3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordElse4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordElse5.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordElse6.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordElse7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordElse8.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends10.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends5.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordExtends9.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFalse1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFalse2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFalse3.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFalse4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal1.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal10.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal11.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal12.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal13.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal14.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal15.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal16.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal17.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal18.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal2.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal3.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal4.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal5.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal6.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal7.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal8.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinal9.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally1.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally10.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally11.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally12.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally13.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally14.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally5.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally6.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally7.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally8.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFinally9.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFor1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFor2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFor3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFor4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFor5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordFor6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordIf1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordIf2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordIf3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordIf4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordIf5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordIf6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImplements1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImplements2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImplements3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImplements4.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImplements5.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImplements6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImport1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImport3.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImport4.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImport5.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImport6.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordImport7.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInstanceof1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInstanceof2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInstanceof3.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInstanceof4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInstanceof5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInstanceof6.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface1.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface10.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface11.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface12.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface13.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface14.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface15.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface16.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface17.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface18.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface3.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface4.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface5.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface6.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface7.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface8.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordInterface9.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNative1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNative2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNative3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNative4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNative5.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNative6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNative7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNative8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew10.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew11.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew12.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew13.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew14.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew15.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew16.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew3.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew6.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew7.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew8.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNew9.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNull1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNull2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNull3.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordNull4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPackage1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPackage3.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPackage4.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPackage5.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPackage6.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPackage7.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate10.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate5.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPrivate9.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected10.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected5.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordProtected9.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic1.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic10.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic11.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic12.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic13.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic14.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic15.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic16.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic17.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic18.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic19.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic20.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic3.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic4.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic5.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic6.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic7.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic8.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordPublic9.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordReturn1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordReturn2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordReturn3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordReturn4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordReturn5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordReturn6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic10.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic5.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStatic9.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStrictfp1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStrictfp2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStrictfp3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStrictfp4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStrictfp5.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStrictfp6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStrictfp7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordStrictfp8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper10.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper11.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper5.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper7.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper8.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSuper9.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSwitch1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSwitch2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSwitch3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSwitch4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSwitch5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSwitch6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized10.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized11.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized12.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized5.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized6.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordSynchronized9.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis10.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis11.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis12.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis13.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis14.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis4.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis5.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis6.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis7.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis8.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThis9.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrow1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrow2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrow3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrow4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrow5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrow6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrows1.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrows2.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrows3.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrows4.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrows5.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrows6.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrows7.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordThrows8.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTransient1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTransient2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTransient3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTransient4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTransient5.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTransient6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTransient7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTransient8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTrue1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTrue2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTrue3.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTrue4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTry1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTry2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTry3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTry4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTry5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordTry6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordVolatile1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordVolatile2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordVolatile3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordVolatile4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordVolatile5.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordVolatile6.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordVolatile7.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordVolatile8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile10.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile5.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile6.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile7.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile8.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/CompletionKeywordWhile9.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/p/CompletionKeywordImport2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/p/CompletionKeywordImport8.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/p/CompletionKeywordPackage2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src2/p/CompletionKeywordPackage8.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0001/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0002/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0003/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0004/Test.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0009/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0010/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0023/Test.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0024/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0025/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0028/Test.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0030/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0032/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0033/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0034/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0035/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0036/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0037/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0038/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0039/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0048/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0049/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0050/Test.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0057/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0060/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0064/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0067/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0068/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0069/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0070/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0072/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0073/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/src3/test0074/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/test0049.jarbin453 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/test0049src.zipbin209 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/tmpDoc.jarbin550 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/tmpDocDoc.zipbin20791 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/tmpDocsrc.zipbin221 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/zzz.jarbin842 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Completion/zzzsrc.zipbin528 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/.settings/.jsdtscope7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/Hello.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/NO_WORKING.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/Test0157.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/Test0158.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/Test0170.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/Test462.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/X.js0
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/codeManipulation/bug.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/examples.oneofeach/ASTPosterChild.js188
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test000/Test.js36
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test001/Test.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test002/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test003/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test004/Test.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test005/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test006/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test007/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test008/Test.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test009/Test.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test010/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test011/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test012/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test013/Test.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test014/X.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test015/Test.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test100/TestB1.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test100/TestB2.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test100/TestD1.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test100/TestD2.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test101/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test102/TestB1.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test102/TestB2.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test102/TestD1.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test102/TestD2.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test103/Test.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test104/TestD1.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test104/TestD2.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test105/TestB1.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test105/TestB2.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test106/Test.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test107/TestB1.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test107/TestB2.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test107/TestD1.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test107/TestD2.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/test108/Test.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug48489/TestA.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug48489/TestB.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug48489/TestC.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug48489/TestD.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug48489/TestE.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug50898/G.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug50898/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51226/X1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51226/X2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51226/X3.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51226/X4.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51226/X5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51226/X6.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51241/X.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51363/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51476/X1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51476/X2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51476/X3.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51478/X1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51478/X2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51478/X3.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51508/X.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51600/Test.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51617/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51650/X.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51660/Test.js37
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51770/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51911/TestInvalid.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51911/TestValid1.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51911/TestValid2.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug51911/TestValid3.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug52908/X.js47
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug52908/Y.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug52908a/Test.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug52908unicode/X.js47
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug52908unicode/Y.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug53075/X.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug53276/TestA.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug53276/TestB.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug53276/TestC.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug53757/Test.js55
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug54424/Test.js25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug54776/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug55221/a/Test.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug55221/b/Test.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug55221/c/Test.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug55221/d/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug55223/TestA.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug55223/TestB.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug63044/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug65174/Test.js39
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug65253/Test.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug65253/TestD.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug65288/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68017/TestInvalid.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68017/TestValid.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68017/TestWarn1.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68017/TestWarn2.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68025/TestA.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68025/TestB.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68726/TestBug68726conform1.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68726/TestBug68726conform2.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68726/TestBug68726negative1.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug68726/TestBug68726negative2.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69272/TestClassInvalid.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69272/TestClassValid.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69272/TestFieldInvalid.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69272/TestFieldValid.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69272/TestMethInvalid.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69272/TestMethValid.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69275/TestA.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69275/TestB.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69302/TestInvalid.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69302/TestValid1.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug69302/TestValid2.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug70892/TestInvalid1.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug70892/TestInvalid2.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug70892/TestValid.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug73348/TestInvalid.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug73348/TestValid.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug77644/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug77644/B.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/javadoc/testBug77644/C.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/awtui/AboutDialog.js67
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/awtui/Logo.js53
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/awtui/ProgressBar.js84
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/awtui/TestRunner.js539
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/extensions/ActiveTestSuite.js64
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/extensions/ExceptionTestCase.js46
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/extensions/RepeatedTest.js31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/extensions/TestDecorator.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/extensions/TestSetup.js37
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/Assert.js291
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/AssertionFailedError.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/ComparisonFailure.js68
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/Protectable.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/Test.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/TestCase.js197
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/TestFailure.js57
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/TestListener.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/TestResult.js166
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/framework/TestSuite.js267
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/BaseTestRunner.js323
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/ClassPathTestCollector.js80
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/FailureDetailView.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/LoadingTestCollector.js69
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/ReloadingTestSuiteLoader.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/SimpleTestCollector.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/Sorter.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/StandardTestSuiteLoader.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/TestCaseClassLoader.js224
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/TestCollector.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/TestRunListener.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/TestSuiteLoader.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/runner/Version.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/AboutDialog.js81
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/CounterPanel.js110
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/DefaultFailureDetailView.js94
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/FailureRunView.js110
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/ProgressBar.js42
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/StatusLine.js42
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/TestHierarchyRunView.js72
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/TestRunContext.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/TestRunView.js37
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/TestRunner.js774
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/TestSelector.js258
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/TestSuitePanel.js159
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/swingui/TestTreeModel.js184
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/textui/ResultPrinter.js138
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/junit/textui/TestRunner.js189
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/p1/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/p2/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/p3/B.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0001/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0002/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0003/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0004/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0005/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0006/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0007/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0008/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0009/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0010/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0011/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0012/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0013/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0014/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0015/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0016/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0017/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0018/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0019/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0020/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0021/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0022/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0023/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0024/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0025/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0026/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0027/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0028/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0029/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0030/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0031/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0032/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0033/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0034/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0035/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0036/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0037/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0038/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0039/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0040/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0041/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0042/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0043/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0044/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0045/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0046/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0047/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0048/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0049/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0050/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0051/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0052/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0053/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0054/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0055/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0056/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0057/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0058/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0059/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0060/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0061/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0062/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0063/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0064/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0065/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0066/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0067/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0068/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0069/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0070/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0071/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0072/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0073/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0074/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0075/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0076/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0077/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0078/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0079/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0080/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0081/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0082/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0083/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0084/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0085/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0086/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0087/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0088/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0089/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0090/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0091/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0092/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0093/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0094/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0095/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0096/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0097/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0098/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0099/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0100/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0101/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0102/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0103/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0104/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0105/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0106/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0107/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0108/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0109/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0110/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0111/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0112/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0113/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0114/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0115/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0116/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0117/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0118/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0119/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0120/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0121/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0122/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0123/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0124/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0125/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0126/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0127/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0128/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0129/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0130/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0131/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0132/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0133/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0134/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0135/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0136/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0137/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0138/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0139/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0140/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0141/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0142/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0143/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0144/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0145/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0146/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0147/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0148/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0149/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0150/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0151/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0152/Test.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0153/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0154/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0155/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0156/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0159/Test.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0160/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0161/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0162/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0163/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0164/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0165/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0166/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0167/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0168/test1/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0169/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0171/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0172/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0173/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0174/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0175/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0176/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0177/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0178/Test.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0179/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0180/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0181/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0182/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0183/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0184/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0185/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0186/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0187/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0188/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0189/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0190/Test.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0191/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0192/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0193/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0194/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0195/Test.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0196/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0197/Test.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0198/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0199/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0200/Test.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0201/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0202/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0203/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0204/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0205/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0206/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0207/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0208/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0209/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0210/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0211/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0212/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0213/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0214/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0215/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0216/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0217/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0218/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0219/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0220/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0221/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0222/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0223/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0224/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0225/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0226/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0227/Test.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0228/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0229/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0230/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0231/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0232/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0233/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0234/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0235/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0236/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0238/Test.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0239/Test.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0240/Test.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0241/Test.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0242/Test.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0243/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0244/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0245/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0246/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0247/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0248/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0249/Test.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0250/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0251/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0252/Test.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0253/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0254/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0255/Test.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0256/Test.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0257/Test.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0258/Test.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0259/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0260/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0261/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0262/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0263/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0264/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0265/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0266/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0267/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0268/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0269/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0270/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0271/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0272/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0273/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0274/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0275/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0276/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0277/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0278/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0279/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0280/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0281/Test.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0282/Test.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0283/Test.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0284/Test.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0285/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0286/Test.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0287/Test.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0288/Test.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0289/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0290/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0291/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0292/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0293/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0294/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0295/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0296/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0297/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0298/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0299/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0300/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0301/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0302/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0303/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0304/Test.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0307/Test.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0308/Test.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0309/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0310/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0311/Test.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0312/Test.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0313/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0314/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0315/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0317/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0318/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0319/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0320/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0321/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0322/Test.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0323/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0324/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0325/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0326/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0327/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0328/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0329/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0330/Test.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0331/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0332/LocalSelectionTransfer.js88
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0333/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0334/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0335/ExceptionTestCaseTest.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0336/SorterTest.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0337/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0338/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0339/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0341/A.js29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0342/Test.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0343/Test.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0344/Test.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0345/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0346/Test2.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0347/Test2.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0348/Test2.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0349/Test2.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0350/Test2.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0351/Test2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0352/Test2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0353/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0354/Test.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0355/Foo.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0356/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0356/X.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0357/A.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0358/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0359/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0360/X.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0361/X.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0362/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0363/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0364/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0365/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0366/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0367/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0368/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0369/A.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0370/Test.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0371/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0372/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0373/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0374/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0375/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0376/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0377/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0378/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0379/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0380/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0381/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0382/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0383/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0384/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0385/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0386/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0387/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0388/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0389/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0390/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0391/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0392/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0393/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0394/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0395/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0396/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0397/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0398/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0399/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0400/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0401/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0402/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0403/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0404/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0405/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0406/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0406_a/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0407/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0408/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0409/A.js102
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0410/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0411/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0412/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0413/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0414/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0414/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0415/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0416/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0417/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0418/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0419/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0420/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0421/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0422/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0423/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0424/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0425/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0426/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0427/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0428/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0429/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0430/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0431/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0432/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0433/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0434/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0435/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0436/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0437/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0438/D.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0438_a/W.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0439/C.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0439/E.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0440/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0441/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0442/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0443/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0444/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0445/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0446/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0447/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0448/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0449/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0450/A.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0451/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0453/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0454/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0455/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0456/A.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0457/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0458/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0459/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0460/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0461/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0463/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0464/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0465/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0466/Assert.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0467/Assert.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0468/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0470/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0471/A.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0473/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0474/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0475/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0476/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0477/A.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0478/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0479/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0480/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0481/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0482/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0483/A.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0484/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0485/A.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0486/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0487/A.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0488/A.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0489/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0490/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0490/B.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0491/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0492/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0493/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0494/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0495/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0496/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0497/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0498/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0499/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0500/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0501/JavaEditor.js3243
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0502/A.js28
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0503/A.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0504/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0505/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0506/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0507/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0507/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0508/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0509/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0509/B.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0510/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0511/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0512/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0513/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0514/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0515/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0516/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0517/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0518/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0519/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0520/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0521/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0522/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0523/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0524/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0525/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0526/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0527/A.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0528/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0529/A.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0530/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0531/A.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0532/A.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0533/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0534/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0535/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0536/A.js505
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0537/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0537/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0537/C.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0538/A.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0539/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0541/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0541/B.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0542/A.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0543/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0544/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/First.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/Second.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0545/Third.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0546/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0547/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0548/PaletteStackEditPart.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0549/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0550/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0551/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0552/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0553/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0554/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0554/B.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0555/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0555/B.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0556/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0557/A.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0559/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0560/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0561/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0562/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0563/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0564/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0565/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0566/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0567/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0568/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0569/A.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0570/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0573/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0573/Y.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0573/Z.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0574/X.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0575/X.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0578/X.js51
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0579/ParserTask.js91
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0580/DiamondSquareTerrainGenerator.js123
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0582/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0595/X.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0595a/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0597/X.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0599/X.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0600/C.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0600/Try.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0602/X.js2890
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0603/X.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0604/X.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0605/X.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0606/X.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0610/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0610/X.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0619/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0629/X.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0630/X.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0631/X.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0653/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0653/X.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0657/A.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0657/X.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CreateMembers/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CreateMembers/.settings/.jsdtscope6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CreateMembers/src/A.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CreateMembers/src/A2.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CreateMembers/src/Annot.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CreateMembers/src/E.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CreateMembers/src/E2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/CreateMembers/src/E3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Encoding/.classpath8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Encoding/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Encoding/src/testBug110576/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Encoding/src/testBug66898/Test.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Encoding/src/testBug66898b/Test.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Encoding/src/testUTF8/Test.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Encoding/src/testUTF8BOM/Test.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Encoding/testUTF8.jarbin1737 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Encoding/testUTF8.zipbin1038 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/.settings/.jsdtscope6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test001/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test001/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test002/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test002/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test003/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test003/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test004/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test004/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test005/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test005/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test006/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test006/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test007/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test007/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test008/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test008/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test009/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test009/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test010/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test010/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test011/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test011/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test012/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test012/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test013/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test013/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test014/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test014/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test015/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test015/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test016/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test016/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test017/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test017/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test018/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test018/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test019/A_1_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test019/A_1_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test019/A_2_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test019/A_2_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test020/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test020/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test021/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test021/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test022/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test022/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test023/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test023/A_out.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test024/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test024/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test025/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test025/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test026/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test026/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test027/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test027/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test028/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test028/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test029/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test029/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test030/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test030/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test031/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test031/A_out.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test032/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test032/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test033/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test033/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test034/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test034/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test035/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test035/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test036/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test036/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test037/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test037/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test038/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test038/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test039/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test039/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test040/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test040/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test041/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test041/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test042/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test042/A_out.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test043/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test043/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test044/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test044/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test045/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test045/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test046/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test046/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test047/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test047/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test048/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test048/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test049/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test049/A_out.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test050/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test050/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test051/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test051/A_out.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test052/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test052/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test053/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test053/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test054/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test054/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test055/A_in.js31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test055/A_out.js32
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test056/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test056/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test057/A_in.js293
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test057/A_out.js289
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test058/A_in.js135
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test058/A_out.js117
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test059/Parser_in.js293
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test059/Parser_out.js289
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test060/Parser_in.js135
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test060/Parser_out.js117
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test061/Parser_in.js135
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test061/Parser_out.js117
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test062/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test062/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test063/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test063/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test064/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test064/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test065/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test065/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test066/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test066/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test067/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test067/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test068/A_in.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test068/A_out.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test069/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test069/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test070/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test070/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test071/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test071/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test072/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test072/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test073/A_in.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test073/A_out.js31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test074/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test074/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test075/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test075/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test076/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test076/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test077/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test077/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test078/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test078/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test079/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test079/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test080/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test080/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test081/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test081/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test082/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test082/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test083/A_in.js28
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test083/A_out.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test084/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test084/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test085/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test085/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test086/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test086/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test087/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test087/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test088/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test088/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test089/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test089/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test090/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test090/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test091/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test091/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test092/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test092/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test093/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test093/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test094/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test094/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test095/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test095/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test096/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test096/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test097/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test097/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test098/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test098/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test099/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test099/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/B_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/B_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/C_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/C_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/D_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/D_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/E_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/E_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/F_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/F_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/G_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test100/G_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test101/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test101/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test102/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test102/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test103/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test103/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test104/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test104/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test105/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test105/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test106/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test106/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test107/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test107/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test108/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test108/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test109/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test109/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test110/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test110/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test111/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test111/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test112/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test112/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test113/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test113/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test114/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test114/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test115/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test115/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test116/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test116/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test117/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test117/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test118/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test118/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test119/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test119/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test120/A_in.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test120/A_out.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test121/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test121/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test122/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test122/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test123/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test123/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test124/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test124/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test125/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test125/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test126/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test126/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test127/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test127/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test128/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test128/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test129/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test129/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test130/A_in.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test130/A_out.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test131/A_in.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test131/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test132/A_in.js94
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test132/A_out.js94
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test133/A_in.js156
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test133/A_out.js144
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test134/A_in.js142
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test134/A_out.js144
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test135/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test135/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test136/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test136/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test137/A_in.js129
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test137/A_out.js119
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test138/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test138/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test139/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test139/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test140/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test140/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test141/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test141/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test142/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test142/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test143/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test143/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test144/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test144/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test145/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test145/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test146/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test146/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test147/A_in.js40
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test147/A_out.js37
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test148/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test148/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test149/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test149/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test150/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test150/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test151/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test151/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test152/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test152/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test153/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test153/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test154/A_in.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test154/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test155/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test155/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test156/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test156/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test157/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test157/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test158/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test158/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test159/A_in.js44
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test159/A_out.js44
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test160/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test160/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test161/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test161/A_out.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test162/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test162/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test163/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test163/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test164/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test164/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test165/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test165/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test166/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test166/A_out.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test167/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test167/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test168/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test168/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test169/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test169/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test170/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test170/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test171/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test171/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test172/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test172/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test173/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test173/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test174/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test174/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test175/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test175/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test176/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test176/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test177/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test177/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test178/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test178/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test179/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test179/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test180/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test180/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test181/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test181/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test182/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test182/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test183/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test183/A_out.js29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test184/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test184/A_out.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test185/A_in.js31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test185/A_out.js31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test186/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test186/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test187/A_in.js380
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test187/A_out.js308
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test188/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test188/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test189/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test189/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test190/A_in.js50
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test190/A_out.js52
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test191/A_in.js44
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test191/A_out.js43
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test192/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test192/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test193/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test193/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test194/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test194/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test195/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test195/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test196/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test196/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test197/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test197/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test198/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test198/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test199/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test199/A_out.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test200/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test200/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test201/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test201/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test202/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test202/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test203/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test203/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test204/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test204/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test205/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test205/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test206/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test206/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test207/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test207/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test208/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test208/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test209/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test209/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test210/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test210/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test211/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test211/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test212/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test212/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test213/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test213/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test214/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test214/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test215/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test215/A_out.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test216/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test216/A_out.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test217/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test217/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test218/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test218/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test219/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test219/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test220/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test220/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test221/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test221/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test222/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test222/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test223/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test223/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test224/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test224/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test225/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test225/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test226/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test226/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test227/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test227/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test228/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test228/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test229/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test229/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test230/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test230/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test231/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test231/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test232/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test232/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test233/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test233/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test234/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test234/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test235/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test235/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test236/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test236/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test237/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test237/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test238/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test238/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test239/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test239/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test240/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test240/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test241/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test241/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test242/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test242/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test243/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test243/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test244/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test244/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test245/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test245/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test246/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test246/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test247/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test247/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test248/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test248/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test249/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test249/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test250/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test250/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test251/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test251/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test252/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test252/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test253/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test253/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test254/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test254/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test255/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test255/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test256/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test256/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test257/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test257/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test258/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test258/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test259/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test259/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test260/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test260/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test261/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test261/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test262/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test262/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test263/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test263/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test264/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test264/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test265/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test265/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test266/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test266/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test267/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test267/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test268/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test268/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test269/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test269/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test270/A_in.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test270/A_out.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test271/A_in.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test271/A_out.js31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test272/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test272/A_out.js35
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test273/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test273/A_out.js44
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test274/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test274/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test275/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test275/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test276/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test276/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test277/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test277/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test278/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test278/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test279/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test279/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test280/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test280/A_out.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test281/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test281/A_out.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test282/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test282/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test283/A_in.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test283/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test284/A_in.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test284/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test285/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test285/A_out.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test286/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test286/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test287/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test287/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test288/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test288/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test289/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test289/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test290/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test290/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test291/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test291/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test292/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test292/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test293/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test293/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test294/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test294/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test295/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test295/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test296/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test296/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test297/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test297/A_out.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test298/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test298/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test299/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test299/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test300/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test300/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test301/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test301/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test302/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test302/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test303/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test303/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test304/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test304/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test305/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test305/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test306/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test306/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test307/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test307/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test308/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test308/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test309/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test309/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test310/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test310/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test311/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test311/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test312/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test312/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test313/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test313/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test314/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test314/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test319/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test319/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test320/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test320/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test321/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test321/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test322/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test322/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test323/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test323/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test324/A_in.js25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test324/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test325/A_in.js25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test325/A_out.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test326/A_in.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test326/A_out.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test327/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test327/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test328/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test328/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test329/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test329/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test330/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test330/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test331/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test331/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test332/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test332/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test333/A_in.js53
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test333/A_out.js55
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test334/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test334/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test335/A_in.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test335/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test336/A_in.js31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test336/A_out.js30
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test337/A_in.js339
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test337/A_out.js346
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test338/A_in.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test338/A_out.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test339/A_in.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test339/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test340/A_in.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test340/A_out.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test341/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test341/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test342/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test342/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test343/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test343/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test344/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test344/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test345/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test345/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test346/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test346/A_out.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test347/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test347/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test348/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test348/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test349/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test349/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test350/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test350/A_out.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test351/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test351/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test352/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test352/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test353/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test353/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test354/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test354/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test355/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test355/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test356/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test356/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test357/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test357/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test358/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test358/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test359/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test359/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test360/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test360/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test361/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test361/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test362/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test362/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test363/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test363/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test364/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test364/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test365/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test365/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test366/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test366/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test367/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test367/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test368/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test368/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test369/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test369/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test370/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test370/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test371/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test371/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test372/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test372/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test373/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test373/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test374/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test374/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test375/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test375/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test376/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test376/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test377/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test377/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test378/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test378/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test379/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test379/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test380/A_in.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test380/A_out.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test381/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test381/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test382/A_in.js80
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test382/A_out.js82
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test383/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test383/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test384/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test384/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test385/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test385/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test386/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test386/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test387/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test387/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test388/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test388/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test389/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test389/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test390/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test390/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test391/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test391/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test392/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test392/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test393/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test393/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test394/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test394/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test395/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test395/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test396/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test396/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test397/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test397/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test398/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test398/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test399/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test399/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test400/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test400/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test401/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test401/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test402/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test402/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test403/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test403/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test404/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test404/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test405/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test405/A_out.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test406/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test406/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test407/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test407/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test408/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test408/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test409/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test409/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test410/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test410/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test411/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test411/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test412/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test412/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test413/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test413/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test414/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test414/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test415/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test415/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test416/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test416/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test417/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test417/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test418/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test418/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test419/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test419/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test420/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test420/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test421/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test421/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test422/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test422/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test423/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test423/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test424/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test424/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test425/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test425/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test426/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test426/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test427/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test427/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test428/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test428/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test429/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test429/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test430/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test430/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test431/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test431/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test432/A_in.js838
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test432/A_out.js839
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test432/formatter.xml159
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test433/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test433/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test434/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test434/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test435/A_in.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test435/A_out.js23
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test436/A_in.js33
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test436/A_out.js34
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test437/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test437/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test437/formatter.xml163
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test438/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test438/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test438/formatter.xml163
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test439/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test439/A_out.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test439/formatter.xml162
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test440/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test440/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test441/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test441/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test442/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test442/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test443/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test443/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test444/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test444/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test445/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test445/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test446/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test446/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test447/test447.zipbin1852 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test448/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test448/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test449/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test449/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test450/A_in.js0
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test450/A_out.js0
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test451/test451.zipbin2024 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test452/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test452/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test453/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test453/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test454/test454.zipbin1774 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test455/A_in.js49
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test455/A_out.js51
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test456/test456.zipbin1760 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test457/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test457/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test458/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test458/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test459/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test459/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test460/A_in.js31
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test460/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test461/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test461/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test462/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test462/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test462/formatter.xml182
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test463/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test463/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test464/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test464/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test465/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test465/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test466/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test466/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test467/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test467/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test468/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test468/A_out.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test469/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test469/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test470/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test470/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test471/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test471/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test472/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test472/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test473/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test473/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test474/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test474/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test475/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test475/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test476/A_in.js30
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test476/A_out.js30
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test478/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test478/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test479/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test479/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test480/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test480/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test481/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test481/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test482/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test482/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test483/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test483/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test484/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test484/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test485/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test485/A_out.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test486/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test486/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test487/A_in.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test487/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test488/A_in.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test488/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test489/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test489/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test490/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test490/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test491/BundleChain_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test491/BundleChain_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test491/formatter.xml181
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test492/Main_in.js1574
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test492/Main_out.js1574
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test492/core_formatting.xml181
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test493/MyClass_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test493/MyClass_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test494/A_in.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test494/A_out.js25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test494/format.xml180
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test495/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test495/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test496/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test496/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test497/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test497/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test498/A_in.js207
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test498/A_out.js205
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test499/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test499/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test500/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test500/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test501/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test501/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test501/formatter.xml183
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test502/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test502/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test503/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test503/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test504/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test504/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test505/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test505/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test506/A_in.js77
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test506/A_out.js87
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test507/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test507/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test508/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test508/A_out.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test509/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test509/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test510/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test510/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test511/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test511/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test512/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test512/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test513/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test513/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test514/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test514/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test514/formatter.xml186
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test515/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test515/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test516/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test516/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test517/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test517/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test518/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test518/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test519/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test519/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test520/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test520/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test521/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test521/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test522/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test522/A_out.js33
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test523/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test523/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test524/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test524/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test525/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test525/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test526/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test526/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test527/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test527/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test528/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test528/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test529/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test529/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test530/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test530/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test531/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test531/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test532/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test532/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test533/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test533/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test534/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test534/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test535/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test535/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test536/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test536/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test537/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test537/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test538/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test538/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test539/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test539/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test540/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test540/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test541/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test541/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test542/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test542/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test543/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test543/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test544/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test544/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test545/A_in.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test545/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test546/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test546/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test547/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test547/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test548/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test548/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test549/A_in.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test549/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test550/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test550/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test551/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test551/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test552/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test552/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test553/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test553/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test554/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test554/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test555/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test555/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test556/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test556/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test557/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test557/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test558/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test558/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test559/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test559/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test560/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test560/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test561/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test561/A_out.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test562/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test562/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test563/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test563/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test564/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test564/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test565/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test565/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test566/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test566/A_out.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test567/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test567/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test568/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test568/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test569/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test569/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test570/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test570/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test571/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test571/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test572/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test572/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test573/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test573/A_out.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test574/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test574/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test575/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test575/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test576/A_in.js41
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test576/A_out.js40
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test577/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test577/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test578/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test578/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test579/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test579/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test580/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test580/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test581/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test581/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test582/A_in.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test582/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test583/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test583/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test584/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test584/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test585/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test585/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test586/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test586/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test587/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test587/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test588/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test588/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test589/A_in.js35
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test589/A_out.js34
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test590/A_in.js33
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test590/A_out.js33
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test591/A_in.js33
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test591/A_out.js33
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test592/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test592/A_out.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test593/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test593/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test594/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test594/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test595/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test595/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test596/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test596/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test597/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test597/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test598/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test598/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test599/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test599/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test600/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test600/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test601/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test601/A_out.js36
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test605/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test605/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test606/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test606/A_out.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test607/A_in.js70
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test607/A_out.js69
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test608/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test608/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test609/A_in.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test609/A_out.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test610/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test610/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test610/formatter.xml246
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test612/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test612/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test613/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test613/A_out.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test614/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test614/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test615/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test615/A_out.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test616/A_in.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test616/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test617/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test617/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test617/formatter.xml246
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test618/A_in.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test618/A_out.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test619/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test619/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test620/A_in.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test620/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test621/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test621/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test622/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test622/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test623/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test623/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test624/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test624/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test625/A_in.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test625/A_out.js13298
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test626/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test626/A_out.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test627/A_in.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test627/A_out.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test628/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test628/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test629/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test629/A_out.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test630/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test630/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test631/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test631/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test632/A_in.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test632/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test633/A_in.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test633/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test634/A_in.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test634/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test635/A_in.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test635/A_out.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test636/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test636/A_out.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test637/A_in.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test637/A_out.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test638/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test638/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test639/A_in.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test639/A_out.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test640/A_in.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test640/A_out.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test641/A_in.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test641/A_out.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test642/A_in.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test642/A_out.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test642/formatter.prefs248
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test642/formatter.xml251
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test643/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test643/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test644/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test644/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test645/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test645/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test646/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test646/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test647/A_in.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test647/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test648/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test648/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test649/A_in.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test649/A_out.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test650/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test650/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test651/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test651/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test652/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test652/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test653/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test653/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test654/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test654/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test655/A_in.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test655/A_out.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test656/A_in.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test656/A_out.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/.settings/.jsdtscope7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/NotInClasspath/p/Y.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/otherSrc()/X31997.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/otherSrc()/X92210.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/otherSrc()/Y31997.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/CA.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/D.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/E.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/O.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/Test.js29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/TypeReferenceAsSingleNameReference.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/W.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/X.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a2/X.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a3/References.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a3/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a3/Y.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a3/Z.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a3/b/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a3/b/B.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a4/X.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a5/B.js25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a6/A.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a7/X.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a8/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/a9/A.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/b1/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/b1/B.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/p/A.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/p/X.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/p/Y.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/p/Z.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/p/cls1.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/p/usecls1.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/wc1/X.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/wc2/Y.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JSSearch/src/wc3/X44884.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectSrcTests/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectSrcTests/.settings/.jsdtscope6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectSrcTests/src/A.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/.settings/.jsdtscope7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/B.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/lib.jarbin783 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/lib142530.jarbin316 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/lib148949.jarbin308 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/q/A.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/q/readme.txt0
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/x/readme.txt0
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/x/readme2.txt0
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaProjectTests/x/y/Main.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/.settings/.jsdtscope15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/AbortCompilation.jarbin1711 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/AbortCompilation.zipbin2522 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/MyJar.jarbin2040 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/MyJar.zipbin533 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/NotInClasspath/p/Y.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/b111416.jarbin846 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/corrupt.jar0
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/otherSrc()/X31997.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/otherSrc()/X92210.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/otherSrc()/Y31997.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/CA.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/D.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/E.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/InterfaceImplementors.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/MemberTypeReference/Azz.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/MemberTypeReference/B.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/NoReference/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/O.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/ObjectMemberTypeReference/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PR_1GGNOTF.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/C.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/D.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/E.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/F.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/G.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/H.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/I.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/J.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/K.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceA.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceB.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceC.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceD.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceE.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceF.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceG.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceH.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceI.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/PackageReference/NoReferenceJ.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/Test.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/TypeReferenceAsSingleNameReference.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/TypeReferenceInArray/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/TypeReferenceInImport/X.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/VariousTypeReferences/A.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/VariousTypeReferences/B.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/VariousTypeReferences/C.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/VariousTypeReferences/D.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/W.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/X.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a2/X.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a3/References.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a3/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a3/Y.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a3/Z.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a3/b/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a3/b/B.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a4/X.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a5/B.js25
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a6/A.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a7/X.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a8/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/a9/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b1/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b1/B.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b111416/X.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b2/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b2/Y.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b2/Z.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b3/X.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b4/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b5/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b6/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b7/X.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b8/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/b9/Foo.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c1/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c1/B.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c1/I.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c10/X.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c11/A.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c2/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c2/B.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c3/C.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c4/X.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c5/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c6/X.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c7/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c7/Y.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c8/X.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c8/Y.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/c9/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d1/X.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d2/Y.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d2/Z.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d3/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d4/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d4/Y.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d5/X.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d5/Y.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d6/X.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d6/Y.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d7/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d8/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d8/AA.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d9/p1/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/d9/p2/B.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e1/A29366.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e2/X.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e3/X31985.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e3/Y31985.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e4/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e5/A1.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e6/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e7/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e8/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/e9/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/f1/X.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/f2/X.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/f3/X.js24
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j1/JavadocHiddenRef.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j1/JavadocInvalidRef.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j1/JavadocSearched.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j1/JavadocValidRef.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j2/Bug47968.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j2/Bug47968s.js30
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j3/Y.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/CC47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/CF47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/CM47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/CT47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/FC47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/FF47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/FM47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/FT47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/MC47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/MF47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/MM47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/MT47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/TC47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/TF47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/TM47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j4/TT47209.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j5/Bug49994.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j6/Bug54962.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/j7/qua/li/fied/Bug54962a.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/net/sf/saxon/om/Navigator.js637
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p/A.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p/I.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p/X.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p/Y.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p/Z.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p10/a/b/dom/Y.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p10/a/b/om/X.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p2/Z.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p3/X.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p3/p2/p/X.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p4/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p5/A.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p6/A.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p7/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p71267/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p71267/q71267/Test.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p8/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/p9/X.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/q1/B.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/q2/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/q3/A$B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/q4/C.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/q5/AQ.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/q6/CD.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/q7/AQ.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/q8/EclipseTest.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/q9/I.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r/A.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r2/I.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r2/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r3/A21485.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r4/B21485.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r5/XYZ.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r6/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r6/B.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r7/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r7/B.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r8/A.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/r9/A.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/s1/X.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/s1/Y.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/s2/X.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/s2/Z.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/s3/A.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/s4/X.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/s5/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/sd/AQ.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/wc/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/wc1/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/wc2/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/src/wc3/X44884.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/test20631.jarbin978 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/test20631.zipbin208 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/test24741.jarbin1145 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/test47909.jarbin1093 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/test47989.jarbin1168 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/test48261.jarbin1207 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch/test48725.jarbin1240 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/.classpath6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/a1/Author.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/a1/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/e1/Team.js29
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/e1/Test.js28
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/m/def/Generic.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/m/def/NonGeneric.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/m/ref/R1.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/m/ref/R2.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/m/ref/R3.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/m/ref/R4.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/s/def/Generic.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/s/def/NonGeneric.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/s/ref/R1.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/s/ref/R2.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/s/ref/R3.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g1/t/s/ref/R4.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/m/def/R1.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/m/def/R2.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/m/def/R3.js54
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/m/def/R4.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/m/ref/RR1.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/m/ref/RR2.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/m/ref/RR3.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/m/ref/RR4.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/s/def/R1.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/s/def/R2.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/s/def/R3.js54
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/s/def/R4.js38
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/s/ref/RR1.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/s/ref/RR2.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/s/ref/RR3.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g2/f/s/ref/RR4.js21
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g3/t/def/GM.js20
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g3/t/def/GS.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g3/t/def/NGM.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g3/t/def/NGS.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g3/t/ref/R1.js43
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g3/t/ref/R2.js43
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g3/t/ref/R3.js43
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g3/t/ref/R4.js43
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g4/v/ref/R1.js35
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g4/v/ref/R2.js36
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g4/v/ref/R3.js35
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g4/v/ref/R4.js35
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g4/v/ref/R5.js48
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/c/def/Multiple.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/c/def/Single.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/c/ref/RefMultiple.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/c/ref/RefRaw.js22
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/c/ref/RefSingle.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/m/def/Multiple.js32
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/m/def/Single.js32
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/m/ref/RefMultiple.js42
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/m/ref/RefRaw.js26
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g5/m/ref/RefSingle.js59
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g6/t/def/List.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g6/t/def/Table.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g6/t/ref/Multiple.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g6/t/ref/QualifMultiple.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g6/t/ref/QualifSingle.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/g6/t/ref/Single.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/p1/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/p1/Y.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/p2/X.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/p2/Y.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/p3/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s1/A.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s1/B.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s1/C.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s1/D.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s1/pack/age/S.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s2/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s2/B.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s2/C.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s2/D.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/s2/pack/age/S.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearch15/src/v1/X.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/.classpath19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/JavaSearch15.jarbin8077 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b110422.jarbin724 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b123679.jarbin2782 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b124469.jarbin6234 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b124645.jarbin6715 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b125178.jarbin2098 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b126330.jarbin1135 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b128877.jarbin1851 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b137984.jarbin1688 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b140156.jarbin928 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b148215.jarbin1675 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b164791.jarbin3587 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b166348.jarbin955 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b86293.jarbin1568 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b87627.jarbin1169 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b89848/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b89848/X.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/b95152.jarbin6646 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/test75816.jarbin1169 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/lib/test81556.jarbin717 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b108088/B108088.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b108088/Test108088.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b123679/pack/I123679.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b123679/test/Test.js19
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b124645/T_124645.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b124645/test/A_124645.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b124645/test/X_124645.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b124645/xy/X_124645.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b124645/xy/Y_124645.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b127628/Test127628.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b137984/C.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b163984/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b163984/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b163984/C.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b81556/a/A81556.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b81556/a/B81556.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b81556/a/X81556.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b81556/b/XX81556.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b86380/Annot.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b95794/Test.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchMultipleProjects1/.classpath6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchMultipleProjects1/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchMultipleProjects1/lib/p/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchMultipleProjects2/.classpath8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchMultipleProjects2/.project18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchMultipleProjects2/lib/p/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchMultipleProjects2/src/q/Z.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/.settings/.jsdtscope16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/class-folder/ResolveConstructorCall.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/class-folder/ResolveConstructorCallOfMemberType.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/class-folder/ResolveConstructorCallOfMemberType2.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/class-folder/test0101/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/jj.jarbin997 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/jjsrc.zipbin428 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/p3.jarbin483 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/p3src.zipbin328 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/p4.jarbin483 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/p4src.zipbin328 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveAbstractMethod.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveArgumentName.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveArrayLength.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveArrayParameterInsideParent1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveCatchArgumentName.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveCatchArgumentType1.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveCatchArgumentType2.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveClass1.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveClass2.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveClass3.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveClass4.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveClass5.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveClass6.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveConstructor.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveConstructorDeclaration.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDeepLocalVariable.js24
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateFieldDeclaration.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateFieldDeclaration3.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateMethodDeclaration.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateMethodDeclaration11.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateMethodDeclaration3.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateMethodDeclaration5.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateMethodDeclaration7.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateMethodDeclaration9.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateTypeDeclaration.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateTypeDeclaration3.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveDuplicateTypeDeclaration5.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveEmptySelectionOnMethod.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveEndOfFile.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveExplicitSuperConstructorCall.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveExplicitThisConstructorCall.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveField.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveField0.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveFieldDeclaration.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveImport.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveInnerClassAsParamater.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveInterface.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalClass1.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalClass2.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalClass3.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalClass4.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalClass5.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalClass6.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalClass7.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalConstructor.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalConstructorDeclaration.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalField.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalField2.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalFieldDeclaration.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalMemberTypeDeclaration1.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalMemberTypeDeclaration2.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalMethod.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalMethod2.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalMethodDeclaration.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalName.js15
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveLocalVariable.js18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMemberTypeDeclaration1.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMemberTypeDeclaration2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMessageSendOnBaseType.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMethod.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMethodDeclaration.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMethodDeclarationInAnonymous.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMethodDeclarationInAnonymous2.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMethodDeclarationInAnonymous3.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMethodDeclarationInInterface.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveMethodWithIncorrectParameter.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolvePackage.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolvePartiallyQualifiedType.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveQualifiedName1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveQualifiedName2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveQualifiedName3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveQualifiedName4.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveQualifiedName5.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveQualifiedType.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveTypeDeclaration.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveTypeEmptySelection.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveTypeEmptySelection2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveTypeInComment.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/ResolveUnicode.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/SuperClass.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/SuperInterface.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/X1.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/a/b/ImportedClass.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/b120350/Test.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/b120350/X.js1
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/p1/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/p1/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/p2/X.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src/pp/qq/XX.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0001/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0002/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0003/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0005/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0006/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0007/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0008/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0009/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0010/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0011/Test.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0012/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0013/Test.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0014/Test.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0015/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0016/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0017/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0018/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0019/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0020/Test.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0021/Test.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0022/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0022/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0022/X.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0022/Y.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0023/Test.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0024/Test.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/src2/test0025/Test.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/test0023.jarbin4537 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/test0023src.zipbin923 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/test25888.jarbin1083 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/test25888src.zipbin286 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/test47177.jarbin1236 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/test47177src.zipbin608 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/test47214.jarbin1126 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/zzz.jarbin1621 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Resolve/zzzsrc.zipbin400 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/SnippetCompletion/.classpath16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/SnippetCompletion/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/SnippetCompletion/class-folder/aa/bb/cc/CClass.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/SnippetCompletion/class-folder/bug132665/Bug132665.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/SnippetCompletion/src/aa/bb/cc/BClass.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/.settings/.jsdtscope16
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/NotInClasspath/e/E.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/lib.jarbin6026 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/lib48459/p48459/p2/Y48459.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/lib53095/p53095/X53095.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/cycle/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/cycle/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p1/A.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p1/Deep.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p1/I1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p1/I2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p1/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p1/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p1/Z.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p2/I.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p2/I1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p2/I2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p2/I3.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p2/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p2/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p3/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p3/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p3/I.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p3/I1.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p4/X.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p48459/p1/X48459.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p48459/p1/Z48459.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p5/X.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p6/A.js12
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p7/A.js37
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p7/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p8/X.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/p9/X.js9
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q1/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q1/Z.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q2/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q3/Z.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q4/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q4/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q5/X.js7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q6/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q6/Z.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/q7/X.js11
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/src/wc/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/test144976.jarbin1235 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/test49809.jarbin682 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/test54043.jarbin2263 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/test58440.jarbin1620 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchy/test60365.jarbin902 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyDependent/.project18
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyDependent/.settings/.jsdtscope7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyDependent/Dependent.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/.settings/.jsdtscope7
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/a/A.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/b/B.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/c/C.js5
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/d/D.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/e/E.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/i/I1.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/i/I2.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/p/External.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/p/MyError.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/p/X.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/p/other/External.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/p2/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/p2/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/p3/A.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchyNotification/src/p3/B.js4
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchySerialization/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchySerialization/.settings/.jsdtscope6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchySerialization/src/p1/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchySerialization/src/p1/Y.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeHierarchySerialization/src/p1/Z.js2
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeResolve/.project17
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeResolve/.settings/.jsdtscope6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeResolve/src/p/TypeResolve.js13
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeResolve/src/p1/X.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeResolve/src/p2/Y.js3
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeResolve/src/p3/B.js14
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeResolve/src/p4/A.js8
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeResolve/src/p4/B.js6
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/TypeResolve/src/p5/A.js10
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/.classpath7
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/.project28
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/.settings/org.eclipse.jdt.core.prefs90
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/META-INF/MANIFEST.MF17
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/OSGI-INF/l10n/bundle.properties12
-rwxr-xr-xtests/org.eclipse.wst.jsdt.debug.core.tests/about.html28
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/build.properties20
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/src/org/eclipse/wst/debug/core/tests/AbstractBreakpointTest.java253
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/src/org/eclipse/wst/debug/core/tests/AbstractDebugTest.java222
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/src/org/eclipse/wst/debug/core/tests/DebugEventWaiter.java176
-rwxr-xr-xtests/org.eclipse.wst.jsdt.debug.core.tests/src/org/eclipse/wst/debug/core/tests/DebugSuite.java77
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/src/org/eclipse/wst/debug/core/tests/JSDTDebugTestPlugin.java60
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/src/org/eclipse/wst/debug/core/tests/JavaScriptDebugTestSuite.java43
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/src/org/eclipse/wst/debug/core/tests/Util.java227
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/src/org/eclipse/wst/debug/core/tests/VerticalRulerInfoStub.java55
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/src/org/eclipse/wst/debug/core/tests/breakpoints/LineBreakpointTests.java229
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/test.xml117
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/testsource/test1.js17
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/testsource/test2.js34
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/testsource/test3.js49
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.core.tests/testsource/test4.js16
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/.classpath7
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/.project28
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/.settings/org.eclipse.jdt.core.prefs90
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/META-INF/MANIFEST.MF14
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/OSGI-INF/l10n/bundle.properties12
-rwxr-xr-xtests/org.eclipse.wst.jsdt.debug.rhino.tests/about.html28
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/build.properties20
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/scripts/script1.js27
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/BreakpointRequestTests.java176
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/ConnectionHelper.java58
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/DebugSessionTest.java248
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/FrameRequestTests.java103
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/RequestBadCommandTest.java26
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/RequestContinueTest.java26
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/RequestDisposeTest.java26
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/RequestLookupTest.java90
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/RequestSuspendTest.java26
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/RequestTest.java449
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/RequestVersionTest.java30
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/RhinoDebugTestSuite.java45
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/RhinoDebuggerTest.java65
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/ScriptRequestTests.java95
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/TestEventHandler.java280
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/ThreadRequestTests.java66
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/TransportTest.java114
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/src/org/eclipse/wst/jsdt/debug/rhino/tests/Util.java216
-rw-r--r--tests/org.eclipse.wst.jsdt.debug.rhino.tests/test.xml119
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/.classpath7
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/.cvsignore2
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/.project28
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/META-INF/MANIFEST.MF22
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/about.html28
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/build.properties21
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/icons/full/eview16/package.gifbin145 -> 0 bytes-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/plugin.properties17
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/plugin.xml14
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/EditorTests.java80
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/JSDTUITests.java67
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/contentassist/ContentAssistTests.java496
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/format/FormattingTests.java192
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/internal/Activator.java40
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/internal/JsStorageEditorInput.java164
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/utils/FileUtil.java136
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/utils/ProjectUnzipUtility.java365
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/src/org/eclipse/wst/jsdt/ui/tests/utils/StringUtils.java102
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/test.xml117
-rw-r--r--tests/org.eclipse.wst.jsdt.ui.tests/testresources/ContentAssist.zipbin3814 -> 0 bytes
4171 files changed, 0 insertions, 551055 deletions
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.classpath b/tests/org.eclipse.wst.jsdt.core.tests.compiler/.classpath
deleted file mode 100644
index ce73933..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.cvsignore b/tests/org.eclipse.wst.jsdt.core.tests.compiler/.cvsignore
deleted file mode 100644
index 7722bc8..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-build.xml
-javaCompiler...args
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.project b/tests/org.eclipse.wst.jsdt.core.tests.compiler/.project
deleted file mode 100644
index ba31f32..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.jsdt.core.tests.compiler</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.wst.jsdt.core.tests.compiler/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 5fc8110..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Wed Dec 12 03:20:36 EST 2007
-eclipse.preferences.version=1
-encoding/<project>=ISO-8859-1
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.wst.jsdt.core.tests.compiler/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 839a233..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Dec 07 03:40:31 EST 2009
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.jsdt.core.tests.compiler/META-INF/MANIFEST.MF
deleted file mode 100644
index 8b285e1..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,22 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.wst.jsdt.core.tests.compiler; singleton:=true
-Bundle-Version: 1.0.501.qualifier
-Bundle-Vendor: %providerName
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.core.resources;bundle-version="[3.4.0,4.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
- org.eclipse.wst.jsdt.core;bundle-version="[1.1.0,2.0.0)",
- org.junit;bundle-version=3.8.2
-Export-Package: org.eclipse.wst.jsdt.core.tests.compiler,
- org.eclipse.wst.jsdt.core.tests.compiler.parser,
- org.eclipse.wst.jsdt.core.tests.compiler.regression,
- org.eclipse.wst.jsdt.core.tests.eval.target,
- org.eclipse.wst.jsdt.core.tests.future.compiler.regression,
- org.eclipse.wst.jsdt.core.tests.interpret,
- org.eclipse.wst.jsdt.core.tests.junit.extension,
- org.eclipse.wst.jsdt.core.tests.runtime,
- org.eclipse.wst.jsdt.core.tests.util
-Bundle-RequiredExecutionEnvironment: J2SE-1.4
-Bundle-ActivationPolicy: lazy
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/about.html b/tests/org.eclipse.wst.jsdt.core.tests.compiler/about.html
deleted file mode 100644
index 4602330..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 2, 2006</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/build.properties b/tests/org.eclipse.wst.jsdt.core.tests.compiler/build.properties
deleted file mode 100644
index 5717ad8..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/build.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# Copyright (c) 2005, 2007 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = test.xml,\
- .,\
- plugin.properties,\
- META-INF/,\
- about.html
-src.includes = test.xml
-source.. = src/
-jars.compile.order = .
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/plugin.properties b/tests/org.eclipse.wst.jsdt.core.tests.compiler/plugin.properties
deleted file mode 100644
index 540ee82..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/plugin.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-###############################################################################
-# Copyright (c) 2007, 2010 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-
-#
-# Messages in plugin.xml.
-#
-pluginName=JSDT Core Compiler Tests
-providerName=Eclipse Web Tools Platform
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/JSDTCompilerTests.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/JSDTCompilerTests.java
deleted file mode 100644
index 7793053..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/JSDTCompilerTests.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core.tests.compiler;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.wst.jsdt.core.JavaScriptCore;
-import org.eclipse.wst.jsdt.core.tests.compiler.parser.SyntaxErrorTest;
-import org.eclipse.wst.jsdt.core.tests.compiler.regression.BasicAnalyseTests;
-import org.eclipse.wst.jsdt.core.tests.compiler.regression.BasicParserTests;
-import org.eclipse.wst.jsdt.core.tests.compiler.regression.BasicResolveTests;
-import org.eclipse.wst.jsdt.core.tests.compiler.regression.CharOperationTest;
-import org.eclipse.wst.jsdt.core.tests.compiler.regression.InferTypesTests;
-import org.eclipse.wst.jsdt.core.tests.compiler.regression.UtilTest;
-import org.eclipse.wst.jsdt.core.tests.compiler.util.ExclusionTests;
-import org.eclipse.wst.jsdt.core.tests.interpret.BasicInterpretTest;
-
-/**
- * Run all compiler regression tests
- */
-public class JSDTCompilerTests extends TestSuite {
-
-static {
- JavaScriptCore.getPlugin().getPluginPreferences().setValue("semanticValidation", true);
-}
-
-public JSDTCompilerTests() {
- this("JavaScript Model Tests");
-}
-
-public JSDTCompilerTests(String testName) {
- super(testName);
-}
-public static Test suite() {
-
- ArrayList standardTests = new ArrayList();
-
- // regression tests
- standardTests.add(BasicParserTests.class);
- standardTests.add(InferTypesTests.class);
- standardTests.add(BasicResolveTests.class);
- standardTests.add(BasicAnalyseTests.class);
- standardTests.add(CharOperationTest.class);
- standardTests.add(UtilTest.class);
-
- // parser tests
- standardTests.add(SyntaxErrorTest.class);
-
- // interpret tests
- standardTests.add(BasicInterpretTest.class);
-
-
-
-
-// standardTests.addAll(JavadocTest.allTestClasses);
-
-// standardTests.add(BasicErrorTests.class);
-
- // // add all javadoc tests
-// for (int i=0, l=JavadocTest.ALL_CLASSES.size(); i<l; i++) {
-// standardTests.add(JavadocTest.ALL_CLASSES.get(i));
-// }
-//
- TestSuite all = new TestSuite("JSDT 'Compiler' Tests");
- all.addTest(ExclusionTests.suite());
-
-
-// int possibleComplianceLevels = AbstractCompilerTest.getPossibleComplianceLevels();
-// if ((possibleComplianceLevels & AbstractCompilerTest.F_1_3) != 0) {
-// ArrayList tests_1_3 = (ArrayList)standardTests.clone();
-// tests_1_3.add(Compliance_1_3.class);
-// tests_1_3.add(JavadocTest_1_3.class);
-// // Reset forgotten subsets tests
-// TestCase.TESTS_PREFIX = null;
-// TestCase.TESTS_NAMES = null;
-// TestCase.TESTS_NUMBERS= null;
-// TestCase.TESTS_RANGE = null;
-// TestCase.RUN_ONLY_ID = null;
-// all.addTest(AbstractCompilerTest.buildComplianceTestSuite(AbstractCompilerTest.COMPLIANCE_1_3, tests_1_3));
-// }
-// if ((possibleComplianceLevels & AbstractCompilerTest.F_1_4) != 0) {
-// ArrayList tests_1_4 = (ArrayList)standardTests.clone();
-// tests_1_4.add(AssertionTest.class);
-// tests_1_4.add(Compliance_1_4.class);
-// tests_1_4.add(ClassFileReaderTest_1_4.class);
-// tests_1_4.add(JavadocTest_1_4.class);
-// // Reset forgotten subsets tests
-// TestCase.TESTS_PREFIX = null;
-// TestCase.TESTS_NAMES = null;
-// TestCase.TESTS_NUMBERS= null;
-// TestCase.TESTS_RANGE = null;
-// TestCase.RUN_ONLY_ID = null;
-// all.addTest(AbstractCompilerTest.buildComplianceTestSuite(AbstractCompilerTest.COMPLIANCE_1_4, tests_1_4));
-// }
-// if ((possibleComplianceLevels & AbstractCompilerTest.F_1_5) != 0) {
-// ArrayList tests_1_5 = (ArrayList)standardTests.clone();
-// tests_1_5.addAll(RunComparableTests.ALL_CLASSES);
-// tests_1_5.add(AssertionTest.class);
-// tests_1_5.add(ClassFileReaderTest_1_5.class);
-// tests_1_5.add(GenericTypeSignatureTest.class);
-// tests_1_5.add(InternalHexFloatTest.class);
-// tests_1_5.add(JavadocTest_1_5.class);
-// tests_1_5.add(BatchCompilerTest.class);
-// tests_1_5.add(ExternalizeStringLiterals15Test.class);
-// // Reset forgotten subsets tests
-// TestCase.TESTS_PREFIX = null;
-// TestCase.TESTS_NAMES = null;
-// TestCase.TESTS_NUMBERS= null;
-// TestCase.TESTS_RANGE = null;
-// TestCase.RUN_ONLY_ID = null;
-// all.addTest(AbstractCompilerTest.buildComplianceTestSuite(AbstractCompilerTest.COMPLIANCE_1_5, tests_1_5));
-// }
-// if ((possibleComplianceLevels & AbstractCompilerTest.F_1_6) != 0) {
-// ArrayList tests_1_6 = (ArrayList)standardTests.clone();
-// tests_1_6.addAll(RunComparableTests.ALL_CLASSES);
-// tests_1_6.add(AssertionTest.class);
-// tests_1_6.add(ClassFileReaderTest_1_5.class);
-// tests_1_6.add(GenericTypeSignatureTest.class);
-// tests_1_6.add(InternalHexFloatTest.class);
-// tests_1_6.add(JavadocTest_1_5.class);
-// tests_1_6.add(BatchCompilerTest.class);
-// tests_1_6.add(ExternalizeStringLiterals15Test.class);
-// tests_1_6.add(StackMapAttributeTest.class);
-// // Reset forgotten subsets tests
-// TestCase.TESTS_PREFIX = null;
-// TestCase.TESTS_NAMES = null;
-// TestCase.TESTS_NUMBERS= null;
-// TestCase.TESTS_RANGE = null;
-// TestCase.RUN_ONLY_ID = null;
-// all.addTest(AbstractCompilerTest.buildComplianceTestSuite(AbstractCompilerTest.COMPLIANCE_1_6, tests_1_6));
-// }
- for (Iterator iter = standardTests.iterator(); iter.hasNext();) {
- Class test = (Class) iter.next();
- all.addTestSuite(test);
- }
- return all;
-}
-}
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/AbstractCompletionTest.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/AbstractCompletionTest.java
deleted file mode 100644
index 3ec8ee5..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/AbstractCompletionTest.java
+++ /dev/null
@@ -1,481 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core.tests.compiler.parser;
-
-import java.util.Locale;
-
-import org.eclipse.wst.jsdt.internal.codeassist.complete.CompletionParser;
-import org.eclipse.wst.jsdt.internal.codeassist.complete.CompletionScanner;
-import org.eclipse.wst.jsdt.internal.compiler.CompilationResult;
-import org.eclipse.wst.jsdt.internal.compiler.DefaultErrorHandlingPolicies;
-import org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration;
-import org.eclipse.wst.jsdt.internal.compiler.ast.ASTNode;
-import org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration;
-import org.eclipse.wst.jsdt.internal.compiler.ast.FieldDeclaration;
-import org.eclipse.wst.jsdt.internal.compiler.ast.Initializer;
-import org.eclipse.wst.jsdt.internal.compiler.ast.TypeDeclaration;
-import org.eclipse.wst.jsdt.internal.compiler.batch.CompilationUnit;
-import org.eclipse.wst.jsdt.internal.compiler.env.ICompilationUnit;
-import org.eclipse.wst.jsdt.internal.compiler.impl.CompilerOptions;
-import org.eclipse.wst.jsdt.internal.compiler.parser.Parser;
-import org.eclipse.wst.jsdt.internal.compiler.problem.DefaultProblemFactory;
-import org.eclipse.wst.jsdt.internal.compiler.problem.ProblemReporter;
-import org.eclipse.wst.jsdt.core.compiler.CharOperation;
-import org.eclipse.wst.jsdt.core.tests.util.AbstractCompilerTest;
-import org.eclipse.wst.jsdt.core.tests.util.Util;
-
-public abstract class AbstractCompletionTest extends AbstractCompilerTest {
-
- public final static String NONE = "<NONE>";
-public AbstractCompletionTest(String testName){
- super(testName);
-}
-/*
- * DietParse with completionNode check
- */
-public void checkDietParse(
- char[] source,
- int cursorLocation,
- String expectedCompletion,
- String expectedUnitToString,
- String expectedCompletionIdentifier,
- String expectedReplacedSource,
- String testName) {
- this.checkDietParse(
- source,
- cursorLocation,
- expectedCompletion,
- null,
- expectedUnitToString,
- expectedCompletionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/*
- * DietParse with completionNode check
- */
-public void checkDietParse(
- char[] source,
- int cursorLocation,
- String expectedCompletion,
- String expectedParentCompletion,
- String expectedUnitToString,
- String expectedCompletionIdentifier,
- String expectedReplacedSource,
- String testName) {
-
- CompilerOptions options = new CompilerOptions(getCompilerOptions());
- CompletionParser parser =
- new CompletionParser(
- new ProblemReporter(
- DefaultErrorHandlingPolicies.proceedWithAllProblems(),
- options,
- new DefaultProblemFactory(Locale.getDefault())));
-
- ICompilationUnit sourceUnit = new CompilationUnit(source, testName, null);
- CompilationResult compilationResult = new CompilationResult(sourceUnit, 0, 0, 0);
-
- CompilationUnitDeclaration unit = parser.dietParse(sourceUnit, compilationResult, cursorLocation);
-
- String computedCompletion = parser.assistNode == null
- ? NONE
- : parser.assistNode.toString();
- String computedParentCompletion = parser.assistNodeParent == null
- ? NONE
- : parser.assistNodeParent.toString();
- String computedUnitToString = unit.toString();
- //System.out.println(computedUnitToString);
- //System.out.println(Util.displayString(computedUnitToString));
- //System.out.println(expectedUnitToString);
-
- if (!expectedCompletion.equals(computedCompletion)) {
- System.out.println(Util.displayString(computedCompletion));
- }
- assertEquals(
- "invalid completion node-" + testName,
- expectedCompletion,
- computedCompletion);
-
- if(expectedParentCompletion != null) {
- if (!expectedParentCompletion.equals(computedParentCompletion)) {
- System.out.println(Util.displayString(computedParentCompletion));
- }
- assertEquals(
- "invalid completion parent node-" + testName,
- expectedParentCompletion,
- computedParentCompletion);
- }
-
- if (!expectedUnitToString.equals(computedUnitToString)) {
- System.out.println(Util.displayString(computedUnitToString));
- }
- assertEquals(
- "invalid completion tree-" + testName,
- expectedUnitToString,
- computedUnitToString);
-
- if (expectedCompletionIdentifier != null){
- char[] chars = ((CompletionScanner)parser.scanner).completionIdentifier;
- String computedCompletionIdentifier = chars == null ? NONE : new String(chars);
- assertEquals(
- "invalid completion identifier-" + testName,
- expectedCompletionIdentifier,
- computedCompletionIdentifier);
- }
-
- if (expectedReplacedSource != null){
- char[] chars = null;
- if (parser.assistNode != null){
- chars = CharOperation.subarray(
- parser.scanner.source,
- parser.assistNode.sourceStart,
- parser.assistNode.sourceEnd + 1);
- } else {
- if (parser.assistIdentifier() != null){
- if (((CompletionScanner)parser.scanner).completedIdentifierEnd
- >= ((CompletionScanner)parser.scanner).completedIdentifierStart){
- chars = CharOperation.subarray(
- parser.scanner.source,
- ((CompletionScanner)parser.scanner).completedIdentifierStart,
- ((CompletionScanner)parser.scanner).completedIdentifierEnd + 1);
- }
- }
- }
- String computedReplacedSource = chars == null ? NONE : new String(chars);
- assertEquals(
- "invalid replaced source-" + testName,
- expectedReplacedSource,
- computedReplacedSource);
- }
-}
-/*
- * Parse a method with completionNode check
- */
-public void checkMethodParse(
- char[] source,
- int cursorLocation,
- String expectedCompletion,
- String expectedParentCompletion,
- String expectedUnitToString,
- String expectedCompletionIdentifier,
- String expectedReplacedSource,
- String[] expectedLabels,
- String testName) {
-
- assertTrue("bad cursor location",cursorLocation>=0);
- CompilerOptions options = new CompilerOptions(getCompilerOptions());
- CompletionParser parser =
- new CompletionParser(
- new ProblemReporter(
- DefaultErrorHandlingPolicies.proceedWithAllProblems(),
- options,
- new DefaultProblemFactory(Locale.getDefault())));
-
- ICompilationUnit sourceUnit = new CompilationUnit(source, testName, null);
- CompilationResult compilationResult = new CompilationResult(sourceUnit, 0, 0, 0);
-
- CompilationUnitDeclaration unit = parser.dietParse(sourceUnit, compilationResult, cursorLocation);
-
- if (Parser.DO_DIET_PARSE)
- {
- ASTNode foundMethod = null;
- if (unit.types != null) {
- for (int i = 0; i < unit.types.length; i++) {
- TypeDeclaration type = unit.types[i];
- ASTNode method = findMethod(type, cursorLocation);
- if (method != null) {
- foundMethod = method;
- break;
- }
- }
- }
- assertTrue("no method found at cursor location", foundMethod != null);
- if (foundMethod instanceof AbstractMethodDeclaration) {
- parser.parseBlockStatements((AbstractMethodDeclaration)foundMethod, unit);
- } else {
- TypeDeclaration type = (TypeDeclaration)foundMethod;
- if (type.fields != null) {
- for (int i = 0; i < type.fields.length; i++) {
- FieldDeclaration field = type.fields[i];
- if (field.declarationSourceStart <= cursorLocation && (cursorLocation <= field.declarationSourceEnd || field.declarationSourceEnd == 0)) {
- if (field instanceof Initializer) {
- parser.parseBlockStatements((Initializer)field, type, unit);
- break;
- }
- assertTrue("TBD", false); // field initializer
- }
- }
- }
- }
- }
-
- String computedCompletion = parser.assistNode == null
- ? NONE
- : parser.assistNode.toString();
- String computedParentCompletion = parser.assistNodeParent == null
- ? NONE
- : parser.assistNodeParent.toString();
- String computedUnitToString = unit.toString();
-
- if (!expectedCompletion.equals(computedCompletion)) {
- System.out.println(Util.displayString(computedCompletion));
- }
- assertEquals(
- "invalid completion node-" + testName,
- expectedCompletion,
- computedCompletion);
-
- if(expectedParentCompletion != null) {
- if (!expectedParentCompletion.equals(computedParentCompletion)) {
- System.out.println(Util.displayString(computedParentCompletion));
- }
- assertEquals(
- "invalid completion parent node-" + testName,
- expectedParentCompletion,
- computedParentCompletion);
- }
-
- if (!expectedUnitToString.equals(computedUnitToString)) {
- System.out.println(Util.displayString(computedUnitToString));
- }
- assertEquals(
- "invalid completion location-"+testName,
- expectedUnitToString,
- computedUnitToString);
-
- if (expectedCompletionIdentifier != null){
- char[] chars = ((CompletionScanner)parser.scanner).completionIdentifier;
- String computedCompletionIdentifier = chars == null ? NONE : new String(chars);
- if (!expectedCompletionIdentifier.equals(computedCompletionIdentifier)) {
- System.out.println(Util.displayString(computedCompletionIdentifier));
- }
- assertEquals(
- "invalid completion identifier-" + testName,
- expectedCompletionIdentifier,
- computedCompletionIdentifier);
- }
- if (expectedReplacedSource != null){
- char[] chars = null;
- if (parser.assistNode != null){
- chars = CharOperation.subarray(
- parser.scanner.source,
- parser.assistNode.sourceStart,
- parser.assistNode.sourceEnd + 1);
- } else {
- if (parser.assistIdentifier() != null){
- if (((CompletionScanner)parser.scanner).completedIdentifierEnd
- >= ((CompletionScanner)parser.scanner).completedIdentifierStart){
- chars = CharOperation.subarray(
- parser.scanner.source,
- ((CompletionScanner)parser.scanner).completedIdentifierStart,
- ((CompletionScanner)parser.scanner).completedIdentifierEnd + 1);
- }
- }
- }
- String computedReplacedSource = chars == null ? NONE : new String(chars);
- if (!expectedReplacedSource.equals(computedReplacedSource)) {
- System.out.println(Util.displayString(computedReplacedSource));
- }
- assertEquals(
- "invalid replaced source-" + testName,
- expectedReplacedSource,
- computedReplacedSource);
- if (expectedReplacedSource.length() == 0) {
- assertEquals(
- "invalid insertion point-" + testName,
- cursorLocation + 1,
- parser.assistNode.sourceStart);
- }
- }
- if (expectedLabels != null) {
-// int length = (parser.labels == null) ? 0 : parser.labels.length;
-// assertEquals("invalid number of labels-" + testName, expectedLabels.length, length);
-// for (int i = 0; i < length; i++) {
-// String label = new String(parser.labels[i]);
-// assertEquals("invalid label-" + testName, expectedLabels[i], label);
-// }
- }
-}
-/*
- * Parse a method with completionNode check
- */
-public void checkMethodParse(
- char[] source,
- int cursorLocation,
- String expectedCompletion,
- String expectedUnitToString,
- String expectedCompletionIdentifier,
- String expectedReplacedSource,
- String testName) {
-
- this.checkMethodParse(
- source,
- cursorLocation,
- expectedCompletion,
- null,
- expectedUnitToString,
- expectedCompletionIdentifier,
- expectedReplacedSource,
- null,
- testName);
-}
-/*
- * Parse a method with completionNode check
- */
-public void checkMethodParse(
- char[] source,
- int cursorLocation,
- String expectedCompletion,
- String expectedParentCompletion,
- String expectedUnitToString,
- String expectedCompletionIdentifier,
- String expectedReplacedSource,
- String testName) {
-
- this.checkMethodParse(
- source,
- cursorLocation,
- expectedCompletion,
- expectedParentCompletion,
- expectedUnitToString,
- expectedCompletionIdentifier,
- expectedReplacedSource,
- null,
- testName);
-}
-/*
- * Parse a method with completionNode check
- */
-public void checkMethodParse(
- char[] source,
- int cursorLocation,
- String expectedCompletion,
- String expectedUnitToString,
- String expectedCompletionIdentifier,
- String expectedReplacedSource,
- String[] expectedLabels,
- String testName) {
-
- this.checkMethodParse(
- source,
- cursorLocation,
- expectedCompletion,
- null,
- expectedUnitToString,
- expectedCompletionIdentifier,
- expectedReplacedSource,
- expectedLabels,
- testName);
-}
-/*
- * Returns the method, the constructor or the type declaring the initializer
- * at the cursor location in the given type.
- * Returns null if not found.
- */
-private ASTNode findMethod(TypeDeclaration type, int cursorLocation) {
- if (type.methods != null) {
- for (int i = 0; i < type.methods.length; i++) {
- AbstractMethodDeclaration method = type.methods[i];
- if (method.declarationSourceStart <= cursorLocation && (cursorLocation <= method.declarationSourceEnd || method.declarationSourceEnd == 0)) {
- return method;
- }
- }
- }
- if (type.memberTypes != null) {
- for (int i = 0; i < type.memberTypes.length; i++) {
- TypeDeclaration memberType = type.memberTypes[i];
- ASTNode method = findMethod(memberType, cursorLocation);
- if (method != null) {
- return method;
- }
- }
- }
- if (type.fields != null) {
- for (int i = 0; i < type.fields.length; i++) {
- FieldDeclaration field = type.fields[i];
- if (field instanceof Initializer && field.declarationSourceStart <= cursorLocation && (cursorLocation <= field.declarationSourceEnd || field.declarationSourceEnd == 0)) {
- return type;
- }
- }
- }
- return null;
-}
-/**
- * Runs the given test that checks that diet completion parsing returns the given completion.
- */
-protected void runTestCheckDietParse(
- String compilationUnit,
- String completeBehind,
- String expectedCompletionNodeToString,
- String expectedUnitDisplayString,
- String expectedCompletionIdentifier,
- String expectedReplacedSource,
- String testName) {
-
- int cursorLocation = compilationUnit.indexOf(completeBehind) + completeBehind.length() - 1;
- this.checkDietParse(
- compilationUnit.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- expectedCompletionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Runs the given test that checks that method completion parsing returns the given completion.
- */
-protected void runTestCheckMethodParse(
- String compilationUnit,
- String completeBehind,
- String expectedCompletionNodeToString,
- String expectedUnitDisplayString,
- String expectedCompletionIdentifier,
- String expectedReplacedSource,
- String[] expectedLabels,
- String testName) {
-
- int completeBehindStart = compilationUnit.indexOf(completeBehind);
- assertTrue("completeBehind string not found", completeBehindStart >= 0);
- int cursorLocation = completeBehindStart + completeBehind.length() - 1;
- this.checkMethodParse(
- compilationUnit.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- expectedCompletionIdentifier,
- expectedReplacedSource,
- expectedLabels,
- testName);
-}
-/**
- * Runs the given test that checks that method completion parsing returns the given completion.
- */
-protected void runTestCheckMethodParse(
- String compilationUnit,
- String completeBehind,
- String expectedCompletionNodeToString,
- String expectedUnitDisplayString,
- String expectedCompletionIdentifier,
- String expectedReplacedSource,
- String testName) {
-
- this.runTestCheckMethodParse(
- compilationUnit,
- completeBehind,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- expectedCompletionIdentifier,
- expectedReplacedSource,
- null,
- testName);
-}
-}
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/AbstractSelectionTest.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/AbstractSelectionTest.java
deleted file mode 100644
index 405bbcd..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/AbstractSelectionTest.java
+++ /dev/null
@@ -1,333 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core.tests.compiler.parser;
-
-import java.util.Locale;
-
-import org.eclipse.wst.jsdt.internal.codeassist.select.SelectionParser;
-import org.eclipse.wst.jsdt.internal.codeassist.select.SelectionScanner;
-import org.eclipse.wst.jsdt.internal.compiler.CompilationResult;
-import org.eclipse.wst.jsdt.internal.compiler.DefaultErrorHandlingPolicies;
-import org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration;
-import org.eclipse.wst.jsdt.internal.compiler.ast.ASTNode;
-import org.eclipse.wst.jsdt.internal.compiler.ast.Block;
-import org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration;
-import org.eclipse.wst.jsdt.internal.compiler.ast.FieldDeclaration;
-import org.eclipse.wst.jsdt.internal.compiler.ast.Initializer;
-import org.eclipse.wst.jsdt.internal.compiler.ast.TypeDeclaration;
-import org.eclipse.wst.jsdt.internal.compiler.batch.CompilationUnit;
-import org.eclipse.wst.jsdt.internal.compiler.env.ICompilationUnit;
-import org.eclipse.wst.jsdt.internal.compiler.impl.CompilerOptions;
-import org.eclipse.wst.jsdt.internal.compiler.parser.Parser;
-import org.eclipse.wst.jsdt.internal.compiler.problem.DefaultProblemFactory;
-import org.eclipse.wst.jsdt.internal.compiler.problem.ProblemReporter;
-import org.eclipse.wst.jsdt.core.compiler.CharOperation;
-import org.eclipse.wst.jsdt.core.tests.util.AbstractCompilerTest;
-import org.eclipse.wst.jsdt.core.tests.util.Util;
-
-public abstract class AbstractSelectionTest extends AbstractCompilerTest {
-
- public final static String NONE = "<NONE>";
-public AbstractSelectionTest(String testName){
- super(testName);
-}
-/*
- * DietParse with selectionNode check
- */
-public void checkDietParse(
- char[] source,
- int selectionStart,
- int selectionEnd,
- String expectedSelection,
- String expectedUnitToString,
- String expectedSelectionIdentifier,
- String expectedSelectedSource,
- String testName) {
-
- CompilerOptions options = new CompilerOptions(getCompilerOptions());
- SelectionParser parser =
- new SelectionParser(
- new ProblemReporter(
- DefaultErrorHandlingPolicies.proceedWithAllProblems(),
- options,
- new DefaultProblemFactory(Locale.getDefault())));
-
- ICompilationUnit sourceUnit = new CompilationUnit(source, testName, null);
- CompilationResult compilationResult = new CompilationResult(sourceUnit, 0, 0, 0);
-
- CompilationUnitDeclaration unit = parser.dietParse(sourceUnit, compilationResult, selectionStart, selectionEnd);
-
- String computedUnitToString = unit.toString();
- //System.out.println(computedUnitToString);
- //System.out.println(Util.displayString(computedUnitToString));
- //System.out.println(expectedUnitToString);
-
- String computedSelection = parser.assistNode == null
- ? NONE
- : parser.assistNode.toString();
- assertEquals(
- "invalid selection node-" + testName,
- expectedSelection,
- computedSelection);
-
- if (!expectedUnitToString.equals(computedUnitToString)) {
- System.out.println(Util.displayString(computedUnitToString, 2));
- }
- assertEquals(
- "invalid selection unit-" + testName,
- expectedUnitToString,
- computedUnitToString);
-
- if (expectedSelectionIdentifier != null){
- char[] chars = ((SelectionScanner)parser.scanner).selectionIdentifier;
- String computedSelectionIdentifier = chars == null ? NONE : new String(chars);
- assertEquals(
- "invalid selection identifier-" + testName,
- expectedSelectionIdentifier,
- computedSelectionIdentifier);
- }
- if (expectedSelectedSource != null){
- char[] chars = null;
- if (parser.assistNode != null){
- chars = CharOperation.subarray(
- parser.scanner.source,
- parser.assistNode.sourceStart,
- parser.assistNode.sourceEnd + 1);
- } else {
- if (parser.assistIdentifier() != null){
- if (((SelectionScanner)parser.scanner).selectionEnd
- >= ((SelectionScanner)parser.scanner).selectionStart){
- chars = CharOperation.subarray(
- parser.scanner.source,
- ((SelectionScanner)parser.scanner).selectionStart,
- ((SelectionScanner)parser.scanner).selectionEnd + 1);
- }
- }
- }
- String computedSelectedSource = chars == null ? NONE : new String(chars);
- assertEquals(
- "invalid replaced source-" + testName,
- expectedSelectedSource,
- computedSelectedSource);
- }
-}
-/*
- * Parse a method with selectionNode check
- */
-public void checkMethodParse(
- char[] source,
- int selectionStart,
- int selectionEnd,
- String expectedSelection,
- String expectedUnitToString,
- String expectedSelectionIdentifier,
- String expectedSelectedSource,
- String[] expectedLabels,
- String testName) {
-
- CompilerOptions options = new CompilerOptions(getCompilerOptions());
- SelectionParser parser =
- new SelectionParser(
- new ProblemReporter(
- DefaultErrorHandlingPolicies.proceedWithAllProblems(),
- options,
- new DefaultProblemFactory(Locale.getDefault())));
-
- ICompilationUnit sourceUnit = new CompilationUnit(source, testName, null);
- CompilationResult compilationResult = new CompilationResult(sourceUnit, 0, 0, 0);
-
- CompilationUnitDeclaration unit = parser.dietParse(sourceUnit, compilationResult, selectionStart, selectionEnd);
-
- if (Parser.DO_DIET_PARSE)
- {
- ASTNode foundMethod = null;
- if (unit.types != null) {
- for (int i = 0; i < unit.types.length; i++) {
- TypeDeclaration type = unit.types[i];
- ASTNode method = findMethod(type, selectionStart);
- if (method != null) {
- foundMethod = method;
- break;
- }
- }
- }
- assertTrue("no method found at cursor location", foundMethod != null);
- if (foundMethod instanceof AbstractMethodDeclaration) {
- parser.parseBlockStatements((AbstractMethodDeclaration)foundMethod, unit);
- } else {
- TypeDeclaration type = (TypeDeclaration)foundMethod;
- if (type.fields != null) {
- for (int i = 0; i < type.fields.length; i++) {
- FieldDeclaration field = type.fields[i];
- if (field instanceof Initializer && field.sourceStart <= selectionStart && selectionStart <= field.sourceEnd) {
- parser.parseBlockStatements((Initializer)field, type, unit);
- break;
- }
- }
- }
- }
- }
- String computedUnitToString = unit.toString();
- //System.out.println(computedUnitToString);
- //System.out.println(expectedUnitToString);
-
- String computedCompletion = parser.assistNode == null
- ? NONE
- : parser.assistNode.toString();
- assertEquals(
- "invalid selection node-" + testName,
- expectedSelection,
- computedCompletion);
-
- if (!expectedUnitToString.equals(computedUnitToString)) {
- System.out.println(Util.displayString(computedUnitToString, 2));
- }
- assertEquals(
- "invalid selection unit-"+testName,
- expectedUnitToString,
- computedUnitToString);
-
- if (expectedSelectionIdentifier != null){
- char[] chars = ((SelectionScanner)parser.scanner).selectionIdentifier;
- String computedSelectionIdentifier = chars == null ? NONE : new String(chars);
- assertEquals(
- "invalid selection identifier-" + testName,
- expectedSelectionIdentifier,
- computedSelectionIdentifier);
- }
- if (expectedSelectedSource != null){
- char[] chars = null;
- if (parser.assistNode != null){
- chars = CharOperation.subarray(
- parser.scanner.source,
- parser.assistNode.sourceStart,
- parser.assistNode.sourceEnd + 1);
- } else {
- if (parser.assistIdentifier() != null){
- if (((SelectionScanner)parser.scanner).selectionEnd
- >= ((SelectionScanner)parser.scanner).selectionStart){
- chars = CharOperation.subarray(
- parser.scanner.source,
- ((SelectionScanner)parser.scanner).selectionStart,
- ((SelectionScanner)parser.scanner).selectionEnd + 1);
- }
- }
- }
- String computedReplacedSource = chars == null ? NONE : new String(chars);
- assertEquals(
- "invalid replaced source-" + testName,
- expectedSelectedSource,
- computedReplacedSource);
- }
- if (expectedLabels != null) {
-/*
- assert("no labels-" + testName, parser.labels != null);
- int length = parser.labels.length;
- assertEquals("invalid number of labels-" + testName, expectedLabels.length, length);
- for (int i = 0; i < length; i++) {
- String label = new String(parser.labels[i]);
- assertEquals("invalid label-" + testName, expectedLabels[i], label);
- }
-*/
- }
-}
-/*
- * Parse a method with selectionNode check
- */
-public void checkMethodParse(
- char[] source,
- int selectionStart,
- int selectionEnd,
- String expectedSelection,
- String expectedUnitToString,
- String expectedSelectionIdentifier,
- String expectedSelectedSource,
- String testName) {
-
- this.checkMethodParse(
- source,
- selectionStart,
- selectionEnd,
- expectedSelection,
- expectedUnitToString,
- expectedSelectionIdentifier,
- expectedSelectedSource,
- null,
- testName);
-}
-/*
- * Returns the method, the constructor or the type declaring the initializer
- * at the cursor location in the given type.
- * Returns null if not found.
- */
-protected ASTNode findMethod(TypeDeclaration type, int cursorLocation) {
- if (type.methods != null) {
- for (int i = 0; i < type.methods.length; i++) {
- AbstractMethodDeclaration method = type.methods[i];
- if (method.declarationSourceStart <= cursorLocation && (cursorLocation <= method.declarationSourceEnd || method.declarationSourceEnd == 0)) {
- return method;
- }
- }
- }
- if (type.memberTypes != null) {
- for (int i = 0; i < type.memberTypes.length; i++) {
- TypeDeclaration memberType = type.memberTypes[i];
- ASTNode method = findMethod(memberType, cursorLocation);
- if (method != null) {
- return method;
- }
- }
- }
- if (type.fields != null) {
- for (int i = 0; i < type.fields.length; i++) {
- FieldDeclaration field = type.fields[i];
- if (field instanceof Initializer) {
- Initializer initializer = (Initializer)field;
- Block block = initializer.block;
- if (block != null && block.sourceStart <= cursorLocation && (cursorLocation <= block.sourceEnd || block.sourceEnd == 0)) {
- return type;
- }
- }
- }
- }
- return null;
-}
-/**
- * Runs the given test that checks that method completion parsing returns the given completion.
- */
-protected void runTestCheckMethodParse(
- String compilationUnit,
- String selectionStartBehind,
- String selectionEndBehind,
- String expectedSelectionNodeToString,
- String expectedUnitDisplayString,
- String expectedSelectionIdentifier,
- String expectedReplacedSource,
- String testName) {
-
- int selectionStartBehindStart = compilationUnit.indexOf(selectionStartBehind);
- assertTrue("selectionStartBehind string not found", selectionStartBehindStart != -1);
- int selectionStart = selectionStartBehindStart + selectionStartBehind.length();
- int selectionEndBehindStart = compilationUnit.indexOf(selectionEndBehind);
- assertTrue("selectionEndBehind string not found", selectionEndBehindStart != -1);
- int selectionEnd = selectionEndBehindStart + selectionEndBehind.length() - 1;
-
- this.checkMethodParse(
- compilationUnit.toCharArray(),
- selectionStart,
- selectionEnd,
- expectedSelectionNodeToString,
- expectedUnitDisplayString,
- expectedSelectionIdentifier,
- expectedReplacedSource,
- testName);
-}
-}
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/AllocationExpressionCompletionTest.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/AllocationExpressionCompletionTest.java
deleted file mode 100644
index bf642bb..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/AllocationExpressionCompletionTest.java
+++ /dev/null
@@ -1,194 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core.tests.compiler.parser;
-
-import junit.framework.Test;
-
-/**
- * Completion is expected to be an AllocationExpression.
- */
-public class AllocationExpressionCompletionTest extends AbstractCompletionTest {
-public AllocationExpressionCompletionTest(String testName) {
- super(testName);
-}
-public static Test suite() {
- return buildAllCompliancesTestSuite(AllocationExpressionCompletionTest.class);
-}
-/*
- * Completion inside an if statement.
- */
-public void testInIfStatement() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " if (true) { \n" +
- " new z.y.X(1, 2, i); \n" +
- " } \n" +
- " } \n" +
- "}\n",
- // completeBehind:
- "X(1, 2,",
- // expectedCompletionNodeToString:
- "<CompleteOnAllocationExpression:new z.y.X(1, 2)>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " <CompleteOnAllocationExpression:new z.y.X(1, 2)>;\n" +
- " }\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "",
- // expectedReplacedSource:
- "",
- // test name
- "<complete inside an if statement>"
- );
-}
-/*
- * Completion on a constructor invocation with no qualification and using a qualified type name.
- *
- * ie. ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
- * where ClassType is a qualified type name
- */
-public void testNoQualificationQualifiedTypeName() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " new z.y.X(1, 2, i); \n" +
- " } \n" +
- "}\n",
- // completeBehind:
- "X(1, 2,",
- // expectedCompletionNodeToString:
- "<CompleteOnAllocationExpression:new z.y.X(1, 2)>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnAllocationExpression:new z.y.X(1, 2)>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "",
- // expectedReplacedSource:
- "",
- // test name
- "<complete on non qualified instance creation with qualified type name>"
- );
-}
-/*
- * Completion on a constructor invocation with no qualification and using a simple type name.
- *
- * ie. ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
- * where ClassType is a simple type name
- */
-public void testNoQualificationSimpleTypeName() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " new X(1, 2, i); \n" +
- " } \n" +
- "}\n",
- // completeBehind:
- "X(1, 2,",
- // expectedCompletionNodeToString:
- "<CompleteOnAllocationExpression:new X(1, 2)>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnAllocationExpression:new X(1, 2)>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "",
- // expectedReplacedSource:
- "",
- // test name
- "<complete on non qualified instance creation with simple type name>"
- );
-}
-/*
- * Completion on a constructor invocation qualified with a name.
- *
- * ie. ClassInstanceCreationExpression ::= ClassInstanceCreationExpressionName 'new' SimpleName '(' ArgumentListopt ')' ClassBodyopt
- */
-public void testQualifiedWithName() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar {\n" +
- " void foo() { \n" +
- " Buz.x.new X(1, 2, i); \n" +
- " } \n" +
- "}\n",
- // completeBehind:
- "X(1, 2,",
- // expectedCompletionNodeToString:
- "<CompleteOnQualifiedAllocationExpression:Buz.x.new X(1, 2)>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnQualifiedAllocationExpression:Buz.x.new X(1, 2)>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "",
- // expectedReplacedSource:
- "",
- // test name
- "<complete on name qualified instance creation>"
- );
-}
-/*
- * Completion on a constructor invocation qualified with a primary.
- *
- * ie. ClassInstanceCreationExpression ::= Primary '.' 'new' SimpleName '(' ArgumentListopt ')' ClassBodyopt
- */
-public void testQualifiedWithPrimary() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " primary().new X(1, 2, i); \n" +
- " } \n" +
- "}\n",
- // completeBehind:
- "X(1, 2,",
- // expectedCompletionNodeToString:
- "<CompleteOnQualifiedAllocationExpression:primary().new X(1, 2)>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnQualifiedAllocationExpression:primary().new X(1, 2)>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "",
- // expectedReplacedSource:
- "",
- // test name
- "<complete on primary qualified instance creation>"
- );
-}
-}
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/ClassLiteralAccessCompletionTest.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/ClassLiteralAccessCompletionTest.java
deleted file mode 100644
index a0bf291..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/ClassLiteralAccessCompletionTest.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core.tests.compiler.parser;
-
-import junit.framework.Test;
-
-/**
- * Completion is expected to be a ClassLiteralAccess.
- */
-public class ClassLiteralAccessCompletionTest extends AbstractCompletionTest {
-public ClassLiteralAccessCompletionTest(String testName) {
- super(testName);
-}
-public static Test suite() {
- return buildAllCompliancesTestSuite(ClassLiteralAccessCompletionTest.class);
-}
-/*
- * Completion on the keyword 'class' on an array type
- */
-public void testArrayType() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " String[].; \n" +
- " } \n" +
- "} \n",
- // completeBehind:
- "String[].",
- // expectedCompletionNodeToString:
- "<CompleteOnClassLiteralAccess:String[].>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnClassLiteralAccess:String[].>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "",
- // expectedReplacedSource:
- "String[].",
- // test name
- "<complete on array type member>"
- );
-}
-/*
- * Test access to the keyword 'class' on an array type
- * where the keyword is non empty.
- */
-public void testArrayTypeWithNonEmptyIdentifier() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " String[].class; \n" +
- " } \n" +
- "} \n",
- // completeBehind:
- "String[].cl",
- // expectedCompletionNodeToString:
- "<CompleteOnClassLiteralAccess:String[].cl>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnClassLiteralAccess:String[].cl>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "cl",
- // expectedReplacedSource:
- "String[].class",
- // test name
- "<complete on array type member with non empty identifier>"
- );
-}
-/*
- * Completion on the keyword 'class' on a primitive array type
- */
-public void testPrimitiveArrayType() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " int[].; \n" +
- " } \n" +
- "} \n",
- // completeBehind:
- "int[].",
- // expectedCompletionNodeToString:
- "<CompleteOnClassLiteralAccess:int[].>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnClassLiteralAccess:int[].>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "",
- // expectedReplacedSource:
- "int[].",
- // test name
- "<complete on primitive array type member>"
- );
-}
-/*
- * Completion on the keyword 'class' on a primitive array type where the
- * keyword is non empty
- */
-public void testPrimitiveArrayTypeWithNonEmptyIdentifier() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " int[].class; \n" +
- " } \n" +
- "} \n",
- // completeBehind:
- "int[].cl",
- // expectedCompletionNodeToString:
- "<CompleteOnClassLiteralAccess:int[].cl>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnClassLiteralAccess:int[].cl>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "cl",
- // expectedReplacedSource:
- "int[].class",
- // test name
- "<complete on primitive array type member with non empty identifier>"
- );
-}
-/*
- * Completion on the keyword 'class' on a primitive type
- */
-public void testPrimitiveType() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " int.; \n" +
- " } \n" +
- "} \n",
- // completeBehind:
- "int.",
- // expectedCompletionNodeToString:
- "<CompleteOnClassLiteralAccess:int.>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnClassLiteralAccess:int.>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "",
- // expectedReplacedSource:
- "int.",
- // test name
- "<complete on primitive type member>"
- );
-}
-/*
- * Completion on the keyword 'class' on a primitive type where the
- * keyword is non empty
- */
-public void testPrimitiveTypeWithNonEmptyIdentifier() {
- this.runTestCheckMethodParse(
- // compilationUnit:
- "class Bar { \n" +
- " void foo() { \n" +
- " int.class; \n" +
- " } \n" +
- "} \n",
- // completeBehind:
- "int.cl",
- // expectedCompletionNodeToString:
- "<CompleteOnClassLiteralAccess:int.cl>",
- // expectedUnitDisplayString:
- "class Bar {\n" +
- " Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnClassLiteralAccess:int.cl>;\n" +
- " }\n" +
- "}\n",
- // expectedCompletionIdentifier:
- "cl",
- // expectedReplacedSource:
- "int.class",
- // test name
- "<complete on primitive type member with non empty identifier>"
- );
-}
-}
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/CompletionParserTest.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/CompletionParserTest.java
deleted file mode 100644
index 3e3f3ce..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/CompletionParserTest.java
+++ /dev/null
@@ -1,8713 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core.tests.compiler.parser;
-
-import junit.framework.Test;
-
-import org.eclipse.wst.jsdt.internal.codeassist.complete.*;
-
-public class CompletionParserTest extends AbstractCompletionTest {
-public CompletionParserTest(String testName) {
- super(testName);
-}
-static {
-// TESTS_NAMES = new String[] { "testXA_1FGGUQF_1FHSL8H_1" };
-}
-public static Test suite() {
- return buildAllCompliancesTestSuite(CompletionParserTest.class);
-}
-public void testA() {
- String str =
- " function foo(){\n" +
- " var i;\n" +
- " if (i instanceof O) {\n" +
- " }\n" +
- " var s = \"hello\";\n" +
- " s.}\n" +
- "\n";
-
- String testName = "<complete on methods/fields>";
- String completeBehind = "s.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:s.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "function foo() {\n" +
- " var i;\n" +
- " if ((i instanceof O))\n" +
- " {\n" +
- " }\n" +
- " var s = \"hello\";\n" +
- " <CompleteOnMemberAccess:s.>;\n" +
- "}" +
- "\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testAA_1() {
- String str =
- " function foo() {\n" +
- " var maxUnits = 0;\n" +
- " var unitResult = \n" +
- " new CompilationUnitResult(\n" +
- " null, \n" +
- " i, \n" +
- " maxUnits); \n" +
- " }" +
- "}\n";
-
- String completeBehind = "n";
- String expectedCompletionNodeToString = "<CompleteOnName:n>";
- String completionIdentifier = "n";
- String expectedUnitDisplayString =
- "function foo() {\n" +
- " var maxUnits = 0;\n" +
- " var unitResult = <CompleteOnName:n>;\n" +
- " CompilationUnitResult(null, i, maxUnits);\n"+
- "}\n";
- String expectedReplacedSource = "new";
- String testName = "<complete on initializer (new)>";
-
- int cursorLocation = str.indexOf("new CompilationUnitResult(") + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-public void testAA_2() {
- String str =
- "// test unicode \\u000a var c = 1; \n" +
- "var b =c; \n";
- String testName = "<unicode in comment complete on variable>";
- String expectedCompletionNodeToString = "<CompleteOnName:c>";
- String completionIdentifier = "c";
- String expectedReplacedSource = "c";
- int cursorLocation = str.indexOf("var b =c") -1 /*+ completeBehind.length() - 1*/;
- String expectedUnitDisplayString =
- "// test unicode \\u000a var c = 1; \n" +
- "var b = <CompleteOnName:c>;\n";
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-//public void testAA_3() {
-// String str =
-// "'abc\\u0027def';\n";
-// String testName = "<unicode in comment complete on variable>";
-// String expectedCompletionNodeToString = "<CompleteOnName:c>";
-// String completionIdentifier = "c";
-// String expectedReplacedSource = "c";
-// int cursorLocation = str.indexOf("var b =") -1 /*+ completeBehind.length() - 1*/;
-// String expectedUnitDisplayString =
-// "'abc\\u0027def';\n";
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-
-//public void testAA_3() {
-// String str =
-// "package p; \n" +
-// "import something; \n" +
-// "import p2.; \n" +
-// "public class AA {\n" +
-// " void foo() {\n" +
-// " int maxUnits = 0;\n" +
-// " for (int i = 0; \n" +
-// " i < maxUnits; \n" +
-// " i++) {\n" +
-// " CompilationUnitResult unitResult = \n" +
-// " new CompilationUnitResult(\n" +
-// " null, \n" +
-// " i, \n" +
-// " maxUnits); \n" +
-// " }\n" +
-// " }\n" +
-// "}\n";
-//
-// String testName = "<complete on call to constructor argument>";
-// String completeBehind = "i";
-// String expectedCompletionNodeToString = "<CompleteOnName:i>";
-// String completionIdentifier = "i";
-// String expectedReplacedSource = "i";
-// int cursorLocation = str.indexOf("i, ") + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "import something;\n" +
-// "public class AA {\n" +
-// " public AA() {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " int maxUnits;\n" +
-// " int i;\n" +
-// " {\n" +
-// " CompilationUnitResult unitResult = new CompilationUnitResult(null, <CompleteOnName:i>);\n" +
-// " }\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-//public void testAA_4() {
-// String str =
-// "package p; \n" +
-// "import something; \n" +
-// "import p2.; \n" +
-// "public class AA {\n" +
-// " void foo() {\n" +
-// " int maxUnits = 0;\n" +
-// " for (int i = 0; \n" +
-// " i < maxUnits; \n" +
-// " i++) {\n" +
-// " CompilationUnitResult unitResult = \n" +
-// " new CompilationUnitResult(\n" +
-// " null, \n" +
-// " i, \n" +
-// " maxUnits); \n" +
-// " }\n" +
-// " }\n" +
-// "}\n";
-//
-// String testName = "<complete on constructor call argument>";
-// String completeBehind = "max";
-// String expectedCompletionNodeToString = "<CompleteOnName:max>";
-// String completionIdentifier = "max";
-// String expectedReplacedSource = "maxUnits";
-// int cursorLocation = str.indexOf("maxUnits); ") + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "import something;\n" +
-// "public class AA {\n" +
-// " public AA() {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " int maxUnits;\n" +
-// " int i;\n" +
-// " {\n" +
-// " CompilationUnitResult unitResult = new CompilationUnitResult(null, i, <CompleteOnName:max>);\n" +
-// " }\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-//public void testAB_1FHU9LU() {
-// String str =
-// "package p; \n" +
-// "/**\n" +
-// " * 1FHU9LU\n" +
-// " */\n" +
-// "class SuperClass {\n" +
-// " static void eFooStatic() {\n" +
-// " }\n" +
-// " void eFoo() {\n" +
-// " }\n" +
-// "}\n" +
-// "public class AB\n" +
-// " extends SuperClass {\n" +
-// " void eBar() {\n" +
-// " super.eFoo();\n" +
-// " }\n" +
-// "}\n";
-//
-// String testName = "<complete on methods/fields from super class>";
-// String completeBehind = "super.";
-// String expectedCompletionNodeToString = "<CompleteOnMemberAccess:super.>";
-// String completionIdentifier = "";
-// String expectedReplacedSource = "super.";
-// int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "class SuperClass {\n" +
-// " SuperClass() {\n" +
-// " }\n" +
-// " static void eFooStatic() {\n" +
-// " }\n" +
-// " void eFoo() {\n" +
-// " }\n" +
-// "}\n" +
-// "public class AB extends SuperClass {\n" +
-// " public AB() {\n" +
-// " }\n" +
-// " void eBar() {\n" +
-// " <CompleteOnMemberAccess:super.>;\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-//public void testAC_1FJ8D9Z_1() {
-// String str =
-// "package p; \n" +
-// "/**\n" +
-// " * 1FJ8D9Z\n" +
-// " */\n" +
-// "import java.io.*;\n" +
-// "public class AC {\n" +
-// " AC() {\n" +
-// " }\n" +
-// " AC(int i) {\n" +
-// " }\n" +
-// " AC(int i, String s) {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " new AC(new File(\n" +
-// " new java\n" +
-// " .util\n" +
-// " .Vector(}\n" +
-// "}\n";
-//
-// String testName = "<complete on constructor argument>";
-// String completeBehind = "new AC(";
-// String expectedCompletionNodeToString = "<CompleteOnAllocationExpression:new AC()>";
-// String completionIdentifier = "";
-// String expectedReplacedSource = "";
-// int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "import java.io.*;\n" +
-// "public class AC {\n" +
-// " AC() {\n" +
-// " }\n" +
-// " AC(int i) {\n" +
-// " }\n" +
-// " AC(int i, String s) {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " <CompleteOnAllocationExpression:new AC()>;\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-//public void testAC_1FJ8D9Z_2() {
-// String str =
-// "package p; \n" +
-// "/**\n" +
-// " * 1FJ8D9Z\n" +
-// " */\n" +
-// "import java.io.*;\n" +
-// "public class AC {\n" +
-// " AC() {\n" +
-// " }\n" +
-// " AC(int i) {\n" +
-// " }\n" +
-// " AC(int i, String s) {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " new AC(new File(\n" +
-// " new java\n" +
-// " .util\n" +
-// " .Vector(}\n" +
-// "}\n";
-//
-// String testName = "<complete on constructor argument>";
-// String completeBehind = "new File(";
-// String expectedCompletionNodeToString = "<CompleteOnAllocationExpression:new File()>";
-// String completionIdentifier = "";
-// String expectedReplacedSource = "";
-// int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "import java.io.*;\n" +
-// "public class AC {\n" +
-// " AC() {\n" +
-// " }\n" +
-// " AC(int i) {\n" +
-// " }\n" +
-// " AC(int i, String s) {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " <CompleteOnAllocationExpression:new File()>;\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-//public void testAC_1FJ8D9Z_3() {
-// String str =
-// "package p; \n" +
-// "/**\n" +
-// " * 1FJ8D9Z\n" +
-// " */\n" +
-// "import java.io.*;\n" +
-// "public class AC {\n" +
-// " AC() {\n" +
-// " }\n" +
-// " AC(int i) {\n" +
-// " }\n" +
-// " AC(int i, String s) {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " new AC(new File(\n" +
-// " new java.util.Vector(}\n" +
-// "}\n";
-//
-// String testName = "<complete on constructor argument>";
-// String completeBehind = "new java.util.Vector(";
-// String expectedCompletionNodeToString = "<CompleteOnAllocationExpression:new java.util.Vector()>";
-// String completionIdentifier = "";
-// String expectedReplacedSource = "";
-// int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "import java.io.*;\n" +
-// "public class AC {\n" +
-// " AC() {\n" +
-// " }\n" +
-// " AC(int i) {\n" +
-// " }\n" +
-// " AC(int i, String s) {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " <CompleteOnAllocationExpression:new java.util.Vector()>;\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-public void testB() {
- String str =
- "function B() {\n" +
- " var o = new Object \n}\n";
-
- String testName = "<complete on type into type creation>";
- String completeBehind = "new Object";
- String expectedCompletionNodeToString = "<CompleteOnName:Object>";
- String completionIdentifier = "Object";
- String expectedReplacedSource = "Object";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "function B() {\n" +
- " var o = new <CompleteOnType:Object>;\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-//public void testBA_1() {
-// String str =
-// "package p; \n" +
-// "public class BA {\n" +
-// " void foo() {\n" +
-// " java.util.Vector v2;\n" +
-// " java.util.Vector v1;\n" +
-// " }\n" +
-// "}\n";
-//
-// String testName = "<complete on package name>";
-// String completeBehind = "java.";
-// String expectedCompletionNodeToString = "<CompleteOnName:java.>";
-// String completionIdentifier = "";
-// String expectedReplacedSource = "java.";
-// int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "public class BA {\n" +
-// " public BA() {\n" +
-//
-// " }\n" +
-// " void foo() {\n" +
-// " <CompleteOnName:java.>;\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-//public void testBA_2() {
-// String str =
-// "package p; \n" +
-// "public class BA {\n" +
-// " void foo() {\n" +
-// " java.util.Vector v2;\n" +
-// " java.util.Vector v1;\n" +
-// " }\n" +
-// "}\n";
-//
-// String testName = "<complete on package contents>";
-// String completeBehind = "java.util.";
-// String expectedCompletionNodeToString = "<CompleteOnName:java.util.>";
-// String completionIdentifier = "";
-// String expectedReplacedSource = "java.util.";
-// int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "public class BA {\n" +
-// " public BA() {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " <CompleteOnName:java.util.>;\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-public void testBB_1FHJ8H9() {
- String str =
- "function bar() {\n" +
- " z }\n" +
- "\n";
-
- String testName = "<complete on method/field from implicit method call>";
- String completeBehind = "z";
- String expectedCompletionNodeToString = "<CompleteOnName:z>";
- String completionIdentifier = "z";
- String expectedReplacedSource = "z";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "function bar() {\n" +
- " <CompleteOnName:z>;\n" +
- "}" +
- "\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-//public void testBC_1FJ4GSG_1() {
-// String str =
-// "package p; \n" +
-// "/**\n" +
-// " * 1FJ4GSG\n" +
-// " */\n" +
-// "import java.util.Vector;\n" +
-// "public class BC {\n" +
-// " int Value1 = 0;\n" +
-// " interface Constants {\n" +
-// " int OK = 1;\n" +
-// " int CANCEL = 2;\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " Vector v = \n" +
-// " new Vector(\n" +
-// " Value1, \n" +
-// " BC.Constants.OK\n" +
-// " | BC.Constants.CANCEL); \n" +
-// " Object ans = v.elementAt(1);\n" +
-// " }\n" +
-// "}\n";
-//
-// String testName = "<complete on member type>";
-// String completeBehind = "BC.";
-// String expectedCompletionNodeToString = "<CompleteOnName:BC.>";
-// String completionIdentifier = "";
-// String expectedReplacedSource = "BC.";
-// int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "import java.util.Vector;\n" +
-// "public class BC {\n" +
-// " interface Constants {\n" +
-// " int OK;\n" +
-// " int CANCEL;\n" +
-// " <clinit>() {\n" +
-// " }\n" +
-// " }\n" +
-// " int Value1;\n" +
-// " public BC() {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " Vector v = new Vector(Value1, <CompleteOnName:BC.>);\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-//public void testBC_1FJ4GSG_2() {
-// String str =
-// "package p; \n" +
-// "/**\n" +
-// " * 1FJ4GSG\n" +
-// " */\n" +
-// "import java.util.Vector;\n" +
-// "public class BC {\n" +
-// " int Value1 = 0;\n" +
-// " interface Constants {\n" +
-// " int OK = 1;\n" +
-// " int CANCEL = 2;\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " Vector v = \n" +
-// " new Vector(\n" +
-// " Value1, \n" +
-// " BC.Constants.OK\n" +
-// " | BC.Constants.CANCEL); \n" +
-// " Object ans = v.elementAt(1);\n" +
-// " }\n" +
-// "}\n";
-//
-// String testName = "<complete on member type method/field>";
-// String completeBehind = "| BC.Constants.";
-// String expectedCompletionNodeToString = "<CompleteOnName:BC.Constants.>";
-// String completionIdentifier = "";
-// String expectedReplacedSource = "BC.Constants.";
-// int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "import java.util.Vector;\n" +
-// "public class BC {\n" +
-// " interface Constants {\n" +
-// " int OK;\n" +
-// " int CANCEL;\n" +
-// " <clinit>() {\n" +
-// " }\n" +
-// " }\n" +
-// " int Value1;\n" +
-// " public BC() {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " Vector v = (BC.Constants.OK | <CompleteOnName:BC.Constants.>);\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-public void testMsgSend() {
- String str =
- " function foo() {\n"+
- " var removed = 0;\n"+
- " toto(Test.vvv).titi(removed);\n"+
- " }\n";
-
- String testName = "<complete on method call>";
- String completeBehind = "removed";
- String expectedCompletionNodeToString = "<CompleteOnName:removed>";
- String completionIdentifier = "removed";
- String expectedReplacedSource = "removed";
- int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "function foo() {\n" +
- " var removed = 0;\n" +
- " toto(Test.vvv).titi(<CompleteOnName:removed>);\n" +
- "}" +
- "\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-public void testMsgSend2() {
- String str =
- " abc.titi();\n"+
- "";
-
- String testName = "<complete on method call 2>";
- String completeBehind = "titi";
- String expectedCompletionNodeToString = "<CompleteOnMessageSend:abc.titi()>";
- String completionIdentifier = "titi";
- String expectedReplacedSource = "titi()";
- int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "<CompleteOnMessageSend:abc.titi()>;" +
- "\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-public void testMsgSend3() {
- String str =
- " function foo() {\n"+
- " var removed = 0;\n"+
- " toto(Test.vvv).titi(removed);\n"+
- " }\n";
-
- String testName = "<complete on method call 3>";
- String completeBehind = "titi";
- String expectedCompletionNodeToString = "<CompleteOnMessageSend:toto(Test.vvv).titi(removed)>";
- String completionIdentifier = "titi";
- String expectedReplacedSource = "titi(removed)";
- int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "function foo() {\n" +
- " var removed = 0;\n" +
- " <CompleteOnMessageSend:toto(Test.vvv).titi(removed)>;\n" +
- "}" +
- "\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-
-public void testBC_1FJ4GSG_3() {
- String str =
- " function foo() {\n" +
- " var v = \n" +
- " new Vector();\n" +
- " var ans = v.elementAt(1);\n" +
- " }\n" +
- "\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "v.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:v.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "v.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "function foo() {\n" +
- " var v = new Vector();\n" +
- " var ans = <CompleteOnMemberAccess:v.>;\n" +
- "}" +
- "\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-
-public void testC() {
- String str =
- "function foo() {\n" +
- " var string = n;\n" +
- " }\n" +
- "\n";
-
- String completeBehind = "= n";
- String expectedCompletionNodeToString = "<CompleteOnName:n>";
- String completionIdentifier = "n";
- String expectedUnitDisplayString =
- "function foo() {\n" +
- " var string = <CompleteOnName:n>;\n" +
- "}\n";
- String expectedReplacedSource = "n";
- String testName = "<complete on local variable initializer>";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testCA_1FGPJQZ() {
- String str =
- " function moo() {\n" +
- " unknownField.}\n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "unknownField.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:unknownField.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- String expectedUnitDisplayString =
- "function moo() {\n" +
- " <CompleteOnMemberAccess:unknownField.>;\n" +
- "}\n";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testCB_1FHSKQ9_1() {
- String str =
- " function foo() {\n" +
- " var i = 0;\n" +
- " var tab1 = 0;\n" +
- " System.out.println(\n" +
- " \" \" + (i + 1)); \n" +
- "}\n";
-
- String testName = "<complete on method call argument>";
- String completeBehind = "+ (i";
- String expectedCompletionNodeToString = "<CompleteOnName:i>";
- String completionIdentifier = "i";
- String expectedReplacedSource = "i";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "function foo() {\n" +
- " var i = 0;\n" +
- " var tab1 = 0;\n" +
- " System.out.println((\" \" + (<CompleteOnName:i> + 1)));\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testCB_1FHSKQ9_2() {
- String str =
- " function foo() {\n" +
- " var i = 0;\n" +
- " System.out.println(\n" +
- " \" \" + (i + 1)); \n" +
- "}\n";
-
- String completeBehind = "i + 1";
- String expectedCompletionNodeToString = NONE;
- String completionIdentifier = "";
- String expectedUnitDisplayString = null;
- String expectedReplacedSource = NONE;
- String testName = "<complete on digit into method call argument>";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-
- try {
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
- assertTrue("failed to detect invalid cursor location", false);
- } catch(InvalidCursorLocation e){
- assertEquals("invalid cursor location: ", e.irritant, InvalidCursorLocation.NO_COMPLETION_INSIDE_NUMBER);
- }
-}
-//public void testCC_1FJ64I9() {
-// String str =
-// "package p; \n" +
-// "/**\n" +
-// " * 1FJ64I9\n" +
-// " */\n" +
-// "class CCHelper {\n" +
-// " class Member1 {\n" +
-// " }\n" +
-// " class Member2 {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " }\n" +
-// "}\n" +
-// "public class CC {\n" +
-// " void foo() {\n" +
-// " new CCHelper()\n" +
-// " .new CCHelper()\n" +
-// " .new M }\n" +
-// "}\n";
-//
-// String testName = "<complete on qualified member type>";
-// String completeBehind = ".new M";
-// String expectedCompletionNodeToString = "<CompleteOnType:M>";
-// String completionIdentifier = "M";
-// String expectedReplacedSource = "M";
-// int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "class CCHelper {\n" +
-// " class Member1 {\n" +
-// " Member1() {\n" +
-// " }\n" +
-// " }\n" +
-// " class Member2 {\n" +
-// " Member2() {\n" +
-// " }\n" +
-// " }\n" +
-// " CCHelper() {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " }\n" +
-// "}\n" +
-// "public class CC {\n" +
-// " public CC() {\n" +
-// " }\n" +
-// " void foo() {\n" +
-// " new CCHelper().new CCHelper().new <CompleteOnType:M>();\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-//public void testD_1() {
-// String str =
-// "package p; \n" +
-// "import java.util.*;\n" +
-// "public class D {\n" +
-// " static int i;\n" +
-// " static {\n" +
-// " i = 5;\n" +
-// " }\n" +
-// " public int j;\n" +
-// " Vector a = new Vector();\n" +
-// " void foo(String s) {\n" +
-// " String string = null;\n" +
-// " int soso;\n" +
-// " float f;\n" +
-// " string.regionMatches(\n" +
-// " 0, \n" +
-// " \"\", \n" +
-// " 0, \n" +
-// " 0); \n" +
-// " }\n" +
-// "}\n";
-//
-// String testName = "<complete on variable into type initializer>";
-// String completeBehind = "i";
-// String expectedCompletionNodeToString = "<CompleteOnName:i>";
-// String completionIdentifier = "i";
-// String expectedReplacedSource = "i";
-// int cursorLocation = str.indexOf("i = 5;") + completeBehind.length() - 1;
-// String expectedUnitDisplayString =
-// "package p;\n" +
-// "import java.util.*;\n" +
-// "public class D {\n" +
-// " static int i;\n" +
-// " static {\n" +
-// " <CompleteOnName:i>;\n" +
-// " }\n" +
-// " public int j;\n" +
-// " Vector a;\n" +
-// " <clinit>() {\n" +
-// " }\n" +
-// " public D() {\n" +
-// " }\n" +
-// " void foo(String s) {\n" +
-// " }\n" +
-// "}\n";
-//
-// checkMethodParse(
-// str.toCharArray(),
-// cursorLocation,
-// expectedCompletionNodeToString,
-// expectedUnitDisplayString,
-// completionIdentifier,
-// expectedReplacedSource,
-// testName);
-//}
-public void testD_2() {
- String str =
- " var a = new Vector();\n" +
- " function foo(s) {\n" +
- " var string = null;\n" +
- " var soso;\n" +
- " var f;\n" +
- " string.regionMatches(\n" +
- " 0, \n" +
- " \"\", \n" +
- " 0, \n" +
- " 0); \n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "string.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:string.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "string.";
- String expectedUnitDisplayString =
- "var a = new Vector();\n" +
- "function foo(s) {\n" +
- " var string = null;\n" +
- " var soso;\n" +
- " var f;\n" +
- " <CompleteOnMemberAccess:string.>;\n" +
- "}\n";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testD_2b() {
- String str =
- " function foo(s) {\n" +
- " foo(string.regionMatches);\n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "string.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:string.>";
- String completionIdentifier = "string.";
- String expectedReplacedSource = "regionMatches";
- String expectedUnitDisplayString =
- "function foo(s) {\n" +
- " foo(<CompleteOnMemberAccess:string.>);\n" +
- "}\n";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testD_2c() {
- String str =
- " var obj= {\n" +
- " a: string.regionMatches\n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "string.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:string.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "regionMatches";
- String expectedUnitDisplayString =
- "var obj = {\n" +
- " a : <CompleteOnMemberAccess:string.>\n" +
- "};\n";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-public void testDA_1() {
- String str =
- "package p; \n" +
- "public class DA {\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field into anonymous declaration>";
- String completeBehind = "v";
- String expectedCompletionNodeToString = "<CompleteOnName:v>";
- String completionIdentifier = "v";
- String expectedReplacedSource = "v";
- int cursorLocation = str.indexOf("v }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class DA {\n" +
- " public DA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " () {\n" +
- " }\n" +
- " protected void runTest() {\n" +
- " Vector v11111;\n" +
- " <CompleteOnName:v>;\n" +
- " }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testDA_2() {
- String str =
- "package p; \n" +
- "public class DA {\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "protected v";
- String expectedCompletionNodeToString = "<CompleteOnType:v>";
- String completionIdentifier = "v";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class DA {\n" +
- " public DA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " <CompleteOnType:v>;\n" +
- " () {\n" +
- " }\n" +
- " runTest() {\n" +
- " }\n" +
- " };\n" +
- " }\n" +
- "}\n";
- String expectedReplacedSource = "void";
- String testName = "<complete on return type into anonymous declaration>";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testDA_3() {
- String str =
- "package p; \n" +
- "public class DA {\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method selector into anonymous declaration>";
- String completeBehind = "r";
- String expectedCompletionNodeToString = "<CompleteOnFieldName:void r>;";
- String completionIdentifier = "r";
- String expectedReplacedSource = "runTest";
- int cursorLocation = str.indexOf("runTest") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class DA {\n" +
- " public DA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " <CompleteOnFieldName:void r>;\n" +
- " {\n" +
- " }\n" +
- " () {\n" +
- " }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testDA_4() {
- String str =
- "package p; \n" +
- "public class DA {\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on local variable type into anonymous declaration>";
- String completeBehind = "V";
- String expectedCompletionNodeToString = "<CompleteOnName:V>";
- String completionIdentifier = "V";
- String expectedReplacedSource = "Vector";
- int cursorLocation = str.indexOf("Vector v11111") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class DA {\n" +
- " public DA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " () {\n" +
- " }\n" +
- " protected void runTest() {\n" +
- " <CompleteOnName:V>;\n" +
- " }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testDA_5() {
- String str =
- "package p; \n" +
- "public class DA {\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on local type into anonymous declaration>";
- String completeBehind = "v";
- String expectedCompletionNodeToString = "<CompleteOnName:v>";
- String completionIdentifier = "v";
- String expectedReplacedSource = "v";
- int cursorLocation = str.indexOf("v }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class DA {\n" +
- " public DA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " new TestCase(\"error\") {\n" +
- " () {\n" +
- " }\n" +
- " protected void runTest() {\n" +
- " Vector v11111;\n" +
- " <CompleteOnName:v>;\n" +
- " }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testDB_1FHSLDR() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHSLDR\n" +
- " */\n" +
- "public class DB {\n" +
- " void foo() {\n" +
- " try {\n" +
- " System.out.println(\"\");\n" +
- " }\n" +
- " fi }\n" +
- "}\n";
-
- String testName = "<complete on finally keyword>";
- String completeBehind = "fi";
- String expectedCompletionNodeToString = "<CompleteOnKeyword:fi>";
- String completionIdentifier = "fi";
- String expectedReplacedSource = "fi";
- int cursorLocation = str.indexOf("fi }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class DB {\n" +
- " public DB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnKeyword:fi>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testDC_1FJJ0JR_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FJJ0JR\n" +
- " */\n" +
- "public class DC\n" +
- " extends ModelChangeOperation {\n" +
- " ISec public SetSecondarySourceOperation(\n" +
- " ISecondarySourceContainer element, \n" +
- " VersionID id) {\n" +
- " }\n" +
- " protected abstract void doExecute(IProgressMonitor monitor)\n" +
- " throws OperationFailedException {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method return type>";
- String completeBehind = "ISec";
- String expectedCompletionNodeToString = "<CompleteOnType:ISec>";
- String completionIdentifier = "ISec";
- String expectedReplacedSource = "ISec";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class DC extends ModelChangeOperation {\n" +
- " <CompleteOnType:ISec>;\n" +
- " public DC() {\n" +
- " }\n" +
- " public SetSecondarySourceOperation(ISecondarySourceContainer element, VersionID id) {\n" +
- " }\n" +
- " protected abstract void doExecute(IProgressMonitor monitor) throws OperationFailedException;\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testE_1FG1YDS_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FG1YDS\n" +
- " */\n" +
- "public class E {\n" +
- " {\n" +
- " new Y()\n" +
- " }\n" +
- " {\n" +
- " new Y().}\n" +
- " class Y\n" +
- " extends java.util.Vector {\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on type into type creation>";
- String completeBehind = "Y";
- String expectedCompletionNodeToString = "<CompleteOnType:Y>";
- String completionIdentifier = "Y";
- String expectedReplacedSource = "Y";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class E {\n" +
- " class Y extends java.util.Vector {\n" +
- " Y() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " {\n" +
- " new <CompleteOnType:Y>();\n" +
- " }\n" +
- " {\n" +
- " }\n" +
- " public E() {\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf("Y()\n") + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testE_1FG1YDS_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FG1YDS\n" +
- " */\n" +
- "public class E {\n" +
- " {\n" +
- " new Y()\n" +
- " }\n" +
- " {\n" +
- " new Y().}\n" +
- " class Y\n" +
- " extends java.util.Vector {\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on implicit method call into intializer>";
- String completeBehind = "new Y().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new Y().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class E {\n" +
- " class Y extends java.util.Vector {\n" +
- " Y() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " {\n" +
- " }\n" +
- " {\n" +
- " <CompleteOnMemberAccess:new Y().>;\n" +
- " }\n" +
- " public E() {\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testE_1FG1YDS_3() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FG1YDS\n" +
- " */\n" +
- "public class E {\n" +
- " {\n" +
- " new Y()\n" +
- " }\n" +
- " {\n" +
- " new Y().}\n" +
- " class Y\n" +
- " extends java.util.Vector {\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on extend type>";
- String completeBehind = "java.util.";
- String expectedCompletionNodeToString = "<CompleteOnClass:java.util.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "java.util.Vector";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class E {\n" +
- " class Y extends <CompleteOnClass:java.util.> {\n" +
- " Y() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " {\n" +
- " }\n" +
- " {\n" +
- " }\n" +
- " public E() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testEA_1() {
- String str =
- "package p; \n" +
- "public class EA {\n" +
- " void foo() {\n" +
- " try {\n" +
- " throw new Error();\n" +
- " } catch (Exception eeee) {\n" +
- " eeee.}\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on catch block exception type declaration>";
- String completeBehind = "E";
- String expectedCompletionNodeToString = "<CompleteOnException:E>";
- String completionIdentifier = "E";
- String expectedReplacedSource = "Exception";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class EA {\n" +
- " public EA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnException:E>;\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf("Exception eeee") + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testEA_2() {
- String str =
- "package p; \n" +
- "public class EA {\n" +
- " void foo() {\n" +
- " try {\n" +
- " throw new Error();\n" +
- " } catch (Exception eeee) {\n" +
- " eeee.}\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of thrown exception into catch block>";
- String completeBehind = "eeee.";
- String expectedCompletionNodeToString = "<CompleteOnName:eeee.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "eeee.";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class EA {\n" +
- " public EA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " Exception eeee;\n" +
- " <CompleteOnName:eeee.>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testEB_1FI74S3() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FI74S3\n" +
- " */\n" +
- "public class EB {\n" +
- " int[] table;\n" +
- " void foo() {\n" +
- " int x = table.}\n" +
- "}\n";
-
- String testName = "<complete on method/field of array>";
- String completeBehind = "table.";
- String expectedCompletionNodeToString = "<CompleteOnName:table.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "table.";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class EB {\n" +
- " int[] table;\n" +
- " public EB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x = <CompleteOnName:table.>;\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testEC_1FSBZ2Y() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FSBZ2Y\n" +
- " */\n" +
- "class EC {\n" +
- " void foo() {\n" +
- " EC\n" +
- " }\n" +
- "}\n" +
- "class ECOtherTopLevel {\n" +
- "}\n";
-
- String testName = "<complete on local variable decaration type>";
- String completeBehind = "EC";
- String expectedCompletionNodeToString = "<CompleteOnName:EC>";
- String completionIdentifier = "EC";
- String expectedReplacedSource = "EC";
- String expectedUnitDisplayString =
- "package p;\n" +
- "class EC {\n" +
- " EC() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:EC>;\n" +
- " }\n" +
- "}\n" +
- "class ECOtherTopLevel {\n" +
- " ECOtherTopLevel() {\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf("EC\n") + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testF() {
- String str =
- "package p; \n" +
- "public class F {\n" +
- " void bar() {\n" +
- " }\n" +
- " class Y {\n" +
- " void foo() {\n" +
- " ba }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field explicit access>";
- String completeBehind = "ba";
- String expectedCompletionNodeToString = "<CompleteOnName:ba>";
- String completionIdentifier = "ba";
- String expectedReplacedSource = "ba";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class F {\n" +
- " class Y {\n" +
- " Y() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:ba>;\n" +
- " }\n" +
- " }\n" +
- " public F() {\n" +
- " }\n" +
- " void bar() {\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf("ba }") + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testFA_1() {
- String str =
- "package p; \n" +
- "public class FA {\n" +
- " byte value;\n" +
- " public float foo() {\n" +
- " return (float) value;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on cast expression type>";
- String completeBehind = "f";
- String expectedCompletionNodeToString = "<CompleteOnName:f>";
- String completionIdentifier = "f";
- String expectedReplacedSource = "float";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class FA {\n" +
- " byte value;\n" +
- " public FA() {\n" +
- " }\n" +
- " public float foo() {\n" +
- " return <CompleteOnName:f>;\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf("float)") + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testFA_2() {
- String str =
- "package p; \n" +
- "public class FA {\n" +
- " byte value;\n" +
- " public float foo() {\n" +
- " return (float) value; \n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on returned value>";
- String completeBehind = "v";
- String expectedCompletionNodeToString = "<CompleteOnName:v>";
- String completionIdentifier = "v";
- String expectedReplacedSource = "value";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class FA {\n" +
- " byte value;\n" +
- " public FA() {\n" +
- " }\n" +
- " public float foo() {\n" +
- " (float) <CompleteOnName:v>;\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf("value; \n") + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testFB_1FI74S3() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FI74S3\n" +
- " */\n" +
- "public class FB {\n" +
- " int[] table;\n" +
- " void foo() {\n" +
- " int x = table[1].}\n" +
- "}\n";
-
- String testName = "<complete on method/field of array element>";
- String completeBehind = "table[1].";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:table[1].>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class FB {\n" +
- " int[] table;\n" +
- " public FB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x = <CompleteOnMemberAccess:table[1].>;\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testFC_1FSBZ9B() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FSBZ9B\n" +
- " */\n" +
- "class FC {\n" +
- " UNKOWNTYPE field;\n" +
- " void foo() {\n" +
- " f\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field implicit access>";
- String completeBehind = "f";
- String expectedCompletionNodeToString = "<CompleteOnName:f>";
- String completionIdentifier = "f";
- String expectedReplacedSource = "f";
- int cursorLocation = str.indexOf("f\n") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class FC {\n" +
- " UNKOWNTYPE field;\n" +
- " FC() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:f>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testG() {
- String str =
- "package p; \n" +
- "public class G {\n" +
- " int bar() {\n" +
- " }\n" +
- " class Y {\n" +
- " void foo(int b) {\n" +
- " return b }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on return value>";
- String completeBehind = "b";
- String expectedCompletionNodeToString = "<CompleteOnName:b>";
- String completionIdentifier = "b";
- String expectedReplacedSource = "b";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class G {\n" +
- " class Y {\n" +
- " Y() {\n" +
- " }\n" +
- " void foo(int b) {\n" +
- " return <CompleteOnName:b>;\n" +
- " }\n" +
- " }\n" +
- " public G() {\n" +
- " }\n" +
- " int bar() {\n" +
- " }\n" +
- "}\n";
-
- int cursorLocation = str.indexOf("b }") + completeBehind.length() - 1;
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testGA() {
- String str =
- "package p; \n" +
- "public class GA {\n" +
- " void foo(String s) {\n" +
- " String string = s;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on local variable initializer>";
- String completeBehind = "s";
- String expectedCompletionNodeToString = "<CompleteOnName:s>";
- String completionIdentifier = "s";
- String expectedReplacedSource = "s";
- int cursorLocation = str.indexOf("s;") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class GA {\n" +
- " public GA() {\n" +
- " }\n" +
- " void foo(String s) {\n" +
- " String string = <CompleteOnName:s>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testGB_1FI74S3() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FI74S3\n" +
- " */\n" +
- "public class GB {\n" +
- " String[] table;\n" +
- " void foo() {\n" +
- " int x = table[1].}\n" +
- "}\n";
-
- String testName = "<complete on method/field of array element>";
- String completeBehind = "table[1].";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:table[1].>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class GB {\n" +
- " String[] table;\n" +
- " public GB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x = <CompleteOnMemberAccess:table[1].>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testGC_1FSHLHV_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FSHLHV\n" +
- " */\n" +
- "public class GC {\n" +
- "public static void main(String[] args) {\n" +
- " Object l = new Object() {\n" +
- " public void handleEvent(String[] event) {\n" +
- " String s = new String();\n" +
- " s.\n" +
- " try {\n" +
- " event.;\n" +
- " }\n" +
- " catch (Exception e) {\n" +
- " e.\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n" +
- "}\n";
-
- String testName = "<complete on anonymous declaration type>";
- String completeBehind = "O";
- String expectedCompletionNodeToString = "<CompleteOnType:O>";
- String completionIdentifier = "O";
- String expectedReplacedSource = "Object";
- int cursorLocation = str.indexOf("Object()") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class GC {\n" +
- " public GC() {\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " Object l = new <CompleteOnType:O>();\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testGC_1FSHLHV_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FSHLHV\n" +
- " */\n" +
- "public class GC {\n" +
- "public static void main(String[] args) {\n" +
- " Object l = new Object() {\n" +
- " public void handleEvent(String[] event) {\n" +
- " String s = new String();\n" +
- " s.\n" +
- " try {\n" +
- " event.;\n" +
- " }\n" +
- " catch (Exception e) {\n" +
- " e.\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n" +
- "}\n";
-
- String testName = "<complete on method/field of local variable into anonymous declaration>";
- String completeBehind = "s.";
- String expectedCompletionNodeToString = "<CompleteOnName:s.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "s.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class GC {\n" +
- " public GC() {\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " Object l;\n" +
- " new Object() {\n" +
- " () {\n" +
- " }\n" +
- " public void handleEvent(String[] event) {\n" +
- " String s;\n" +
- " <CompleteOnName:s.>;\n" +
- " }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testGC_1FSHLHV_3() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FSHLHV\n" +
- " */\n" +
- "public class GC {\n" +
- "public static void main(String[] args) {\n" +
- " Object l = new Object() {\n" +
- " public void handleEvent(String[] event) {\n" +
- " String s = new String();\n" +
- " s.\n" +
- " try {\n" +
- " event.;\n" +
- " }\n" +
- " catch (Exception e) {\n" +
- " e.\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n" +
- "}\n";
-
- String testName = "<complete on method/field of array>";
- String completeBehind = "event.";
- String expectedCompletionNodeToString = "<CompleteOnName:event.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "event.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class GC {\n" +
- " public GC() {\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " Object l;\n" +
- " new Object() {\n" +
- " () {\n" +
- " }\n" +
- " public void handleEvent(String[] event) {\n" +
- " String s;\n" +
- " {\n" +
- " <CompleteOnName:event.>;\n" +
- " }\n" +
- " }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testGC_1FSHLHV_4() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FSHLHV\n" +
- " */\n" +
- "public class GC {\n" +
- "public static void main(String[] args) {\n" +
- " Object l = new Object() {\n" +
- " public void handleEvent(String[] event) {\n" +
- " String s = new String();\n" +
- " s.\n" +
- " try {\n" +
- " event.;\n" +
- " }\n" +
- " catch (Exception e) {\n" +
- " e.\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n" +
- "}\n";
-
- String testName = "<complete on method/field of thrown exception into catch block into anonymous declaration>";
- String completeBehind = "e.";
- String expectedCompletionNodeToString = "<CompleteOnName:e.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "e.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class GC {\n" +
- " public GC() {\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " Object l;\n" +
- " new Object() {\n" +
- " () {\n" +
- " }\n" +
- " public void handleEvent(String[] event) {\n" +
- " String s;\n" +
- " {\n" +
- " Exception e;\n" +
- " <CompleteOnName:e.>;\n" +
- " }\n" +
- " }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-public void testH0() {
- String str =
- " function foo() {\n" +
- " whil \n" +
- "\n";
-
- String testName = "<complete on while keyword argument>";
- String completeBehind = "whil";
- String expectedCompletionNodeToString = "<CompleteOnName:whil>";
- String completionIdentifier = "whil";
- String expectedReplacedSource = "whil";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "function foo() {\n" +
- " <CompleteOnName:whil>;\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-
-
-public void testH() {
- String str =
- " function foo(bbbb) {\n" +
- " while (Xbm }\n" +
- " function bar() {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on while keyword argument>";
- String completeBehind = "Xbm";
- String expectedCompletionNodeToString = "<CompleteOnName:Xbm>";
- String completionIdentifier = "Xbm";
- String expectedReplacedSource = "Xbm";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class H {\n" +
- " public H() {\n" +
- " }\n" +
- " function foo( bbbb) {\n" +
- " <CompleteOnName:Xbm>;\n" +
- " }\n" +
- " function bar() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testHA_1() {
- String str =
- "package p; \n" +
- "public class HA {\n" +
- " void foo() {\n" +
- " x.y.Z[] field1; \n" +
- " field1[1].}\n" +
- "}\n";
-
- String testName = "<complete on package member type>";
- String completeBehind = "x.y.";
- String expectedCompletionNodeToString = "<CompleteOnName:x.y.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "x.y.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class HA {\n" +
- " public HA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:x.y.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testHA_2() {
- String str =
- "package p; \n" +
- "public class HA {\n" +
- " void foo() {\n" +
- " x.y.Z[] field1; \n" +
- " field1[1].}\n" +
- "}\n";
-
- String testName = "<complete on method/field of array element>";
- String completeBehind = "field1[1].";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:field1[1].>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class HA {\n" +
- " public HA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " x.y.Z[] field1;\n" +
- " <CompleteOnMemberAccess:field1[1].>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testHB_1FHSLDR() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHSLDR\n" +
- " */\n" +
- "public class HB {\n" +
- " void foo() {\n" +
- " for (; i < totalUnits; i++) {\n" +
- " unit = unitsToProcess[i];\n" +
- " try {\n" +
- " if (options.verbose) {\n" +
- " System.out.println(\n" +
- " \"process \"\n" +
- " + (i + 1)\n" +
- " + \"/\"\n" +
- " + totalUnits\n" +
- " + \" : \"\n" +
- " + unitsToProcess[i]\n" +
- " .sourceFileName()); \n" +
- " }\n" +
- " process(unit, i);\n" +
- " }\n" +
- " fi }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on finally keyword>";
- String completeBehind = "fi";
- String expectedCompletionNodeToString = "<CompleteOnKeyword:fi>";
- String completionIdentifier = "fi";
- String expectedReplacedSource = "fi";
- int cursorLocation = str.indexOf("fi }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class HB {\n" +
- " public HB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " <CompleteOnKeyword:fi>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testHC_1FMPYO3_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FMPYO3\n" +
- " */\n" +
- "class HC {\n" +
- " HC(Object o){}\n" +
- " void foo(){\n" +
- " HC a = new HC(new Object()).\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of object creation>";
- String completeBehind = "new HC(new Object()).";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new HC(new Object()).>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class HC {\n" +
- " HC(Object o) {\n" +
- " }\n" +
- " void foo() {\n" +
- " HC a = <CompleteOnMemberAccess:new HC(new Object()).>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testHC_1FMPYO3_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FMPYO3\n" +
- " */\n" +
- "class HC {\n" +
- " HC(Object o){}\n" +
- " void foo(){\n" +
- " A a = new A(new Object()).\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on object of nested object creation declaration>";
- String completeBehind = "O";
- String expectedCompletionNodeToString = "<CompleteOnType:O>";
- String completionIdentifier = "O";
- String expectedReplacedSource = "Object";
- int cursorLocation = str.indexOf("Object()") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class HC {\n" +
- " HC(Object o) {\n" +
- " }\n" +
- " void foo() {\n" +
- " A a = new A(new <CompleteOnType:O>());\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testI() {
- String str =
- "package p; \n" +
- "public class I {\n" +
- " Component }\n";
-
- String testName = "<complete on incomplete field declaration type>";
- String completeBehind = "C";
- String expectedCompletionNodeToString = "<CompleteOnType:C>";
- String completionIdentifier = "C";
- String expectedReplacedSource = "Component";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class I {\n" +
- " <CompleteOnType:C>;\n" +
- " public I() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testIA_1FGNBPR_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGNBPR\n" +
- " */\n" +
- "public class IA {\n" +
- " void foo1() {\n" +
- " label1 : while (true) {\n" +
- " class A {\n" +
- " void foo2() {\n" +
- " label2 : while (true) {\n" +
- " break la }\n" +
- " }\n" +
- " }\n" +
- " A a = new A();\n" +
- " break la }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on label name>";
- String completeBehind = "la";
- String expectedCompletionNodeToString = "break <CompleteOnLabel:la>;";
- String completionIdentifier = "la";
- String expectedReplacedSource = "la";
- int cursorLocation = str.indexOf("la }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class IA {\n" +
- " public IA() {\n" +
- " }\n" +
- " void foo1() {\n" +
- " {\n" +
- " class A {\n" +
- " A() {\n" +
- " }\n" +
- " void foo2() {\n" +
- " break <CompleteOnLabel:la>;\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testIA_1FGNBPR_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGNBPR\n" +
- " */\n" +
- "public class IA {\n" +
- " void foo1() {\n" +
- " label1 : while (true) {\n" +
- " class A {\n" +
- " void foo2() {\n" +
- " label2 : while (true) {\n" +
- " break la }\n" +
- " }\n" +
- " }\n" +
- " A a = new A();\n" +
- " break la }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on label name>";
- String completeBehind = "la";
- String expectedCompletionNodeToString = "break <CompleteOnLabel:la>;";
- String completionIdentifier = "la";
- String expectedReplacedSource = "la";
- int cursorLocation = str.indexOf("la }", str.indexOf("la }") + 1) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class IA {\n" +
- " public IA() {\n" +
- " }\n" +
- " void foo1() {\n" +
- " {\n" +
- " class A {\n" +
- " A() {\n" +
- " super();\n" + // could be optimized out ?
- " }\n" +
- " void foo2() {\n" +
- " }\n" +
- " }\n" +
- " A a;\n" +
- " break <CompleteOnLabel:la>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testIB() {
- String str =
- "package p; \n" +
- "public class IB {\n" +
- " UnknownFieldTYPE field;\n" +
- " void foo() {\n" +
- " field.}\n" +
- "}\n";
-
- String testName = "<complete on method/field of field of unkown type>";
- String completeBehind = "field.";
- String expectedCompletionNodeToString = "<CompleteOnName:field.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "field.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class IB {\n" +
- " UnknownFieldTYPE field;\n" +
- " public IB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:field.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testIC_1FMGUPR() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FMGUPR\n" +
- " */\n" +
- "public class IC {\n" +
- " void foo(){\n" +
- " new String().toString().\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on multiple method/field call>";
- String completeBehind = "new String().toString().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new String().toString().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class IC {\n" +
- " public IC() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnMemberAccess:new String().toString().>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testJ() {
- String str =
- "package p; \n" +
- "public class J {\n" +
- " int foo1()[void foo2() int i;\n" +
- " void foo3() {\n" +
- " f }\n";
-
- String testName = "<complete on method/field access into corrupted method declaration>";
- String completeBehind = "f";
- String expectedCompletionNodeToString = "<CompleteOnName:f>";
- String completionIdentifier = "f";
- String expectedReplacedSource = "f";
- int cursorLocation = str.indexOf("f }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class J {\n" +
- " public J() {\n" +
- " }\n" +
- " int foo1() {\n" +
- " }\n" +
- " void foo2() {\n" +
- " }\n" +
- " void foo3() {\n" +
- " <CompleteOnName:f>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testJA_1FGQVW2_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGQVW2\n" +
- " */\n" +
- "public class JA {\n" +
- " void foo() {\n" +
- " \"abc.txt\". 'a'.}\n" +
- "}\n";
-
- String testName = "<complete on string literal>";
- String completeBehind = "\"abc.txt\".";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:\"abc.txt\".>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class JA {\n" +
- " public JA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnMemberAccess:\"abc.txt\".>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testJA_1FGQVW2_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGQVW2\n" +
- " */\n" +
- "public class JA {\n" +
- " void foo() {\n" +
- " \"abc.txt\". 'a'.}\n" +
- "}\n";
-
- String testName = "<complete on char literal>";
- String completeBehind = "'a'.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:'a'.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class JA {\n" +
- " public JA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnMemberAccess:'a'.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testJB() {
- String str =
- "package p; \n" +
- "public class JB\n" +
- " extends UnknownSUPERCLASS\n" +
- " implements UnknownSUPERINTERFACE {\n" +
- " void foo() {\n" +
- " f }\n" +
- "}\n";
-
- String testName = "<complete into method declared into corrupted class declaration>";
- String completeBehind = "f";
- String expectedCompletionNodeToString = "<CompleteOnName:f>";
- String completionIdentifier = "f";
- String expectedReplacedSource = "f";
- int cursorLocation = str.indexOf("f }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class JB extends UnknownSUPERCLASS implements UnknownSUPERINTERFACE {\n" +
- " public JB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:f>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testJC_1FLG1ZC() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FLG1ZC\n" +
- " */\n" +
- "public class JC {\n" +
- " void foo() {\n" +
- " new String ().\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of object creation with dummy spaces>";
- String completeBehind = "new String ().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new String().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class JC {\n" +
- " public JC() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnMemberAccess:new String().>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testK_1() {
- String str =
- "package p; \n" +
- "class Other {\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n" +
- "public class K {\n" +
- " public static void main(\n" +
- " java.lang.String[] args) {\n" +
- " java.io.File bbbb = \n" +
- " new File(\"c:\\abc.txt\"); \n" +
- " O bb bbbb.}\n" +
- "}\n";
-
-// str =
-// "public class K {\n" +
-// " void foo() {\n" +
-// " new X(\"c:abc.txt\"); \n" +
-// " O" +
-// " }\n" +
-// "}\n";
-
- String testName = "<complete on corrupted local variable declaration>";
- String completeBehind = " O";
- String expectedCompletionNodeToString = "<CompleteOnName:O>";
- String completionIdentifier = "O";
- String expectedReplacedSource = "O";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class Other {\n" +
- " Other() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n" +
- "public class K {\n" +
- " public K() {\n" +
- " }\n" +
- " public static void main(java.lang.String[] args) {\n" +
- " java.io.File bbbb;\n" +
- " <CompleteOnName:O>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testK_2() {
- String str =
- "package p; \n" +
- "class Other {\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n" +
- "public class K {\n" +
- " public static void main(\n" +
- " java.lang.String[] args) {\n" +
- " java.io.File bbbb = \n" +
- " new File(\"c:\\abc.txt\"); \n" +
- " O bb bbbb.}\n" +
- "}\n";
-
- String testName = "<complete on corrupted local variable declaration name>";
- String completeBehind = "bb";
- String expectedCompletionNodeToString = "<CompleteOnLocalName:O bb>;";
- String completionIdentifier = "bb";
- String expectedReplacedSource = "bb";
- int cursorLocation = str.indexOf("bb bbbb.") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class Other {\n" +
- " Other() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n" +
- "public class K {\n" +
- " public K() {\n" +
- " }\n" +
- " public static void main(java.lang.String[] args) {\n" +
- " java.io.File bbbb;\n" +
- " <CompleteOnLocalName:O bb>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testK_3() {
- String str =
- "package p; \n" +
- "class Other {\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n" +
- "public class K {\n" +
- " public static void main(\n" +
- " java.lang.String[] args) {\n" +
- " java.io.File bbbb = \n" +
- " new File(\"c:\\abc.txt\"); \n" +
- " O bb bbbb.}\n" +
- "}\n";
-
- String testName = "<complete on corrupted local variable declaration>";
- String completeBehind = "bbbb";
- String expectedCompletionNodeToString = "<CompleteOnName:bbbb>";
- String completionIdentifier = "bbbb";
- String expectedReplacedSource = "bbbb";
- int cursorLocation = str.indexOf("bbbb.}") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class Other {\n" +
- " Other() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n" +
- "public class K {\n" +
- " public K() {\n" +
- " }\n" +
- " public static void main(java.lang.String[] args) {\n" +
- " java.io.File bbbb;\n" +
- " O bb;\n" +
- " <CompleteOnName:bbbb>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testK_4() {
- String str =
- "package p; \n" +
- "class Other {\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n" +
- "public class K {\n" +
- " public static void main(\n" +
- " java.lang.String[] args) {\n" +
- " java.io.File bbbb = \n" +
- " new File(\"c:\\abc.txt\"); \n" +
- " O bb bbbb.}\n" +
- "}\n";
-
- String testName = "<complete on method/field of local variable with corrupted declaration>";
- String completeBehind = "bbbb.";
- String expectedCompletionNodeToString = "<CompleteOnName:bbbb.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "bbbb.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class Other {\n" +
- " Other() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n" +
- "public class K {\n" +
- " public K() {\n" +
- " }\n" +
- " public static void main(java.lang.String[] args) {\n" +
- " java.io.File bbbb;\n" +
- " O bb;\n" +
- " <CompleteOnName:bbbb.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testKA_1FH5SU5() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FH5SU5\n" +
- " */\n" +
- "class KAHelper\n" +
- " extends java.util.Vector {\n" +
- "}\n" +
- "public class KA {\n" +
- " public int hashCode() {\n" +
- " return 10;\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " KA a = new KA;\n" +
- " a.has }\n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "a.has";
- String expectedCompletionNodeToString = "<CompleteOnName:a.has>";
- String completionIdentifier = "has";
- String expectedReplacedSource = "a.has";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class KAHelper extends java.util.Vector {\n" +
- " KAHelper() {\n" +
- " }\n" +
- "}\n" +
- "public class KA {\n" +
- " public KA() {\n" +
- " }\n" +
- " public int hashCode() {\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " KA a;\n" +
- " <CompleteOnName:a.has>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testKB() {
- String str =
- "package p; \n" +
- "public class KB {\n" +
- " void foo()[i }\n" +
- "}\n";
-
- String testName = "<complete on corrupted method header>";
- String completeBehind = "void foo()[i";
- String expectedCompletionNodeToString = NONE;
- String completionIdentifier = "i";
- String expectedReplacedSource = "i";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class KB {\n" +
- " public KB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testKC_1FLG1ZC() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FLG1ZC\n" +
- " */\n" +
- "import java.io.*;\n" +
- "public class KC {\n" +
- "private static char[] read(String fileName){\n" +
- " try {\n" +
- " File file = new File(fileName);\n" +
- " FileReader reader =\n" +
- " new FileReader(file);\n" +
- " int length;\n" +
- " char[] contents =\n" +
- " new char[\n" +
- " length =\n" +
- " (int) file.length()];\n" +
- " int len = 0;\n" +
- " int readSize = 0;\n" +
- " while ((readSize != -1)\n" +
- " && (len != length)) {\n" +
- " readSize = reader.read(\n" +
- " contents,\n" +
- " len,\n" +
- " length - len);\n" +
- " len += readSize;\n" +
- " }\n" +
- " reader. t\n";
-
- String testName = "<complete on method/field with dummy spaces>";
- String completeBehind = "reader. t";
- String expectedCompletionNodeToString = "<CompleteOnName:reader.t>";
- String completionIdentifier = "t";
- String expectedReplacedSource = "reader. t";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import java.io.*;\n" +
- "public class KC {\n" +
- " public KC() {\n" +
- " }\n" +
- " private static char[] read(String fileName) {\n" +
- " {\n" +
- " File file;\n" +
- " FileReader reader;\n" +
- " int length;\n" +
- " char[] contents;\n" +
- " int len;\n" +
- " int readSize;\n" +
- " <CompleteOnName:reader.t>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testL_1() {
- String str =
- "package p; \n" +
- "public class L {\n" +
- " void foo() {\n" +
- " x.y.Z[] field1, \n" +
- " field2; \n" +
- " field1.if (int[].class }\n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "field1.";
- String expectedCompletionNodeToString = "<CompleteOnName:field1.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "field1.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class L {\n" +
- " public L() {\n" +
- " }\n" +
- " void foo() {\n" +
- " x.y.Z[] field1;\n" +
- " x.y.Z[] field2;\n" +
- " <CompleteOnName:field1.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testL_2() {
- String str =
- "package p; \n" +
- "public class L {\n" +
- " void foo() {\n" +
- " x.y.Z[] field1, \n" +
- " field2; \n" +
- " field1.if (int[].class }\n" +
- "}\n";
-
- String testName = "<complete on method/field of array>";
- String completeBehind = "int[].";
- String expectedCompletionNodeToString = "<CompleteOnClassLiteralAccess:int[].>";
- String completionIdentifier = "";
- String expectedReplacedSource = "int[].";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class L {\n" +
- " public L() {\n" +
- " }\n" +
- " void foo() {\n" +
- " x.y.Z[] field1;\n" +
- " x.y.Z[] field2;\n" +
- " <CompleteOnClassLiteralAccess:int[].>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testL_3() {
- String str =
- "package p; \n" +
- "public class L {\n" +
- " void foo() {\n" +
- " x.y.Z[] field1, \n" +
- " field2; \n" +
- " field1.if (int[].class }\n" +
- "}\n";
-
- String testName = "<complete on argument of corrupted if statement>";
- String completeBehind = "int";
- String expectedCompletionNodeToString = "<CompleteOnName:int>";
- String completionIdentifier = "int";
- String expectedReplacedSource = "int";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class L {\n" +
- " public L() {\n" +
- " }\n" +
- " void foo() {\n" +
- " x.y.Z[] field1;\n" +
- " x.y.Z[] field2;\n" +
- " <CompleteOnName:int>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testLA_1FGLMOF() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGLMOF\n" +
- " */\n" +
- "public class LA {\n" +
- " void[] foo() {\n" +
- " }\n" +
- " void bar() {\n" +
- " f }\n" +
- "}\n";
-
- String testName = "<complete on method/field with corrupted method header>";
- String completeBehind = "f";
- String expectedCompletionNodeToString = "<CompleteOnName:f>";
- String completionIdentifier = "f";
- String expectedReplacedSource = "f";
- int cursorLocation = str.indexOf("f }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class LA {\n" +
- " public LA() {\n" +
- " }\n" +
- " void[] foo() {\n" +
- " }\n" +
- " void bar() {\n" +
- " <CompleteOnName:f>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testLB() {
- String str =
- "package p; \n" +
- "public class LB {\n" +
- " void foo() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " void bar() {\n" +
- " i }\n" +
- "}\n";
-
- String testName = "<complete on method/field with duplicate method declaration>";
- String completeBehind = "i";
- String expectedCompletionNodeToString = "<CompleteOnName:i>";
- String completionIdentifier = "i";
- String expectedReplacedSource = "i";
- int cursorLocation = str.indexOf("i }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class LB {\n" +
- " public LB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " void bar() {\n" +
- " <CompleteOnName:i>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testLC_1FLG1E2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FLG1E2\n" +
- " */\n" +
- "public class LC {\n" +
- " void foo() {\n" +
- " Object[] x = new Object[10];\n" +
- " x [1].\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of array element with dummy spaces>";
- String completeBehind = "x [1].";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:x[1].>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class LC {\n" +
- " public LC() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] x;\n" +
- " <CompleteOnMemberAccess:x[1].>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testM_1FGGLMT() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGGLMT\n" +
- " */\n" +
- "public class M {\n" +
- " class Member {\n" +
- " void fooMember() {\n" +
- " }\n" +
- " }\n" +
- " void foo() {\n" +
- " new Member().}\n" +
- "}\n" +
- "class MemberOfCU {\n" +
- "}\n";
-
- String testName = "<complete on method/field of explicit object creation>";
- String completeBehind = "new Member().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new Member().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class M {\n" +
- " class Member {\n" +
- " Member() {\n" +
- " }\n" +
- " void fooMember() {\n" +
- " }\n" +
- " }\n" +
- " public M() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnMemberAccess:new Member().>;\n" +
- " }\n" +
- "}\n" +
- "class MemberOfCU {\n" +
- " MemberOfCU() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testMA_1() {
- String str =
- "package p; \n" +
- "public class MA {\n" +
- " class Member\n" +
- " extends java.util.Vector {\n" +
- " static void fooStaticMember() {\n" +
- " }\n" +
- " void fooMember() {\n" +
- " }\n" +
- " class MemberMember {\n" +
- " void fooMemberMember() {\n" +
- " MemberOfCUMA m = \n" +
- " new MemberOfCUMA(); \n" +
- " }\n" +
- " }\n" +
- " class MemberMember2 {\n" +
- " }\n" +
- " }\n" +
- " void foo() {\n" +
- " Membe }\n" +
- " void foobar() {\n" +
- " new Member().}\n" +
- " class Member2 {\n" +
- " }\n" +
- "}\n" +
- "class MemberOfCUMA {\n" +
- "}\n";
-
- String testName = "<complete on local variable declaration type>";
- String completeBehind = "Membe";
- String expectedCompletionNodeToString = "<CompleteOnName:Membe>";
- String completionIdentifier = "Membe";
- String expectedReplacedSource = "Membe";
- int cursorLocation = str.indexOf("Membe }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class MA {\n" +
- " class Member extends java.util.Vector {\n" +
- " class MemberMember {\n" +
- " MemberMember() {\n" +
- " }\n" +
- " void fooMemberMember() {\n" +
- " }\n" +
- " }\n" +
- " class MemberMember2 {\n" +
- " MemberMember2() {\n" +
- " }\n" +
- " }\n" +
- " Member() {\n" +
- " }\n" +
- " static void fooStaticMember() {\n" +
- " }\n" +
- " void fooMember() {\n" +
- " }\n" +
- " }\n" +
- " class Member2 {\n" +
- " Member2() {\n" +
- " }\n" +
- " }\n" +
- " public MA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:Membe>;\n" +
- " }\n" +
- " void foobar() {\n" +
- " }\n" +
- "}\n" +
- "class MemberOfCUMA {\n" +
- " MemberOfCUMA() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testMA_2() {
- String str =
- "package p; \n" +
- "public class MA {\n" +
- " class Member\n" +
- " extends java.util.Vector {\n" +
- " static void fooStaticMember() {\n" +
- " }\n" +
- " void fooMember() {\n" +
- " }\n" +
- " class MemberMember {\n" +
- " void fooMemberMember() {\n" +
- " MemberOfCUMA m = \n" +
- " new MemberOfCUMA(); \n" +
- " }\n" +
- " }\n" +
- " class MemberMember2 {\n" +
- " }\n" +
- " }\n" +
- " void foo() {\n" +
- " Membe }\n" +
- " void foobar() {\n" +
- " new Member().}\n" +
- " class Member2 {\n" +
- " }\n" +
- "}\n" +
- "class MemberOfCUMA {\n" +
- "}\n";
-
- String testName = "<complete on object creation type>";
- String completeBehind = "MemberOfCU";
- String expectedCompletionNodeToString = "<CompleteOnType:MemberOfCU>";
- String completionIdentifier = "MemberOfCU";
- String expectedReplacedSource = "MemberOfCUMA";
- int cursorLocation = str.indexOf("MemberOfCUMA();") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class MA {\n" +
- " class Member extends java.util.Vector {\n" +
- " class MemberMember {\n" +
- " MemberMember() {\n" +
- " }\n" +
- " void fooMemberMember() {\n" +
- " MemberOfCUMA m = new <CompleteOnType:MemberOfCU>();\n" +
- " }\n" +
- " }\n" +
- " class MemberMember2 {\n" +
- " MemberMember2() {\n" +
- " }\n" +
- " }\n" +
- " Member() {\n" +
- " }\n" +
- " static void fooStaticMember() {\n" +
- " }\n" +
- " void fooMember() {\n" +
- " }\n" +
- " }\n" +
- " class Member2 {\n" +
- " Member2() {\n" +
- " }\n" +
- " }\n" +
- " public MA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " void foobar() {\n" +
- " }\n" +
- "}\n" +
- "class MemberOfCUMA {\n" +
- " MemberOfCUMA() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testMA_3() {
- String str =
- "package p; \n" +
- "public class MA {\n" +
- " class Member\n" +
- " extends java.util.Vector {\n" +
- " static void fooStaticMember() {\n" +
- " }\n" +
- " void fooMember() {\n" +
- " }\n" +
- " class MemberMember {\n" +
- " void fooMemberMember() {\n" +
- " MemberOfCUMA m = \n" +
- " new MemberOfCUMA(); \n" +
- " }\n" +
- " }\n" +
- " class MemberMember2 {\n" +
- " }\n" +
- " }\n" +
- " void foo() {\n" +
- " Membe }\n" +
- " void foobar() {\n" +
- " new Member().}\n" +
- " class Member2 {\n" +
- " }\n" +
- "}\n" +
- "class MemberOfCUMA {\n" +
- "}\n";
-
- String testName = "<complete on method/field of object creation>";
- String completeBehind = "new Member().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new Member().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class MA {\n" +
- " class Member extends java.util.Vector {\n" +
- " class MemberMember {\n" +
- " MemberMember() {\n" +
- " }\n" +
- " void fooMemberMember() {\n" +
- " }\n" +
- " }\n" +
- " class MemberMember2 {\n" +
- " MemberMember2() {\n" +
- " }\n" +
- " }\n" +
- " Member() {\n" +
- " }\n" +
- " static void fooStaticMember() {\n" +
- " }\n" +
- " void fooMember() {\n" +
- " }\n" +
- " }\n" +
- " class Member2 {\n" +
- " Member2() {\n" +
- " }\n" +
- " }\n" +
- " public MA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " void foobar() {\n" +
- " <CompleteOnMemberAccess:new Member().>;\n" +
- " }\n" +
- "}\n" +
- "class MemberOfCUMA {\n" +
- " MemberOfCUMA() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testMB_1FHSLMQ_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHSLMQ\n" +
- " */\n" +
- "public class MB {\n" +
- " void foo() {\n" +
- " try {\n" +
- " System.out.println(\"\");\n" +
- " } catch (Exception eFirst) {\n" +
- " e } catch (Exception eSecond) {\n" +
- " e }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on local variable name into catch block>";
- String completeBehind = "e";
- String expectedCompletionNodeToString = "<CompleteOnName:e>";
- String completionIdentifier = "e";
- String expectedReplacedSource = "e";
- int cursorLocation = str.indexOf("e }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class MB {\n" +
- " public MB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " Exception eFirst;\n" +
- " <CompleteOnName:e>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testMB_1FHSLMQ_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHSLMQ\n" +
- " */\n" +
- "public class MB {\n" +
- " void foo() {\n" +
- " try {\n" +
- " System.out.println(\"\");\n" +
- " } catch (Exeption eFirst) {\n" +
- " e } catch (Exception eSecond) {\n" +
- " e }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on local variable name into catch block>";
- String completeBehind = "e";
- String expectedCompletionNodeToString = "<CompleteOnName:e>";
- String completionIdentifier = "e";
- String expectedReplacedSource = "e";
- int cursorLocation = str.indexOf("e }\n") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class MB {\n" +
- " public MB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " Exception eSecond;\n" +
- " <CompleteOnName:e>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testMC_1FJ8D9Z() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FJ8D9Z\n" +
- " */\n" +
- "public class MC {\n" +
- " p2.X someField;\n" +
- " public void foo() {\n" +
- " new p2.X(\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on object creation argument>";
- String completeBehind = "new p2.X(";
- String expectedCompletionNodeToString = "<CompleteOnAllocationExpression:new p2.X()>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class MC {\n" +
- " p2.X someField;\n" +
- " public MC() {\n" +
- " }\n" +
- " public void foo() {\n" +
- " <CompleteOnAllocationExpression:new p2.X()>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testN() {
- String str =
- "package p; \n" +
- "public class N extends p.M {\n" +
- " void foo() {\n" +
- " class MLocal\n" +
- " extends Schmurz {\n" +
- " void foo() {\n" +
- " }\n" +
- " int field1;\n" +
- " class MLocalMember\n" +
- " extends myInnerC {\n" +
- " void foo() {\n" +
- " }\n" +
- " void bar() {\n" +
- " new M }\n" +
- " }\n" +
- " class MLocalMember2 {\n" +
- " void fooMyInnerC() {\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on object creation type>";
- String completeBehind = "new M";
- String expectedCompletionNodeToString = "<CompleteOnType:M>";
- String completionIdentifier = "M";
- String expectedReplacedSource = "M";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class N extends p.M {\n" +
- " public N() {\n" +
- " }\n" +
- " void foo() {\n" +
- " class MLocal extends Schmurz {\n" +
- " class MLocalMember extends myInnerC {\n" +
- " MLocalMember() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " void bar() {\n" +
- " new <CompleteOnType:M>();\n" +
- " }\n" +
- " }\n" +
- " class MLocalMember2 {\n" +
- " MLocalMember2() {\n" +
- " }\n" +
- " void fooMyInnerC() {\n" +
- " }\n" +
- " }\n" +
- " int field1;\n" +
- " MLocal() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testNA_1() {
- String str =
- "package p; \n" +
- "class NException2\n" +
- " extends NoClassDefFoundError {\n" +
- "}\n" +
- "interface NInterface {\n" +
- " void foo();\n" +
- "}\n" +
- "class DAB {\n" +
- " public DA foo() {\n" +
- " }\n" +
- " public int foufou;\n" +
- "}\n" +
- "class DANA {\n" +
- " public int f;\n" +
- " N fieldC;\n" +
- "}\n" +
- "public class NA\n" +
- " extends NException2\n" +
- " implements N {\n" +
- " DA fieldB;\n" +
- " class freak {\n" +
- " }\n" +
- " void dede() {\n" +
- " DA local;\n" +
- " local.fieldC.foo();\n" +
- " }\n" +
- "}\n" +
- "interface NCool {\n" +
- "}\n";
-
- String testName = "<complete on local variable name>";
- String completeBehind = "l";
- String expectedCompletionNodeToString = "<CompleteOnName:l>";
- String completionIdentifier = "l";
- String expectedReplacedSource = "local";
- int cursorLocation = str.indexOf("local.") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class NException2 extends NoClassDefFoundError {\n" +
- " NException2() {\n" +
- " }\n" +
- "}\n" +
- "interface NInterface {\n" +
- " void foo();\n" +
- "}\n" +
- "class DAB {\n" +
- " public int foufou;\n" +
- " DAB() {\n" +
- " }\n" +
- " public DA foo() {\n" +
- " }\n" +
- "}\n" +
- "class DANA {\n" +
- " public int f;\n" +
- " N fieldC;\n" +
- " DANA() {\n" +
- " }\n" +
- "}\n" +
- "public class NA extends NException2 implements N {\n" +
- " class freak {\n" +
- " freak() {\n" +
- " }\n" +
- " }\n" +
- " DA fieldB;\n" +
- " public NA() {\n" +
- " }\n" +
- " void dede() {\n" +
- " DA local;\n" +
- " <CompleteOnName:l>;\n" +
- " }\n" +
- "}\n" +
- "interface NCool {\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testNA_2() {
- String str =
- "package p; \n" +
- "class NException2\n" +
- " extends NoClassDefFoundError {\n" +
- "}\n" +
- "interface NInterface {\n" +
- " void foo();\n" +
- "}\n" +
- "class DAB {\n" +
- " public DA foo() {\n" +
- " }\n" +
- " public int foufou;\n" +
- "}\n" +
- "class DANA {\n" +
- " public int f;\n" +
- " N fieldC;\n" +
- "}\n" +
- "public class NA\n" +
- " extends NException2\n" +
- " implements N {\n" +
- " DA fieldB;\n" +
- " class freak {\n" +
- " }\n" +
- " void dede() {\n" +
- " DA local;\n" +
- " local.fieldC.foo();\n" +
- " }\n" +
- "}\n" +
- "interface NCool {\n" +
- "}\n";
-
- String testName = "<complete on method/field of local variable>";
- String completeBehind = "local.f";
- String expectedCompletionNodeToString = "<CompleteOnName:local.f>";
- String completionIdentifier = "f";
- String expectedReplacedSource = "local.fieldC";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class NException2 extends NoClassDefFoundError {\n" +
- " NException2() {\n" +
- " }\n" +
- "}\n" +
- "interface NInterface {\n" +
- " void foo();\n" +
- "}\n" +
- "class DAB {\n" +
- " public int foufou;\n" +
- " DAB() {\n" +
- " }\n" +
- " public DA foo() {\n" +
- " }\n" +
- "}\n" +
- "class DANA {\n" +
- " public int f;\n" +
- " N fieldC;\n" +
- " DANA() {\n" +
- " }\n" +
- "}\n" +
- "public class NA extends NException2 implements N {\n" +
- " class freak {\n" +
- " freak() {\n" +
- " }\n" +
- " }\n" +
- " DA fieldB;\n" +
- " public NA() {\n" +
- " }\n" +
- " void dede() {\n" +
- " DA local;\n" +
- " <CompleteOnName:local.f>;\n" +
- " }\n" +
- "}\n" +
- "interface NCool {\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testNA_3() {
- String str =
- "package p; \n" +
- "class NException2\n" +
- " extends NoClassDefFoundError {\n" +
- "}\n" +
- "interface NInterface {\n" +
- " void foo();\n" +
- "}\n" +
- "class DAB {\n" +
- " public DA foo() {\n" +
- " }\n" +
- " public int foufou;\n" +
- "}\n" +
- "class DANA {\n" +
- " public int f;\n" +
- " N fieldC;\n" +
- "}\n" +
- "public class NA\n" +
- " extends NException2\n" +
- " implements N {\n" +
- " DA fieldB;\n" +
- " class freak {\n" +
- " }\n" +
- " void dede() {\n" +
- " DA local;\n" +
- " local.fieldC.foo();\n" +
- " }\n" +
- "}\n" +
- "interface NCool {\n" +
- "}\n";
-
- String testName = "<complete on method/field of local variable>";
- String completeBehind = "local.fieldC.";
- String expectedCompletionNodeToString = "<CompleteOnName:local.fieldC.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "local.fieldC.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class NException2 extends NoClassDefFoundError {\n" +
- " NException2() {\n" +
- " }\n" +
- "}\n" +
- "interface NInterface {\n" +
- " void foo();\n" +
- "}\n" +
- "class DAB {\n" +
- " public int foufou;\n" +
- " DAB() {\n" +
- " }\n" +
- " public DA foo() {\n" +
- " }\n" +
- "}\n" +
- "class DANA {\n" +
- " public int f;\n" +
- " N fieldC;\n" +
- " DANA() {\n" +
- " }\n" +
- "}\n" +
- "public class NA extends NException2 implements N {\n" +
- " class freak {\n" +
- " freak() {\n" +
- " }\n" +
- " }\n" +
- " DA fieldB;\n" +
- " public NA() {\n" +
- " }\n" +
- " void dede() {\n" +
- " DA local;\n" +
- " <CompleteOnName:local.fieldC.>;\n" +
- " }\n" +
- "}\n" +
- "interface NCool {\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testNB() {
- String str =
- "package p; \n" +
- "public class NB {\n" +
- " void foo() {\n" +
- " int iOutside;\n" +
- " if (i != 0) {\n" +
- " for (int i = 10; --i >= 0;)\n" +
- " unit[i].parseMethod(\n" +
- " parser, \n" +
- " unit); \n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on variable name into for statement>";
- String completeBehind = "i";
- String expectedCompletionNodeToString = "<CompleteOnName:i>";
- String completionIdentifier = "i";
- String expectedReplacedSource = "i";
- int cursorLocation = str.indexOf("i >=") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class NB {\n" +
- " public NB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int iOutside;\n" +
- " {\n" +
- " int i;\n" +
- " -- <CompleteOnName:i>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testNC_1FJ8D9Z() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FJ8D9Z\n" +
- " */\n" +
- "public class NC {\n" +
- " String s = new String(\n";
-
- String testName = "<complete on field intializer into corrupted class declaration>";
- String completeBehind = "new String(";
- String expectedCompletionNodeToString = "<CompleteOnAllocationExpression:new String()>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class NC {\n" +
- " String s = <CompleteOnAllocationExpression:new String()>;\n" +
- " public NC() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testO_1FG1YU0() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FG1YU0\n" +
- " */\n" +
- "public class O\n" +
- " extends java.util.Vector {\n" +
- " void bar(boolean bbbb) {\n" +
- " this.}\n" +
- "}\n";
-
- String testName = "<complete on method/field of explicit this>";
- String completeBehind = "this.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:this.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "this.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class O extends java.util.Vector {\n" +
- " public O() {\n" +
- " }\n" +
- " void bar(boolean bbbb) {\n" +
- " <CompleteOnMemberAccess:this.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testOA_1() {
- String str =
- "package p; \n" +
- "public class OA {\n" +
- " void proc() {\n" +
- " int[] a = new int[10];\n" +
- " Object b = a;\n" +
- " Class c = a.getClass();\n" +
- " String s = a.toString();\n" +
- " boolean l = a.equals(b);\n" +
- " int h = a.hashCode();\n" +
- " try {\n" +
- " a.wait();\n" +
- " a.wait(3);\n" +
- " a.wait(4, 5);\n" +
- " } catch (Exception e) {\n" +
- " }\n" +
- " a.notify();\n" +
- " a.notifyAll();\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of array>";
- String completeBehind = "a.n";
- String expectedCompletionNodeToString = "<CompleteOnName:a.n>";
- String completionIdentifier = "n";
- String expectedReplacedSource = "a.notify";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class OA {\n" +
- " public OA() {\n" +
- " }\n" +
- " void proc() {\n" +
- " int[] a;\n" +
- " Object b;\n" +
- " Class c;\n" +
- " String s;\n" +
- " boolean l;\n" +
- " int h;\n" +
- " <CompleteOnName:a.n>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testOA_2() {
- String str =
- "package p; \n" +
- "public class OA {\n" +
- " void proc() {\n" +
- " int[] a = new int[10];\n" +
- " Object b = a;\n" +
- " Class c = a.getClass();\n" +
- " String s = a.toString();\n" +
- " boolean l = a.equals(b);\n" +
- " int h = a.hashCode();\n" +
- " try {\n" +
- " a.wait();\n" +
- " a.wait(3);\n" +
- " a.wait(4, 5);\n" +
- " } catch (Exception e) {\n" +
- " }\n" +
- " a.notify();\n" +
- " a.notifyAll();\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of array>";
- String completeBehind = "a.w";
- String expectedCompletionNodeToString = "<CompleteOnName:a.w>";
- String completionIdentifier = "w";
- String expectedReplacedSource = "a.wait";
- int cursorLocation = str.indexOf("a.wait(4, 5)") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class OA {\n" +
- " public OA() {\n" +
- " }\n" +
- " void proc() {\n" +
- " int[] a;\n" +
- " Object b;\n" +
- " Class c;\n" +
- " String s;\n" +
- " boolean l;\n" +
- " int h;\n" +
- " {\n" +
- " <CompleteOnName:a.w>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testOB_1() {
- String str =
- "package p; \n" +
- "public class OB {\n" +
- " void foo() {\n" +
- " label : while (true) {\n" +
- " System.out.println(\"\");\n" +
- " break label;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on keyword>";
- String completeBehind = "b";
- String expectedCompletionNodeToString = "<CompleteOnName:b>";
- String completionIdentifier = "b";
- String expectedReplacedSource = "break";
- int cursorLocation = str.indexOf("break") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class OB {\n" +
- " public OB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " <CompleteOnName:b>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testOB_2() {
- String str =
- "package p; \n" +
- "public class OB {\n" +
- " void foo() {\n" +
- " label : while (true) {\n" +
- " System.out.println(\"\");\n" +
- " break label;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on label name>";
- String completeBehind = "l";
- String expectedCompletionNodeToString = "<CompleteOnName:l>";
- String completionIdentifier = "l";
- String expectedReplacedSource = "label";
- int cursorLocation = str.indexOf("label") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class OB {\n" +
- " public OB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:l>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testOC_1FM7J7F() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FM7J7F\n" +
- " */\n" +
- "class OC {\n" +
- " String s = new String(\n" +
- "}\n";
-
- String testName = "<complete on field initializer>";
- String completeBehind = "new String(";
- String expectedCompletionNodeToString = "<CompleteOnAllocationExpression:new String()>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class OC {\n" +
- " String s = <CompleteOnAllocationExpression:new String()>;\n" +
- " OC() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testP_1FG1YU0() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FG1YU0\n" +
- " */\n" +
- "public class P {\n" +
- " {\n" +
- " void bar() {\n" +
- " f }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "f";
- String expectedCompletionNodeToString = "<CompleteOnName:f>";
- String completionIdentifier = "f";
- String expectedReplacedSource = "f";
- int cursorLocation = str.indexOf("f }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class P {\n" +
- " {\n" +
- " }\n" +
- " public P() {\n" +
- " }\n" +
- " void bar() {\n" +
- " <CompleteOnName:f>;\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName); }
-public void testPA_1() {
- String str =
- "package p; \n" +
- "class PAHelper {\n" +
- " public int fieldPublic;\n" +
- " protected int fieldProtected;\n" +
- " private int fieldPrivate;\n" +
- " int fieldDefault;\n" +
- " static void staticFoo() {\n" +
- " }\n" +
- " static int i = 1;\n" +
- " int neuneu1() {\n" +
- " return 0;\n" +
- " }\n" +
- " void neuneu2() {\n" +
- " }\n" +
- "}\n" +
- "public class PA\n" +
- " extends PAHelper {\n" +
- " void foo() {\n" +
- " B[] b = \n" +
- " new java.lang.Number[]; \n" +
- " java.lang.Short s;\n" +
- " // b[1].;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on comment>";
- String completeBehind = "b[1].";
- String expectedCompletionNodeToString = NONE;
- String completionIdentifier = "";
- String expectedReplacedSource = NONE;
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString = null;
-
- try {
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
- assertTrue("failed to detect invalid cursor location", false);
- } catch(InvalidCursorLocation e){
- assertEquals("invalid cursor location: ", e.irritant, InvalidCursorLocation.NO_COMPLETION_INSIDE_COMMENT);
- }
-}
-public void testPA_2() {
- String str =
- "package p; \n" +
- "class PAHelper {\n" +
- " public int fieldPublic;\n" +
- " protected int fieldProtected;\n" +
- " private int fieldPrivate;\n" +
- " int fieldDefault;\n" +
- " static void staticFoo() {\n" +
- " }\n" +
- " static int i = 1;\n" +
- " int neuneu1() {\n" +
- " return 0;\n" +
- " }\n" +
- " void neuneu2() {\n" +
- " }\n" +
- "}\n" +
- "public class PA\n" +
- " extends PAHelper {\n" +
- " void foo() {\n" +
- " B[] b = \n" +
- " new java.lang.Number[]; \n" +
- " java.lang.Short s;\n" +
- " // b[1].;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on new keyword>";
- String completeBehind = "n";
- String expectedCompletionNodeToString = "<CompleteOnName:n>";
- String completionIdentifier = "n";
- String expectedReplacedSource = "new";
- int cursorLocation = str.indexOf("new ") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class PAHelper {\n" +
- " public int fieldPublic;\n" +
- " protected int fieldProtected;\n" +
- " private int fieldPrivate;\n" +
- " int fieldDefault;\n" +
- " static int i;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " PAHelper() {\n" +
- " }\n" +
- " static void staticFoo() {\n" +
- " }\n" +
- " int neuneu1() {\n" +
- " }\n" +
- " void neuneu2() {\n" +
- " }\n" +
- "}\n" +
- "public class PA extends PAHelper {\n" +
- " public PA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " B[] b = <CompleteOnName:n>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testPB() {
- String str =
- "package p; \n" +
- "public class PB {\n" +
- " void foo() {\n" +
- " class Local {\n" +
- " void foo() {\n" +
- " }\n" +
- " class LocalMember1 {\n" +
- " void foo() {\n" +
- " class LocalMemberLocal {\n" +
- " void foo() {\n" +
- " f\n"+
- " }\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " class LocalMember2 {\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field into nested local type>";
- String completeBehind = "f";
- String expectedCompletionNodeToString = "<CompleteOnName:f>";
- String completionIdentifier = "f";
- String expectedReplacedSource = "f";
- int cursorLocation = str.indexOf("f\n") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class PB {\n" +
- " public PB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " class Local {\n" +
- " class LocalMember1 {\n" +
- " LocalMember1() {\n" +
- " }\n" +
- " void foo() {\n" +
- " class LocalMemberLocal {\n" +
- " LocalMemberLocal() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:f>;\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " class LocalMember2 {\n" +
- " LocalMember2() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " Local() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testPC_1FSU4EF() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FSU4EF\n" +
- " */\n" +
- "import java.util.Vector;\n" +
- "public class PC {\n" +
- " void foo() {\n" +
- " class Inner {\n" +
- " Vector v = new Vector();\n" +
- " void foo() {\n" +
- " Vector v = new Vector();\n" +
- " v.addElement();\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field into local type>";
- String completeBehind = "v.a";
- String expectedCompletionNodeToString = "<CompleteOnName:v.a>";
- String completionIdentifier = "a";
- String expectedReplacedSource = "v.addElement";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import java.util.Vector;\n" +
- "public class PC {\n" +
- " public PC() {\n" +
- " }\n" +
- " void foo() {\n" +
- " class Inner {\n" +
- " Vector v;\n" +
- " Inner() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Vector v;\n" +
- " <CompleteOnName:v.a>;\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testQ_1FG1YU0() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FG1YU0\n" +
- " */\n" +
- "public class Q {\n" +
- " void bar(boolean bbbb) {\n" +
- " this.}\n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "this.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:this.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "this.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class Q {\n" +
- " public Q() {\n" +
- " }\n" +
- " void bar(boolean bbbb) {\n" +
- " <CompleteOnMemberAccess:this.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testQA_1() {
- String str =
- "package p; \n" +
- "class QAHelper {\n" +
- " int i = 10;\n" +
- " void f() {\n" +
- " Chk.chkIntVal(\n" +
- " \"err_0\", \n" +
- " \"i\", \n" +
- " this.i, \n" +
- " i); \n" +
- " }\n" +
- " static class Y\n" +
- " extends QAHelper {\n" +
- " public void f() {\n" +
- " super.f();\n" +
- " int j = super.i;\n" +
- " }\n" +
- " public static void main(String a[]) {\n" +
- " Y oy = new Y();\n" +
- " oy.f();\n" +
- " }\n" +
- " }\n" +
- "}\n" +
- "public class QA {\n" +
- " static String s[] = \n" +
- " {\"Dolby\", \"Thx\",}; \n" +
- " void check() {\n" +
- " new QAHelper().new Y().main(\n" +
- " s); \n" +
- " }\n" +
- " static public void main(String args[]) {\n" +
- " new QA().check();\n" +
- " Chk.endTest(\"ciner111\");\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "new QAHelper().new Y().m";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new QAHelper().new Y().m>";
- String completionIdentifier = "m";
- String expectedReplacedSource = "main";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class QAHelper {\n" +
- " static class Y extends QAHelper {\n" +
- " Y() {\n" +
- " }\n" +
- " public void f() {\n" +
- " }\n" +
- " public static void main(String[] a) {\n" +
- " }\n" +
- " }\n" +
- " int i;\n" +
- " QAHelper() {\n" +
- " }\n" +
- " void f() {\n" +
- " }\n" +
- "}\n" +
- "public class QA {\n" +
- " static String[] s;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public QA() {\n" +
- " }\n" +
- " void check() {\n" +
- " <CompleteOnMemberAccess:new QAHelper().new Y().m>;\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testQA_2() {
- String str =
- "package p; \n" +
- "class QAHelper {\n" +
- " int i = 10;\n" +
- " void f() {\n" +
- " Chk.chkIntVal(\n" +
- " \"err_0\", \n" +
- " \"i\", \n" +
- " this.i, \n" +
- " i); \n" +
- " }\n" +
- " static class Y\n" +
- " extends QAHelper {\n" +
- " public void f() {\n" +
- " super.f();\n" +
- " int j = super.i;\n" +
- " }\n" +
- " public static void main(String a[]) {\n" +
- " Y oy = new Y();\n" +
- " oy.f();\n" +
- " }\n" +
- " }\n" +
- "}\n" +
- "public class QA {\n" +
- " static String s[] = \n" +
- " {\"Dolby\", \"Thx\",}; \n" +
- " void check() {\n" +
- " new QAHelper().new Y().main(\n" +
- " s); \n" +
- " }\n" +
- " static public void main(String args[]) {\n" +
- " new QA().check();\n" +
- " Chk.endTest(\"ciner111\");\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of object creation>";
- String completeBehind = "new QAHelper().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new QAHelper().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class QAHelper {\n" +
- " static class Y extends QAHelper {\n" +
- " Y() {\n" +
- " }\n" +
- " public void f() {\n" +
- " }\n" +
- " public static void main(String[] a) {\n" +
- " }\n" +
- " }\n" +
- " int i;\n" +
- " QAHelper() {\n" +
- " }\n" +
- " void f() {\n" +
- " }\n" +
- "}\n" +
- "public class QA {\n" +
- " static String[] s;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public QA() {\n" +
- " }\n" +
- " void check() {\n" +
- " <CompleteOnMemberAccess:new QAHelper().>;\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testQA_3() {
- String str =
- "package p; \n" +
- "class QAHelper {\n" +
- " int i = 10;\n" +
- " void f() {\n" +
- " Chk.chkIntVal(\n" +
- " \"err_0\", \n" +
- " \"i\", \n" +
- " this.i, \n" +
- " i); \n" +
- " }\n" +
- " static class Y\n" +
- " extends QAHelper {\n" +
- " public void f() {\n" +
- " super.f();\n" +
- " int j = super.i;\n" +
- " }\n" +
- " public static void main(String a[]) {\n" +
- " Y oy = new Y();\n" +
- " oy.f();\n" +
- " }\n" +
- " }\n" +
- "}\n" +
- "public class QA {\n" +
- " static String s[] = \n" +
- " {\"Dolby\", \"Thx\",}; \n" +
- " void check() {\n" +
- " new QAHelper().new Y().main(\n" +
- " s); \n" +
- " }\n" +
- " static public void main(String args[]) {\n" +
- " new QA().check();\n" +
- " Chk.endTest(\"ciner111\");\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of object creation>";
- String completeBehind = "new QAHelper().new Y().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new QAHelper().new Y().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class QAHelper {\n" +
- " static class Y extends QAHelper {\n" +
- " Y() {\n" +
- " }\n" +
- " public void f() {\n" +
- " }\n" +
- " public static void main(String[] a) {\n" +
- " }\n" +
- " }\n" +
- " int i;\n" +
- " QAHelper() {\n" +
- " }\n" +
- " void f() {\n" +
- " }\n" +
- "}\n" +
- "public class QA {\n" +
- " static String[] s;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public QA() {\n" +
- " }\n" +
- " void check() {\n" +
- " <CompleteOnMemberAccess:new QAHelper().new Y().>;\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testQA_4() {
- String str =
- "package p; \n" +
- "class QAHelper {\n" +
- " int i = 10;\n" +
- " void f() {\n" +
- " Chk.chkIntVal(\n" +
- " \"err_0\", \n" +
- " \"i\", \n" +
- " this.i, \n" +
- " i); \n" +
- " }\n" +
- " static class Y\n" +
- " extends QAHelper {\n" +
- " public void f() {\n" +
- " super.f();\n" +
- " int j = super.i;\n" +
- " }\n" +
- " public static void main(String a[]) {\n" +
- " Y oy = new Y();\n" +
- " oy.f();\n" +
- " }\n" +
- " }\n" +
- "}\n" +
- "public class QA {\n" +
- " static String s[] = \n" +
- " {\"Dolby\", \"Thx\",}; \n" +
- " void check() {\n" +
- " new QAHelper().new Y().main(\n" +
- " s); \n" +
- " }\n" +
- " static public void main(String args[]) {\n" +
- " new QA().check();\n" +
- " Chk.endTest(\"ciner111\");\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of object creation>";
- String completeBehind = "new QA().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new QA().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class QAHelper {\n" +
- " static class Y extends QAHelper {\n" +
- " Y() {\n" +
- " }\n" +
- " public void f() {\n" +
- " }\n" +
- " public static void main(String[] a) {\n" +
- " }\n" +
- " }\n" +
- " int i;\n" +
- " QAHelper() {\n" +
- " }\n" +
- " void f() {\n" +
- " }\n" +
- "}\n" +
- "public class QA {\n" +
- " static String[] s;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public QA() {\n" +
- " }\n" +
- " void check() {\n" +
- " }\n" +
- " public static void main(String[] args) {\n" +
- " <CompleteOnMemberAccess:new QA().>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testQB_1FIK820() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FIK820\n" +
- " */\n" +
- "public class QB {\n" +
- " void foo() {\n" +
- " {\n" +
- " }\n" +
- " .}\n" +
- "}\n";
-
- String testName = "<complete on block (no answers wanted)>";
- String completeBehind = ".";
- String expectedCompletionNodeToString = "<CompleteOnName:>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(".}") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class QB {\n" +
- " public QB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testR_1FGD31E() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGD31E\n" +
- " */\n" +
- "public class R {\n" +
- " void moo() {\n" +
- " b }\n" +
- " void bar() {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "b";
- String expectedCompletionNodeToString = "<CompleteOnName:b>";
- String completionIdentifier = "b";
- String expectedReplacedSource = "b";
- int cursorLocation = str.indexOf("b }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class R {\n" +
- " public R() {\n" +
- " }\n" +
- " void moo() {\n" +
- " <CompleteOnName:b>;\n" +
- " }\n" +
- " void bar() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testRA_1() {
- String str =
- "package p; \n" +
- "public class RA extends A {\n" +
- " private int f = 5;\n" +
- " int i(int k) {\n" +
- " }\n" +
- " class B extends I {\n" +
- " void foo();\n" +
- " class C extends Z {\n" +
- " }\n" +
- " final int fo;\n" +
- " }\n" +
- " final void foo(k j) {\n" +
- " }\n" +
- " o o() throws Exc, Exc {\n" +
- " }\n" +
- " static {\n" +
- " this.ff = 5;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on incorrect this call>";
- String completeBehind = "t";
- String expectedCompletionNodeToString = "<CompleteOnName:t>";
- String completionIdentifier = "t";
- String expectedReplacedSource = "this";
- int cursorLocation = str.indexOf("this.ff") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class RA extends A {\n" +
- " class B extends I {\n" +
- " class C extends Z {\n" +
- " C() {\n" +
- " }\n" +
- " }\n" +
- " final int fo;\n" +
- " B() {\n" +
- " }\n" +
- " void foo();\n" +
- " }\n" +
- " private int f;\n" +
- " static {\n" +
- " <CompleteOnName:t>;\n" +
- " }\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public RA() {\n" +
- " }\n" +
- " int i(int k) {\n" +
- " }\n" +
- " final void foo(k j) {\n" +
- " }\n" +
- " o o() throws Exc, Exc {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testRA_2() {
- String str =
- "package p; \n" +
- "public class RA extends A {\n" +
- " private int f = 5;\n" +
- " int i(int k) {\n" +
- " }\n" +
- " class B extends I {\n" +
- " void foo();\n" +
- " class C extends Z {\n" +
- " }\n" +
- " final int fo;\n" +
- " }\n" +
- " final void foo(k j) {\n" +
- " }\n" +
- " o o() throws Exc, Exc {\n" +
- " }\n" +
- " static {\n" +
- " this.ff = 5;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on t>";
- String completeBehind = "t";
- String expectedCompletionNodeToString = "<CompleteOnName:t>";
- String completionIdentifier = "t";
- String expectedReplacedSource = "this";
- int cursorLocation = str.indexOf("this") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class RA extends A {\n" +
- " class B extends I {\n" +
- " class C extends Z {\n" +
- " C() {\n" +
- " }\n" +
- " }\n" +
- " final int fo;\n" +
- " B() {\n" +
- " }\n" +
- " void foo();\n" +
- " }\n" +
- " private int f;\n" +
- " static {\n" +
- " <CompleteOnName:t>;\n" +
- " }\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public RA() {\n" +
- " }\n" +
- " int i(int k) {\n" +
- " }\n" +
- " final void foo(k j) {\n" +
- " }\n" +
- " o o() throws Exc, Exc {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testRA_3() {
- String str =
- "package p; \n" +
- "public class RA extends A {\n" +
- " private int f = 5;\n" +
- " int i(int k) {\n" +
- " }\n" +
- " class B extends I {\n" +
- " void foo();\n" +
- " class C extends Z {\n" +
- " }\n" +
- " final int fo;\n" +
- " }\n" +
- " final void foo(k j) {\n" +
- " }\n" +
- " o o() throws Exc, Exc {\n" +
- " }\n" +
- " static {\n" +
- " this.ff = 5;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on exception type>";
- String completeBehind = "Exc";
- String expectedCompletionNodeToString = "<CompleteOnException:Exc>";
- String completionIdentifier = "Exc";
- String expectedReplacedSource = "Exc";
- int cursorLocation = str.indexOf("Exc {") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class RA extends A {\n" +
- " class B extends I {\n" +
- " class C extends Z {\n" +
- " C() {\n" +
- " }\n" +
- " }\n" +
- " final int fo;\n" +
- " B() {\n" +
- " }\n" +
- " void foo();\n" +
- " }\n" +
- " private int f;\n" +
- " static {\n" +
- " }\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public RA() {\n" +
- " }\n" +
- " int i(int k) {\n" +
- " }\n" +
- " final void foo(k j) {\n" +
- " }\n" +
- " o o() throws Exc, <CompleteOnException:Exc> {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testRB_1FI74S3() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FI74S3\n" +
- " */\n" +
- "public class RB {\n" +
- " int[] table;\n" +
- " void foo() {\n" +
- " int x = table.}\n" +
- "}\n";
-
- String testName = "<complete on method/field of arry>";
- String completeBehind = "table.";
- String expectedCompletionNodeToString = "<CompleteOnName:table.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "table.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class RB {\n" +
- " int[] table;\n" +
- " public RB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x = <CompleteOnName:table.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testS_1FGF64P_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGF64P\n" +
- " */\n" +
- "public class S {\n" +
- " {\n" +
- " new Y()..}\n" +
- " class Y {\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on incorrect call>";
- String completeBehind = "new Y()..";
- String expectedCompletionNodeToString = "<CompleteOnName:>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class S {\n" +
- " class Y {\n" +
- " Y() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " {\n" +
- " {\n" +
- " <CompleteOnName:>;\n" +
- " }\n" +
- " }\n" +
- " public S() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testS_1FGF64P_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGF64P\n" +
- " */\n" +
- "public class S {\n" +
- " {\n" +
- " new Y()..}\n" +
- " class Y {\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of object creation>";
- String completeBehind = "new Y().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new Y().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class S {\n" +
- " class Y {\n" +
- " Y() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " {\n" +
- " <CompleteOnMemberAccess:new Y().>;\n" +
- " }\n" +
- " public S() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testS_1FGF64P_3() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGF64P\n" +
- " */\n" +
- "public class S {\n" +
- " {\n" +
- " new Y()..}\n" +
- " class Y {\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on incorrect call>";
- String completeBehind = "new Y()..";
- String expectedCompletionNodeToString = "<CompleteOnName:>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class S {\n" +
- " class Y {\n" +
- " Y() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " {\n" +
- " {\n" +
- " <CompleteOnName:>;\n" +
- " }\n" +
- " }\n" +
- " public S() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testSA() {
- String str =
- "package p; \n" +
- "public class SA {\n" +
- " public sy void foo() {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method modifier>";
- String completeBehind = "sy";
- String expectedCompletionNodeToString = "<CompleteOnType:sy>";
- String completionIdentifier = "sy";
- String expectedReplacedSource = "sy";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class SA {\n" +
- " <CompleteOnType:sy>;\n" +
- " public SA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testSB_1FILFDG() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FILFDG\n" +
- " */\n" +
- "public class SB {\n" +
- " public void foo() {\n" +
- " String s = \"hello\n" +
- " int}\n" +
- "}\n";
-
- String testName = "<complete on field declaration type>";
- String completeBehind = "int";
- String expectedCompletionNodeToString = "<CompleteOnName:int>";
- String completionIdentifier = "int";
- String expectedReplacedSource = "int";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class SB {\n" +
- " public SB() {\n" +
- " }\n" +
- " public void foo() {\n" +
- " String s;\n" +
- " <CompleteOnName:int>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testT_1FGF64P() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGF64P\n" +
- " */\n" +
- "public class T {\n" +
- " {\n" +
- " new Y().}\n" +
- " class Y {\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on object creation>";
- String completeBehind = "new Y().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new Y().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class T {\n" +
- " class Y {\n" +
- " Y() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- " }\n" +
- " {\n" +
- " <CompleteOnMemberAccess:new Y().>;\n" +
- " }\n" +
- " public T() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testTA_1FHISJJ_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHISJJ\n" +
- " */\n" +
- "public class TA {\n" +
- " void foo() {\n" +
- " Object[] items = \n" +
- " {\n" +
- " \"Mark unublishable\", \n" +
- " null, \n" +
- " \"Properties...\"}\n" +
- " .;\n" +
- " items.}\n" +
- "}\n";
-
- String testName = "<complete on array intializer value>";
- String completeBehind = "n";
- String expectedCompletionNodeToString = "<CompleteOnName:n>";
- String completionIdentifier = "n";
- String expectedReplacedSource = "null";
- int cursorLocation = str.indexOf("null, ") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class TA {\n" +
- " public TA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] items = {<CompleteOnName:n>};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testTA_1FHISJJ_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHISJJ\n" +
- " */\n" +
- "public class TA {\n" +
- " void foo() {\n" +
- " Object[] items = \n" +
- " {\n" +
- " \"Mark unublishable\", \n" +
- " null, \n" +
- " \"Properties...\"}\n" +
- " .;\n" +
- " items.}\n" +
- "}\n";
-
- String testName = "<complete on method/field of array intializer>";
- String completeBehind =
- " {\n" +
- " \"Mark unublishable\", \n" +
- " null, \n" +
- " \"Properties...\"}\n" +
- " .";
- String expectedCompletionNodeToString = "<CompleteOnName:>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class TA {\n" +
- " public TA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] items;\n" +
- " <CompleteOnName:>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testTA_1FHISJJ_3() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHISJJ\n" +
- " */\n" +
- "public class TA {\n" +
- " void foo() {\n" +
- " Object[] items = \n" +
- " {\n" +
- " \"Mark unublishable\", \n" +
- " null, \n" +
- " \"Properties...\"}\n" +
- " .;\n" +
- " items.}\n" +
- "}\n";
-
- String testName = "<complete on method/field of array>";
- String completeBehind = "items.";
- String expectedCompletionNodeToString = "<CompleteOnName:items.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "items.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class TA {\n" +
- " public TA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] items;\n" +
- " <CompleteOnName:items.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testTB_1FHSLMQ() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHSLMQ\n" +
- " */\n" +
- "public class TB {\n" +
- " void foo() {\n" +
- " if (true)\n" +
- " System.out.println(\"\");\n" +
- " e }\n" +
- "}\n";
-
- String testName = "<complete on else keyword>";
- String completeBehind = "e";
- String expectedCompletionNodeToString = "<CompleteOnName:e>";
- String completionIdentifier = "e";
- String expectedReplacedSource = "e";
- int cursorLocation = str.indexOf("e }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class TB {\n" +
- " public TB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:e>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testU_1FGGUME() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGGUME\n" +
- " */\n" +
- "public class U {\n" +
- " public static final int Source = \n" +
- " 5; \n" +
- "}\n";
-
- String testName = "<complete on digit>";
- String completeBehind = "5";
- String expectedCompletionNodeToString = NONE;
- String completionIdentifier = "";
- String expectedReplacedSource = NONE;
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString = null;
-
- try {
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
- assertTrue("failed to detect invalid cursor location", false);
- } catch(InvalidCursorLocation e){
- assertEquals("invalid cursor location: ", e.irritant, InvalidCursorLocation.NO_COMPLETION_INSIDE_NUMBER);
- }
-}
-public void testUA_1FHISJJ_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHISJJ\n" +
- " */\n" +
- "public class UA {\n" +
- " void foo() {\n" +
- " Object[] items = \n" +
- " new String[] {\n" +
- " \"Mark unublishable\", \n" +
- " null, \n" +
- " \"Properties...\"}\n" +
- " .;\n" +
- " items.}\n" +
- "}\n";
-
- String testName = "<complete on array initializer>";
- String completeBehind =
- "new String[] {\n" +
- " \"Mark unublishable\", \n" +
- " null, \n" +
- " \"Properties...\"}\n" +
- " .";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new String[]{\"Mark unublishable\", null, \"Properties...\"}.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class UA {\n" +
- " public UA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] items = <CompleteOnMemberAccess:new String[]{\"Mark unublishable\", null, \"Properties...\"}.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testUA_1FHISJJ_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHISJJ\n" +
- " */\n" +
- "public class UA {\n" +
- " void foo() {\n" +
- " Object[] items = \n" +
- " new String[] {\n" +
- " \"Mark unublishable\", \n" +
- " null, \n" +
- " \"Properties...\"}\n" +
- " .;\n" +
- " items.}\n" +
- "}\n";
-
- String testName = "<complete on method/field of array>";
- String completeBehind = "items.";
- String expectedCompletionNodeToString = "<CompleteOnName:items.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "items.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class UA {\n" +
- " public UA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] items;\n" +
- " <CompleteOnName:items.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testUB_1FSBZ02() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FSBZ02\n" +
- " */\n" +
- "class UB {\n" +
- " void bar() {\n" +
- " }\n" +
- " class UBMember {\n" +
- " void bar2() {\n" +
- " }\n" +
- " void foo() {\n" +
- " b\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on keyword>";
- String completeBehind = "b";
- String expectedCompletionNodeToString = "<CompleteOnName:b>";
- String completionIdentifier = "b";
- String expectedReplacedSource = "b";
- int cursorLocation = str.indexOf("b\n") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class UB {\n" +
- " class UBMember {\n" +
- " UBMember() {\n" +
- " }\n" +
- " void bar2() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnName:b>;\n" +
- " }\n" +
- " }\n" +
- " UB() {\n" +
- " }\n" +
- " void bar() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testV_1FGGUOO_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGGUOO\n" +
- " */\n" +
- "public class V i java\n" +
- " .io\n" +
- " .Serializable {\n" +
- "}\n";
-
- String testName = "<complete on implements keyword>";
- String completeBehind = "i";
- String expectedCompletionNodeToString = "<CompleteOnKeyword:i>";
- String completionIdentifier = "i";
- String expectedReplacedSource = "i";
- int cursorLocation = str.indexOf("i java") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class V extends <CompleteOnKeyword:i> {\n" +
- " {\n" +
- " }\n" +
- " public V() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testV_1FGGUOO_2() {
- String str =
- "package x.y.z; \n" +
- "/**\n" +
- " * 1FGGUOO\n" +
- " */\n" +
- "public class V implements java.io.Serializable {\n" +
- "}\n";
-
- String testName = "<complete on package>";
- String completeBehind = "y";
- String expectedCompletionNodeToString = "<CompleteOnPackage:x.y>";
- String completionIdentifier = "y";
- String expectedReplacedSource =
- "x.y.z";
- int cursorLocation = str.indexOf("y") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package <CompleteOnPackage:x.y>;\n" +
- "public class V implements java.io.Serializable {\n" +
- " public V() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testVA_1FHISJJ_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHISJJ\n" +
- " */\n" +
- "public class VA {\n" +
- " void foo() {\n" +
- " Object item = new String() {\n" +
- " public boolean equals() {\n" +
- " return false;\n" +
- " }\n" +
- " }\n" +
- " .;\n" +
- " item.}\n" +
- "}\n";
-
- String testName = "<complete on anonymous type declaration>";
- String completeBehind =
- "new String() {\n" +
- " public boolean equals() {\n" +
- " return false;\n" +
- " }\n" +
- " }\n" +
- " .";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new String() {\n" +
- " public boolean equals() {\n" +
- " return false;\n" +
- " }\n" +
- "}.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class VA {\n" +
- " public VA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object item = <CompleteOnMemberAccess:new String() {\n" +
- " public boolean equals() {\n" +
- " return false;\n" +
- " }\n" +
- "}.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testVA_1FHISJJ_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FHISJJ\n" +
- " */\n" +
- "public class VA {\n" +
- " void foo() {\n" +
- " Object item = new String() {\n" +
- " public boolean equals() {\n" +
- " return false;\n" +
- " }\n" +
- " }\n" +
- " .;\n" +
- " item.}\n" +
- "}\n";
-
- String testName = "<complete on local variable>";
- String completeBehind = "item.";
- String expectedCompletionNodeToString = "<CompleteOnName:item.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "item.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class VA {\n" +
- " public VA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object item;\n" +
- " <CompleteOnName:item.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testVB_1() {
- String str =
- "package p; \n" +
- "public class VB {\n" +
- " void foo() {\n" +
- " new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }\n" +
- " .;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on local variable name into anonymous declaration>";
- String completeBehind = "v";
- String expectedCompletionNodeToString = "<CompleteOnName:v>";
- String completionIdentifier = "v";
- String expectedReplacedSource = "v";
- int cursorLocation = str.indexOf("v }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class VB {\n" +
- " public VB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111;\n" +
- " <CompleteOnName:v>;\n" +
- " }\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-// TODO excluded test (completion on field access on anonymous inner class with syntax error)
-public void _testVB_2() {
- String str =
- "package p; \n" +
- "public class VB {\n" +
- " void foo() {\n" +
- " new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }.\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on anonymous type declaration>";
- String completeBehind =
- "new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }.";
- String expectedCompletionNodeToString =
- "<CompleteOnMemberAccess:new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " }\n" +
- "}.>";
- String completionIdentifier = "";
- String expectedReplacedSource =
- "new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class VB {\n" +
- " public VB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnMemberAccess:new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " }\n" +
- "}.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testVB_3() {
- String str =
- "package p; \n" +
- "public class VB {\n" +
- " void foo() {\n" +
- " new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }\n" +
- " .;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on constructor>";
- String completeBehind = "new java.io.File(";
- String expectedCompletionNodeToString = "<CompleteOnAllocationExpression:new java.io.File()>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class VB {\n" +
- " public VB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnAllocationExpression:new java.io.File()>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-// TODO excluded test (completion on field access on anonymous inner class with syntax error)
-public void _testVB_4() {
- String str =
- "package p; \n" +
- "public class VB {\n" +
- " void foo() {\n" +
- " new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }\n" +
- " .;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on anonymous type declaration with dummy spaces>";
- String completeBehind =
- "new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }\n" +
- " .";
- String expectedCompletionNodeToString =
- "<CompleteOnName:new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " }\n" +
- "}.>";
- String completionIdentifier = "";
- String expectedReplacedSource =
- "new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }\n" +
- " .";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class VB {\n" +
- " public VB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnMemberAccess:new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " }\n" +
- "}.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-// TODO excluded test (completion on field access on anonymous inner class with syntax error)
-public void _testVB_5() {
- String str =
- "package p; \n" +
- "public class VB {\n" +
- " void foo() {\n" +
- " new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }.;\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on anonymous type declaration with trailing semi-colon>";
- String completeBehind =
- "new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }.";
- String expectedCompletionNodeToString =
- "<CompleteOnMemberAccess:new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " }\n" +
- "}.>";
- String completionIdentifier = "";
- String expectedReplacedSource =
- "new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " Vector v11111 = new Vector();\n" +
- " v }\n" +
- " }.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class VB {\n" +
- " public VB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnMemberAccess:new java.io.File(\"error\") {\n" +
- " protected void runTest() {\n" +
- " }\n" +
- "}.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testW_1FGGUS4() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGGUS4\n" +
- " */\n" +
- "public class W {\n" +
- " public static final int LA = \n" +
- " 1; \n" +
- " public static final int LAB = \n" +
- " 2; \n" +
- " public static final int LABO = \n" +
- " 4; \n" +
- " public int produceDebugAttributes = \n" +
- " LABO; \n" +
- "}\n";
-
- String testName = "<complete on field initializer>";
- String completeBehind = "L";
- String expectedCompletionNodeToString = "<CompleteOnName:L>";
- String completionIdentifier = "L";
- String expectedReplacedSource = "LABO";
- int cursorLocation = str.indexOf("LABO;") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class W {\n" +
- " public static final int LA;\n" +
- " public static final int LAB;\n" +
- " public static final int LABO;\n" +
- " public int produceDebugAttributes = <CompleteOnName:L>;\n" +
- " public W() {\n" +
- " }\n" +
- " <clinit>() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testWA_1() {
- String str =
- "package p; \n" +
- "public class WA {\n" +
- " void foo() {\n" +
- " int value = 10;\n" +
- " v int[] tab = new int[value];\n" +
- " }\n";
-
- String testName = "<complete on array size value>";
- String completeBehind = "v";
- String expectedCompletionNodeToString = "<CompleteOnName:v>";
- String completionIdentifier = "v";
- String expectedReplacedSource = "value";
- int cursorLocation = str.indexOf("value];") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class WA {\n" +
- " public WA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int value;\n" +
- " int[] tab = new int[<CompleteOnName:v>];\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testWA_2() {
- String str =
- "package p; \n" +
- "public class WA {\n" +
- " void foo() {\n" +
- " int value = 10;\n" +
- " v int[] tab = new int[value];\n" +
- " }\n";
-
- String testName = "<complete on corrupter local variable declaration>";
- String completeBehind = "v";
- String expectedCompletionNodeToString = "<CompleteOnName:v>";
- String completionIdentifier = "v";
- String expectedReplacedSource = "v";
- int cursorLocation = str.indexOf("v int[]") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class WA {\n" +
- " public WA() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int value;\n" +
- " <CompleteOnName:v>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testWB_1FI313C() {
- String str =
- "package p; \n" +
- "/*\n" +
- " * 1FI313C\n" +
- " */\n" +
- "class WBHelper {\n" +
- " public int fieldPublic;\n" +
- " protected int fieldProtected;\n" +
- " private int fieldPrivate;\n" +
- " int fieldDefault;\n" +
- " static void staticFoo() {\n" +
- " }\n" +
- " static int i = d;\n" +
- " int neuneu1() {\n" +
- " }\n" +
- " void neuneu2() {\n" +
- " }\n" +
- "}\n" +
- "public class WB\n" +
- " extends WBHelper {\n" +
- " void foo() {\n" +
- " BIJOUR[] b = \n" +
- " new java.lang.Number[]; \n" +
- " java.lang.Short s;\n" +
- " b[1].}\n" +
- " B() {\n" +
- " }\n" +
- " B(int) {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of array element>";
- String completeBehind = "b[1].";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:b[1].>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "class WBHelper {\n" +
- " public int fieldPublic;\n" +
- " protected int fieldProtected;\n" +
- " private int fieldPrivate;\n" +
- " int fieldDefault;\n" +
- " static int i;\n" +
- " WBHelper() {\n" +
- " }\n" +
- " <clinit>() {\n" +
- " }\n" +
- " static void staticFoo() {\n" +
- " }\n" +
- " int neuneu1() {\n" +
- " }\n" +
- " void neuneu2() {\n" +
- " }\n" +
- "}\n" +
- "public class WB extends WBHelper {\n" +
- " public WB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " BIJOUR[] b;\n" +
- " java.lang.Short s;\n" +
- " <CompleteOnMemberAccess:b[1].>;\n" +
- " }\n" +
- " B() {\n" +
- " }\n" +
- " B() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testX_1FGGV8C_1() {
- String str =
- "package p; \n" +
- "import p2.Y; \n" +
- "/**\n" +
- " * 1FGGV8C and 1FGPE8E\n" +
- " */\n" +
- "public class X {\n" +
- " public static final float Vars; \n" +
- " public static final float Lines; \n" +
- " public static final float Source; \n" +
- " public static final float UnreachableCode; \n" +
- " public static final float produceDebugAttributes; \n" +
- " void foo() {\n" +
- " int locale, \n" +
- " errorThreshold, \n" +
- " preserveAllLocalVariables; \n" +
- " return new Y[] {\n" +
- " new Y(\n" +
- " \"debug.vars\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Vars)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"debug.lines\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Lines)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"debug.source\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Source)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"debug.preserveAllLocals\", \n" +
- " this, \n" +
- " locale, \n" +
- " preserveAllLocalVariables\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"optionalError.unReachableCode\", \n" +
- " this, \n" +
- " locale, \n" +
- " (errorThreshold\n" +
- " & UnreachableCode)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1)\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on argument of anonymous type declaration>";
- String completeBehind = "t";
- String expectedCompletionNodeToString = "<CompleteOnName:t>";
- String completionIdentifier = "t";
- String expectedReplacedSource = "this";
- int cursorLocation = str.indexOf("this, ") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import p2.Y;\n" +
- "public class X {\n" +
- " public static final float Vars;\n" +
- " public static final float Lines;\n" +
- " public static final float Source;\n" +
- " public static final float UnreachableCode;\n" +
- " public static final float produceDebugAttributes;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int locale;\n" +
- " int errorThreshold;\n" +
- " int preserveAllLocalVariables;\n" +
- " new Y(\"debug.vars\", <CompleteOnName:t>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testX_1FGGV8C_2() {
- String str =
- "package p; \n" +
- "import p2.YZA; \n" +
- "/**\n" +
- " * 1FGGV8C and 1FGPE8E\n" +
- " */\n" +
- "public class X {\n" +
- " public static final float Vars; \n" +
- " public static final float Lines; \n" +
- " public static final float Source; \n" +
- " public static final float UnreachableCode; \n" +
- " public static final float produceDebugAttributes; \n" +
- " void foo() {\n" +
- " int locale, \n" +
- " errorThreshold, \n" +
- " preserveAllLocalVariables; \n" +
- " return new YZA[] {\n" +
- " new YZA(\n" +
- " \"debug.vars\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Vars)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new YZA(\n" +
- " \"debug.lines\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Lines)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new YZA(\n" +
- " \"debug.source\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Source)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new YZA(\n" +
- " \"debug.preserveAllLocals\", \n" +
- " this, \n" +
- " locale, \n" +
- " preserveAllLocalVariables\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new YZA(\n" +
- " \"optionalError.unReachableCode\", \n" +
- " this, \n" +
- " locale, \n" +
- " (errorThreshold\n" +
- " & UnreachableCode)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1)\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on anonymous type declaration into a return statement>";
- String completeBehind = "Y";
- String expectedCompletionNodeToString = "<CompleteOnType:Y>";
- String completionIdentifier = "Y";
- String expectedReplacedSource = "YZA";
- int cursorLocation = str.indexOf("YZA[]") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import p2.YZA;\n" +
- "public class X {\n" +
- " public static final float Vars;\n" +
- " public static final float Lines;\n" +
- " public static final float Source;\n" +
- " public static final float UnreachableCode;\n" +
- " public static final float produceDebugAttributes;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int locale;\n" +
- " int errorThreshold;\n" +
- " int preserveAllLocalVariables;\n" +
- " return new <CompleteOnType:Y>();\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testX_1FGGV8C_3() {
- String str =
- "package p; \n" +
- "import p2.YZA; \n" +
- "/**\n" +
- " * 1FGGV8C and 1FGPE8E\n" +
- " */\n" +
- "public class X {\n" +
- " public static final float Vars; \n" +
- " public static final float Lines; \n" +
- " public static final float Source; \n" +
- " public static final float UnreachableCode; \n" +
- " public static final float produceDebugAttributes; \n" +
- " void foo() {\n" +
- " int locale, \n" +
- " errorThreshold, \n" +
- " preserveAllLocalVariables; \n" +
- " return new YZA[] {\n" +
- " new YZA(\n" +
- " \"debug.vars\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Vars)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new YZA(\n" +
- " \"debug.lines\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Lines)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new YZA(\n" +
- " \"debug.source\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Source)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new YZA(\n" +
- " \"debug.preserveAllLocals\", \n" +
- " this, \n" +
- " locale, \n" +
- " preserveAllLocalVariables\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new YZA(\n" +
- " \"optionalError.unReachableCode\", \n" +
- " this, \n" +
- " locale, \n" +
- " (errorThreshold\n" +
- " & UnreachableCode)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1)\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on anonymous type declaration nested into an array initializer>";
- String completeBehind = "Y";
- String expectedCompletionNodeToString = "<CompleteOnType:Y>";
- String completionIdentifier = "Y";
- String expectedReplacedSource = "YZA";
- int cursorLocation = str.indexOf("YZA(") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import p2.YZA;\n" +
- "public class X {\n" +
- " public static final float Vars;\n" +
- " public static final float Lines;\n" +
- " public static final float Source;\n" +
- " public static final float UnreachableCode;\n" +
- " public static final float produceDebugAttributes;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int locale;\n" +
- " int errorThreshold;\n" +
- " int preserveAllLocalVariables;\n" +
- " new YZA[]{new <CompleteOnType:Y>()};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testX_1FGGV8C_4() {
- String str =
- "package p; \n" +
- "import p2.Y; \n" +
- "/**\n" +
- " * 1FGGV8C and 1FGPE8E\n" +
- " */\n" +
- "public class X {\n" +
- " public static final float Vars; \n" +
- " public static final float Lines; \n" +
- " public static final float Source; \n" +
- " public static final float UnreachableCode; \n" +
- " public static final float produceDebugAttributes; \n" +
- " void foo() {\n" +
- " int locale, \n" +
- " errorThreshold, \n" +
- " preserveAllLocalVariables; \n" +
- " return new Y[] {\n" +
- " new Y(\n" +
- " \"debug.vars\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Vars)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"debug.lines\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Lines)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"debug.source\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Source)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"debug.preserveAllLocals\", \n" +
- " this, \n" +
- " locale, \n" +
- " preserveAllLocalVariables\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"optionalError.unReachableCode\", \n" +
- " this, \n" +
- " locale, \n" +
- " (errorThreshold\n" +
- " & UnreachableCode)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1)\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field into array intializer>";
- String completeBehind = "n";
- String expectedCompletionNodeToString = "<CompleteOnName:n>";
- String completionIdentifier = "n";
- String expectedReplacedSource = "new";
- int cursorLocation = str.indexOf("new Y(") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import p2.Y;\n" +
- "public class X {\n" +
- " public static final float Vars;\n" +
- " public static final float Lines;\n" +
- " public static final float Source;\n" +
- " public static final float UnreachableCode;\n" +
- " public static final float produceDebugAttributes;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int locale;\n" +
- " int errorThreshold;\n" +
- " int preserveAllLocalVariables;\n" +
- " new Y[]{<CompleteOnName:n>};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testX_1FGPE8E() {
- String str =
- "package p; \n" +
- "import p2.Y; \n" +
- "/**\n" +
- " * 1FGGV8C and 1FGPE8E\n" +
- " */\n" +
- "public class X {\n" +
- " public static final float Vars; \n" +
- " public static final float Lines; \n" +
- " public static final float Source; \n" +
- " public static final float UnreachableCode; \n" +
- " public static final float produceDebugAttributes; \n" +
- " void foo() {\n" +
- " int locale, \n" +
- " errorThreshold, \n" +
- " preserveAllLocalVariables; \n" +
- " return new Y[] {\n" +
- " new Y(\n" +
- " \"debug.vars\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Vars)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"debug.lines\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Lines)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"debug.source\", \n" +
- " this, \n" +
- " locale, \n" +
- " (produceDebugAttributes\n" +
- " & Source)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"debug.preserveAllLocals\", \n" +
- " this, \n" +
- " locale, \n" +
- " preserveAllLocalVariables\n" +
- " ? 0\n" +
- " : 1), \n" +
- " new Y(\n" +
- " \"optionalError.unReachableCode\", \n" +
- " this, \n" +
- " locale, \n" +
- " (errorThreshold\n" +
- " & UnreachableCode)\n" +
- " != 0\n" +
- " ? 0\n" +
- " : 1)\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field into return statement>";
- String completeBehind = "n";
- String expectedCompletionNodeToString = "<CompleteOnName:n>";
- String completionIdentifier = "n";
- String expectedReplacedSource = "new";
- int cursorLocation = str.indexOf("new Y[]") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import p2.Y;\n" +
- "public class X {\n" +
- " public static final float Vars;\n" +
- " public static final float Lines;\n" +
- " public static final float Source;\n" +
- " public static final float UnreachableCode;\n" +
- " public static final float produceDebugAttributes;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int locale;\n" +
- " int errorThreshold;\n" +
- " int preserveAllLocalVariables;\n" +
- " return <CompleteOnName:n>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-// Disabled since javadoc completion has been implemented
-public void _testXA_1FGGUQF_1FHSL8H_1() {
- String str =
- "// int\n" +
- "package p; \n" +
- "/**\n" +
- " * 1FGGUQF and 1FHSL8H\n" +
- " */\n" +
- "/**\n" +
- " * int\n" +
- " */\n" +
- "/*\n" +
- " * int\n" +
- " */\n" +
- "// int\n" +
- "/**\n" +
- "int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- "/**\n" +
- " * int\n" +
- " */\n" +
- "public class XA {\n" +
- " // int\n" +
- " /* int */\n" +
- " /** int */\n" +
- " /**\n" +
- " int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- " void /* int */\n" +
- " foo() {\n" +
- " // int\n" +
- " /* int */\n" +
- " /** int */\n" +
- " }\n" +
- " /**\n" +
- " int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- " int field /* int */\n" +
- " ;\n" +
- " /*\n" +
- " int\n" +
- " */\n" +
- " static {\n" +
- " // int\n" +
- " }\n" +
- "}\n" +
- "// int\n" +
- "/* int */\n" +
- "/** int */\n";
-
- String testName = "<complete on comment>";
- String completeBehind = "int.";
- String expectedCompletionNodeToString = NONE;
- String completionIdentifier = "";
- String expectedReplacedSource = NONE;
- int cursorLocation = str.indexOf("int.\n") + completeBehind.length() - 1;
- String expectedUnitDisplayString = null;
-
- try {
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
- assertTrue("failed to detect invalid cursor location", false);
- } catch(InvalidCursorLocation e){
- assertEquals("invalid cursor location: ", e.irritant, InvalidCursorLocation.NO_COMPLETION_INSIDE_COMMENT);
- }
-}
-public void testXA_1FGGUQF_1FHSL8H_2() {
- String str =
- "// int\n" +
- "package p; \n" +
- "/**\n" +
- " * 1FGGUQF and 1FHSL8H\n" +
- " */\n" +
- "/**\n" +
- " * int\n" +
- " */\n" +
- "/*\n" +
- " * int\n" +
- " */\n" +
- "// int\n" +
- "/**\n" +
- "int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- "/**\n" +
- " * int\n" +
- " */\n" +
- "public class XA {\n" +
- " // int\n" +
- " /* int */\n" +
- " /** int */\n" +
- " /**\n" +
- " int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- " void /* int */\n" +
- " foo() {\n" +
- " // int\n" +
- " /* int */\n" +
- " /** int */\n" +
- " }\n" +
- " /**\n" +
- " int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- " int field /* int */\n" +
- " ;\n" +
- " /*\n" +
- " int\n" +
- " */\n" +
- " static {\n" +
- " // int\n" +
- " }\n" +
- "}\n" +
- "// int\n" +
- "/* int */\n" +
- "/** int */\n";
-
- String testName = "<complete on comment>";
- String completeBehind = "i";
- String expectedCompletionNodeToString = NONE;
- String completionIdentifier = "";
- String expectedReplacedSource = NONE;
- int cursorLocation = str.indexOf("int\n") + completeBehind.length() - 1;
- String expectedUnitDisplayString = null;
-
- try {
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
- assertTrue("failed to detect invalid cursor location", false);
- } catch(InvalidCursorLocation e){
- assertEquals("invalid cursor location: ", e.irritant, InvalidCursorLocation.NO_COMPLETION_INSIDE_COMMENT);
- }
-}
-public void testXA_1FGGUQF_1FHSL8H_3() {
- String str =
- "// int\n" +
- "package p; \n" +
- "/**\n" +
- " * 1FGGUQF and 1FHSL8H\n" +
- " */\n" +
- "/**\n" +
- " * int\n" +
- " */\n" +
- "/*\n" +
- " * int\n" +
- " */\n" +
- "// int\n" +
- "/**\n" +
- "int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- "/**\n" +
- " * int\n" +
- " */\n" +
- "public class XA {\n" +
- " // int\n" +
- " /* int */\n" +
- " /** int */\n" +
- " /**\n" +
- " int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- " void /* int */ foo() {\n" +
- " // int\n" +
- " /* int */\n" +
- " /** int */\n" +
- " }\n" +
- " /**\n" +
- " int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- " int field /* int */\n" +
- " ;\n" +
- " /*\n" +
- " int\n" +
- " */\n" +
- " static {\n" +
- " // int\n" +
- " }\n" +
- "}\n" +
- "// int\n" +
- "/* int */\n" +
- "/** int */\n";
-
- String testName = "<complete on comment>";
- String completeBehind = "i";
- String expectedCompletionNodeToString = NONE;
- String completionIdentifier = "";
- String expectedReplacedSource = NONE;
- int cursorLocation = str.indexOf("int */") + completeBehind.length() - 1;
- String expectedUnitDisplayString = null;
-
- try {
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
- assertTrue("failed to detect invalid cursor location", false);
- } catch(InvalidCursorLocation e){
- assertEquals("invalid cursor location: ", e.irritant, InvalidCursorLocation.NO_COMPLETION_INSIDE_COMMENT);
- }
-}
-public void testXA_1FGGUQF_1FHSL8H_4() {
- String str =
- "// int\n" +
- "package p; \n" +
- "/**\n" +
- " * 1FGGUQF and 1FHSL8H\n" +
- " */\n" +
- "/**\n" +
- " * int\n" +
- " */\n" +
- "/*\n" +
- " * int\n" +
- " */\n" +
- "// int\n" +
- "/**\n" +
- "int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- "/**\n" +
- " * int\n" +
- " */\n" +
- "public class XA {\n" +
- " // int\n" +
- " /* int */\n" +
- " /** int */\n" +
- " /**\n" +
- " int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- " void /* int */ foo() {\n" +
- " // int\n" +
- " /* int */\n" +
- " /** int */\n" +
- " }\n" +
- " /**\n" +
- " int.\n" +
- " * Internal API used to resolve a compilation unit minimally for code assist engine\n" +
- " */\n" +
- " int field /* int */\n" +
- " ;\n" +
- " /*\n" +
- " int\n" +
- " */\n" +
- " static {\n" +
- " // int\n" +
- " }\n" +
- "}\n" +
- "// int\n" +
- "/* int */\n" +
- "/** int */\n";
-
- String testName = "<complete on comment>";
- String completeBehind = "i";
- String expectedCompletionNodeToString = NONE;
- String completionIdentifier = "";
- String expectedReplacedSource = NONE;
- int cursorLocation = str.indexOf("int */ foo()") + completeBehind.length() - 1;
- String expectedUnitDisplayString = null;
-
- try {
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
- assertTrue("failed to detect invalid cursor location", false);
- } catch(InvalidCursorLocation e){
- assertEquals("invalid cursor location: ", e.irritant, InvalidCursorLocation.NO_COMPLETION_INSIDE_COMMENT);
- }
-}
-public void testXB_1FIYM5I_1() {
- String str =
- "package p; \n" +
- "/*\n" +
- " * 1FIYM5I\n" +
- " */\n" +
- "public class XB\n" +
- " extends java.io.File {\n" +
- " void foo() {\n" +
- " XB xb = new XB();\n" +
- " this.separator.;\n" +
- " this.bar().;\n" +
- " }\n" +
- " String bar() {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of explicit this access>";
- String completeBehind = "this.s";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:this.s>";
- String completionIdentifier = "s";
- String expectedReplacedSource = "this.separator";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class XB extends java.io.File {\n" +
- " public XB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " XB xb;\n" +
- " <CompleteOnMemberAccess:this.s>;\n" +
- " }\n" +
- " String bar() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testXB_1FIYM5I_2() {
- String str =
- "package p; \n" +
- "/*\n" +
- " * 1FIYM5I\n" +
- " */\n" +
- "public class XB\n" +
- " extends java.io.File {\n" +
- " void foo() {\n" +
- " XB xb = new XB();\n" +
- " this.separator.;\n" +
- " this.bar().;\n" +
- " }\n" +
- " String bar() {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of explicitly accessed field>";
- String completeBehind = "this.separator.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:this.separator.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class XB extends java.io.File {\n" +
- " public XB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " XB xb;\n" +
- " <CompleteOnMemberAccess:this.separator.>;\n" +
- " }\n" +
- " String bar() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testXB_1FIYM5I_3() {
- String str =
- "package p; \n" +
- "/*\n" +
- " * 1FIYM5I\n" +
- " */\n" +
- "public class XB\n" +
- " extends java.io.File {\n" +
- " void foo() {\n" +
- " XB xb = new XB();\n" +
- " this.separator.;\n" +
- " this.bar().;\n" +
- " }\n" +
- " String bar() {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of explicit this access>";
- String completeBehind = "this.b";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:this.b>";
- String completionIdentifier = "b";
- String expectedReplacedSource = "this.bar";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class XB extends java.io.File {\n" +
- " public XB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " XB xb;\n" +
- " <CompleteOnMemberAccess:this.b>;\n" +
- " }\n" +
- " String bar() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testXB_1FIYM5I_4() {
- String str =
- "package p; \n" +
- "/*\n" +
- " * 1FIYM5I\n" +
- " */\n" +
- "public class XB\n" +
- " extends java.io.File {\n" +
- " void foo() {\n" +
- " XB xb = new XB();\n" +
- " this.separator.;\n" +
- " this.bar().;\n" +
- " }\n" +
- " String bar() {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field of explicitly accessed method>";
- String completeBehind = "this.bar().";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:this.bar().>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class XB extends java.io.File {\n" +
- " public XB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " XB xb;\n" +
- " <CompleteOnMemberAccess:this.bar().>;\n" +
- " }\n" +
- " String bar() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testY_1FGPESI() {
- String str =
- "package p; \n" +
- "import p2.; \n" +
- "/**\n" +
- " * 1FGPESI\n" +
- " */\n" +
- "public class Y {\n" +
- "}\n";
-
- String testName = "<complete on imports>";
- String completeBehind = "p2.";
- String expectedCompletionNodeToString = "<CompleteOnImport:p2.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "p2.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import <CompleteOnImport:p2.>;\n" +
- "public class Y {\n" +
- " public Y() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testYA_1FGRIUH() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGRIUH\n" +
- " */\n" +
- "public class YA\n" +
- " extends YASecondTopLevel {\n" +
- " void eFoo() {\n" +
- " }\n" +
- " class YAMember {\n" +
- " void eFoo() {\n" +
- " }\n" +
- " void eBar() {\n" +
- " e }\n" +
- " }\n" +
- "}\n" +
- "class YASecondTopLevel {\n" +
- " public boolean equals(YA yaya) {\n" +
- " return true;\n" +
- " }\n" +
- " public eFoo() {\n" +
- " }\n" +
- " public void eFooBar() {\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete on method/field>";
- String completeBehind = "e";
- String expectedCompletionNodeToString = "<CompleteOnName:e>";
- String completionIdentifier = "e";
- String expectedReplacedSource = "e";
- int cursorLocation = str.indexOf("e }") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class YA extends YASecondTopLevel {\n" +
- " class YAMember {\n" +
- " YAMember() {\n" +
- " }\n" +
- " void eFoo() {\n" +
- " }\n" +
- " void eBar() {\n" +
- " <CompleteOnName:e>;\n" +
- " }\n" +
- " }\n" +
- " public YA() {\n" +
- " }\n" +
- " void eFoo() {\n" +
- " }\n" +
- "}\n" +
- "class YASecondTopLevel {\n" +
- " YASecondTopLevel() {\n" +
- " }\n" +
- " public boolean equals(YA yaya) {\n" +
- " }\n" +
- " public eFoo() {\n" +
- " }\n" +
- " public void eFooBar() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testYB_1FJ4D46_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FJ4D46\n" +
- " */\n" +
- "public class YB {\n" +
- " void foo() {\n" +
- " new String(\"asdf\".getBytes()).}\n" +
- "}\n";
-
- String testName = "<complete on method/field of object creation>";
- String completeBehind = "new String(\"asdf\".getBytes()).";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:new String(\"asdf\".getBytes()).>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class YB {\n" +
- " public YB() {\n" +
- " }\n" +
- " void foo() {\n" +
- " <CompleteOnMemberAccess:new String(\"asdf\".getBytes()).>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testZ_1FGPF3D_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGPF3D\n" +
- " */\n" +
- "public class Z imp Pro.Sev, \n" +
- " Bla.Blo {\n" +
- "}\n";
-
- String testName = "<complete on implements keyword>";
- String completeBehind = "imp";
- String expectedCompletionNodeToString = "<CompleteOnKeyword:imp>";
- String completionIdentifier = "imp";
- String expectedReplacedSource = "imp";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class Z extends <CompleteOnKeyword:imp> {\n" +
- " {\n" +
- " }\n" +
- " public Z() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testZ_1FGPF3D_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FGPF3D\n" +
- " */\n" +
- "public class Z implements Pro.Sev, \n" +
- " Bla.Blo {\n" +
- "}\n";
-
- String testName = "<complete on implented interface>";
- String completeBehind = "P";
- String expectedCompletionNodeToString = "<CompleteOnInterface:P>";
- String completionIdentifier = "P";
- String expectedReplacedSource = "Pro";
- int cursorLocation = str.indexOf("Pro.Sev") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class Z implements <CompleteOnInterface:P>, Bla.Blo {\n" +
- " public Z() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testZA_1() {
- String str =
- "package p; \n" +
- "import java.util.Vector;\n";
-
- String testName = "<complete on import keyword>";
- String completeBehind = "i";
- String expectedCompletionNodeToString = "<CompleteOnKeyword:i>";
- String completionIdentifier = "i";
- String expectedReplacedSource = "import";
- int cursorLocation = str.indexOf("import") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import <CompleteOnKeyword:i>;\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testZA_2() {
- String str =
- "package p; \n" +
- "import java.util.Vector;\n";
-
- String testName = "<complete on imported package>";
- String completeBehind = "jav";
- String expectedCompletionNodeToString = "<CompleteOnImport:jav>";
- String completionIdentifier = "jav";
- String expectedReplacedSource = "java.util.Vector";
- int cursorLocation = str.indexOf("java.util.Vector") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import <CompleteOnImport:jav>;\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testZA_3() {
- String str =
- "package p; \n" +
- "import java.util.Vector;\n";
-
- String testName = "<complete on imported type>";
- String completeBehind = "java.util.V";
- String expectedCompletionNodeToString = "<CompleteOnImport:java.util.V>";
- String completionIdentifier = "V";
- String expectedReplacedSource = "java.util.Vector";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import <CompleteOnImport:java.util.V>;\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testZB_1FJ4D46_1() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FJ4D46\n" +
- " */\n" +
- "import java.util.zip.CRC32;\n" +
- "import java.io.*;\n" +
- "public class ZB {\n" +
- " public static void main(\n" +
- " java.lang.String[] args) {\n" +
- " File file = \n" +
- " new File(\"d:\\\\314\"); \n" +
- " CRC32 crc = new CRC32();\n" +
- " file.}\n" +
- "}\n";
-
- String testName = "<complete on method/field of local variable>";
- String completeBehind = "file.";
- String expectedCompletionNodeToString = "<CompleteOnName:file.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "file.";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import java.util.zip.CRC32;\n" +
- "import java.io.*;\n" +
- "public class ZB {\n" +
- " public ZB() {\n" +
- " }\n" +
- " public static void main(java.lang.String[] args) {\n" +
- " File file;\n" +
- " CRC32 crc;\n" +
- " <CompleteOnName:file.>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-public void testZB_1FJ4D46_2() {
- String str =
- "package p; \n" +
- "/**\n" +
- " * 1FJ4D46\n" +
- " */\n" +
- "import java.util.zip.CRC32;\n" +
- "import java.io.*;\n" +
- "public class ZB {\n" +
- " public static void main(\n" +
- " java.lang.String[] args) {\n" +
- " File file = \n" +
- " new File(\"d:\\\\314\"); \n" +
- " CRC32 crc = new CRC32();\n" +
- " file.}\n" +
- "}\n";
-
- String testName = "<complete on local variable type>";
- String completeBehind = "CRC";
- String expectedCompletionNodeToString = "<CompleteOnName:CRC>";
- String completionIdentifier = "CRC";
- String expectedReplacedSource = "CRC32";
- int cursorLocation = str.indexOf("CRC32 crc") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "import java.util.zip.CRC32;\n" +
- "import java.io.*;\n" +
- "public class ZB {\n" +
- " public ZB() {\n" +
- " }\n" +
- " public static void main(java.lang.String[] args) {\n" +
- " File file;\n" +
- " <CompleteOnName:CRC>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Complete in initializer
- */
-public void test001(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int v1;\n" +
- " {\n" +
- " Obj\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete in initializer>";
- String completeBehind = "Obj";
- String expectedCompletionNodeToString = "<CompleteOnName:Obj>";
- String completionIdentifier = "Obj";
- String expectedReplacedSource = "Obj";
- int cursorLocation = str.indexOf("Obj") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int v1;\n" +
- " {\n" +
- " <CompleteOnName:Obj>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Complete after initializer
- */
-public void test002(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int v1;\n" +
- " {\n" +
- " int v2\n" +
- " }\n" +
- " Obj" +
- " }\n" +
- "}\n";
-
- String testName = "<complete after initializer>";
- String completeBehind = "Obj";
- String expectedCompletionNodeToString = "<CompleteOnName:Obj>";
- String completionIdentifier = "Obj";
- String expectedReplacedSource = "Obj";
- int cursorLocation = str.indexOf("Obj") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int v1;\n" +
- " <CompleteOnName:Obj>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Complete in initializer
- */
-public void test003(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int v1;\n" +
- " {\n" +
- " this.\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete in initializer>";
- String completeBehind = "this.";
- String expectedCompletionNodeToString = "<CompleteOnMemberAccess:this.>";
- String completionIdentifier = "";
- String expectedReplacedSource = "this.";
- int cursorLocation = str.indexOf("this.") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int v1;\n" +
- " {\n" +
- " <CompleteOnMemberAccess:this.>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-/**
- * Complete in switch
- */
-public void test004(){
- String str =
- "public class X {\n" +
- " final static int ZZZ = 1;\n"+
- " void foo(){\n" +
- " switch(2)\n" +
- " case 0 + ZZZ :\n" +
- " case 1 + ZZZ :\n" +
- " bar(ZZZ)\n" +
- " }\n" +
- " void bar(int y) {}\n"+
- "}\n";
-
- String testName = "<complete in switch>";
- String completeBehind = "ZZZ";
- String expectedCompletionNodeToString = "<CompleteOnName:ZZZ>";
- String completionIdentifier = "ZZZ";
- String expectedReplacedSource = "ZZZ";
- int cursorLocation = str.lastIndexOf("ZZZ") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class X {\n" +
- " static final int ZZZ;\n" +
- " <clinit>() {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " bar(<CompleteOnName:ZZZ>);\n" +
- " }\n" +
- " void bar(int y) {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Complete in method type.
- */
-public void test005(){
- String str =
- "public class X {\n" +
- " clon foo(){\n" +
- " }\n" +
- "}\n";
-
- String testName = "<complete in method type>";
- String completeBehind = "clon";
- String expectedCompletionNodeToString = "<CompleteOnType:clon>";
- String completionIdentifier = "clon";
- String expectedReplacedSource = "clon";
- int cursorLocation = str.lastIndexOf("clon") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " <CompleteOnType:clon>\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Complete in method type.
- */
-public void test006(){
- String str =
- "public class X {\n" +
- " clon\n" +
- " foo();\n" +
- "}\n";
-
- String testName = "<complete in method type>";
- String completeBehind = "clon";
- String expectedCompletionNodeToString = "<CompleteOnType:clon>;";
- String completionIdentifier = "clon";
- String expectedReplacedSource = "clon";
- int cursorLocation = str.lastIndexOf("clon") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class X {\n" +
- " <CompleteOnType:clon>;\n" +
- " public X() {\n" +
- " }\n" +
- " foo();\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Complete in field type.
- */
-public void test007(){
- String str =
- "public class X {\n" +
- " clon x;\n" +
- "}\n";
-
- String testName = "<complete in field type>";
- String completeBehind = "clon";
- String expectedCompletionNodeToString = "<CompleteOnType:clon>;";
- String completionIdentifier = "clon";
- String expectedReplacedSource = "clon";
- int cursorLocation = str.lastIndexOf("clon") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class X {\n" +
- " <CompleteOnType:clon>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Complete in field type.
- */
-public void test008(){
- String str =
- "public class X {\n" +
- " clon\n" +
- " x;\n" +
- "}\n";
-
- String testName = "<complete in field type>";
- String completeBehind = "clon";
- String expectedCompletionNodeToString = "<CompleteOnType:clon>;";
- String completionIdentifier = "clon";
- String expectedReplacedSource = "clon";
- int cursorLocation = str.lastIndexOf("clon") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class X {\n" +
- " <CompleteOnType:clon>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Complete in field type.
- */
-public void test009(){
- String str =
- "public class X {\n" +
- " clon\n" +
- " x y;\n" +
- "}\n";
-
- String testName = "<complete in field tpye>";
- String completeBehind = "clon";
- String expectedCompletionNodeToString = "<CompleteOnType:clon>;";
- String completionIdentifier = "clon";
- String expectedReplacedSource = "clon";
- int cursorLocation = str.lastIndexOf("clon") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class X {\n" +
- " <CompleteOnType:clon>;\n" +
- " x y;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * Complete in method type.
- */
-public void test010(){
- String str =
- "public class X {\n" +
- " clon\n" +
- " x y(){}\n" +
- "}\n";
-
- String testName = "<complete in method type>";
- String completeBehind = "clon";
- String expectedCompletionNodeToString = "<CompleteOnType:clon>;";
- String completionIdentifier = "clon";
- String expectedReplacedSource = "clon";
- int cursorLocation = str.lastIndexOf("clon") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class X {\n" +
- " <CompleteOnType:clon>;\n" +
- " public X() {\n" +
- " }\n" +
- " x y() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * http://dev.eclipse.org/bugs/show_bug.cgi?id=25233
- */
-public void test011(){
- String str =
- "public class X {\n" +
- " void foo() {\n" +
- " new Object[]{\n" +
- " bar(zzz)\n" +
- " };\n" +
- " }\n" +
- "}\n";
-
- String testName = "<bug 25233>";
- String completeBehind = "zzz";
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- int cursorLocation = str.lastIndexOf("zzz") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " bar(<CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * http://dev.eclipse.org/bugs/show_bug.cgi?id=27370
- */
-public void test012(){
- String str =
- "public class X {\n" +
- " public X() {\n" +
- " super();\n" +
- " }\n" +
- " Object o = new ZZZ\n" +
- "}\n";
-
- String testName = "<bug 27370>";
- String completeBehind = "ZZZ";
- String expectedCompletionNodeToString = "<CompleteOnType:ZZZ>";
- String completionIdentifier = "ZZZ";
- String expectedReplacedSource = "ZZZ";
- int cursorLocation = str.lastIndexOf("ZZZ") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class X {\n" +
- " Object o = new <CompleteOnType:ZZZ>();\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * http://dev.eclipse.org/bugs/show_bug.cgi?id=27735
- */
-public void test013(){
- String str =
- "public class Bar {\n" +
- " #\n" +
- " Bar foo1 = new Bar(){};\n" +
- " {int i;}\n" +
- " synchronized void foo3() {}\n" +
- " zzz\n" +
- "}\n";
-
- String testName = "<bug 27735>";
- String completeBehind = "zzz";
- String expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- int cursorLocation = str.lastIndexOf("zzz") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class Bar {\n" +
- " Bar foo1;\n" +
- " {\n" +
- " }\n" +
- " <CompleteOnType:zzz>;\n" +
- " public Bar() {\n" +
- " }\n" +
- " synchronized void foo3() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * http://dev.eclipse.org/bugs/show_bug.cgi?id=27941
- */
-public void test014(){
- String str =
- "public class Bar {\n" +
- " void foo() {\n" +
- " String s = \"a\" + \"b\";\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String testName = "<bug 27941>";
- String completeBehind = "zzz";
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- int cursorLocation = str.lastIndexOf("zzz") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class Bar {\n" +
- " public Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " String s;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * http://dev.eclipse.org/bugs/show_bug.cgi?id=39502
- */
-public void test015(){
- String str =
- "public class Bar {\n" +
- " void foo() {\n" +
- " Object o = new Object[]{};\n" +
- " foo();\n" +
- " }\n" +
- "}\n";
-
- String testName = "<bug 39502>";
- String completeBehind = "foo(";
- String expectedCompletionNodeToString = "<CompleteOnMessageSend:foo()>";
- String completionIdentifier = "";
- String expectedReplacedSource = "foo(";
- int cursorLocation = str.lastIndexOf("foo(") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class Bar {\n" +
- " public Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " <CompleteOnMessageSend:foo()>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-/**
- * http://dev.eclipse.org/bugs/show_bug.cgi?id=39502
- */
-public void test016(){
- String str =
- "public class Bar {\n" +
- " void foo() {\n" +
- " Object o = new Object[0];\n" +
- " foo();\n" +
- " }\n" +
- "}\n";
-
- String testName = "<bug 39502>";
- String completeBehind = "foo(";
- String expectedCompletionNodeToString = "<CompleteOnMessageSend:foo()>";
- String completionIdentifier = "";
- String expectedReplacedSource = "foo(";
- int cursorLocation = str.lastIndexOf("foo(") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class Bar {\n" +
- " public Bar() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " <CompleteOnMessageSend:foo()>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-public void test017(){
- String str =
- "public class Bar {\n" +
- " String s;\n" +
- " /**/\n" +
- "}\n";
-
- String testName = "";
- String completeBehind = "/**/";
- String expectedCompletionNodeToString = "<CompleteOnType:>";
- String completionIdentifier = "";
- String expectedReplacedSource = "";
- int cursorLocation = str.lastIndexOf("/**/") + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "public class Bar {\n" +
- " String s;\n" +
- " <CompleteOnType:>;\n" +
- " public Bar() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-public void testRECOVERY001() {
- String str =
- "var foo;\n" +
- "if (f) {\n";
-
- String testName = "<complete on name inside if>";
- String completeBehind = "(f";
- String expectedCompletionNodeToString = "<CompleteOnName:f>";
- String completionIdentifier = "f";
- String expectedReplacedSource = "f";
- int cursorLocation = str.indexOf(completeBehind) + completeBehind.length() - 1;
- String expectedUnitDisplayString =
- "var foo;\n" +
- "if (<CompleteOnName:f>)\n" +
- "\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- testName);
-}
-
-}
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/CompletionParserTest2.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/CompletionParserTest2.java
deleted file mode 100644
index 866e47b..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/CompletionParserTest2.java
+++ /dev/null
@@ -1,9671 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core.tests.compiler.parser;
-
-import junit.framework.Test;
-
-public class CompletionParserTest2 extends AbstractCompletionTest {
-public CompletionParserTest2(String testName) {
- super(testName);
-}
-public static Test suite() {
- return buildAllCompliancesTestSuite(CompletionParserTest2.class);
-}
-public void test0001(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object o = zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "Object o = <CompleteOnName:zzz>;";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = <CompleteOnName:zzz>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-public void test0002(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object o = <CompleteOnName:zzz>;";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0003(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object o = <CompleteOnName:zzz>;";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0004(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object o = zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "Object o = <CompleteOnName:zzz>;";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = <CompleteOnName:zzz>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-public void test0005(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object o = <CompleteOnName:zzz>;";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0006(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object o = <CompleteOnName:zzz>;";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0007(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- String expectedParentNodeToString = "Object o = new <CompleteOnType:zzz>();";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new <CompleteOnType:zzz>();\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-public void test0008(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = new zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- expectedParentNodeToString = "Object o = new <CompleteOnType:zzz>();";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = new <CompleteOnType:zzz>();\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0009(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o = new zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- expectedParentNodeToString = "Object o = new <CompleteOnType:zzz>();";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = new <CompleteOnType:zzz>();\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0010(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object o = new zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- String expectedParentNodeToString = "Object o = new <CompleteOnType:zzz>();";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new <CompleteOnType:zzz>();\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-public void test0011(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = new zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- expectedParentNodeToString = "Object o = new <CompleteOnType:zzz>();";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o = new <CompleteOnType:zzz>();\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0012(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object o = new zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- expectedParentNodeToString = "Object o = new <CompleteOnType:zzz>();";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = new <CompleteOnType:zzz>();\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0013(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object o = yyy;\n" +
- " zzz\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " <CompleteOnType:zzz>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-public void test0014(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0015(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o = yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0016(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object o = yyy;\n" +
- " zzz\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " <CompleteOnType:zzz>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-public void test0017(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0018(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object o = yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0019(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object o = bar(zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "bar(<CompleteOnName:zzz>)";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = bar(<CompleteOnName:zzz>);\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-public void test0020(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = bar(zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "bar(<CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = bar(<CompleteOnName:zzz>);\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0021(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o = bar(zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "bar(<CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = bar(<CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0022(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object o = bar(zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "bar(<CompleteOnName:zzz>)";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = bar(<CompleteOnName:zzz>);\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-public void test0023(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = bar(zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "bar(<CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o = bar(<CompleteOnName:zzz>);\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0024(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object o = bar(zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "bar(<CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = bar(<CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0025(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new X(zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X(<CompleteOnName:zzz>)";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new X(<CompleteOnName:zzz>);\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-public void test0026(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = new X(zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X(<CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = new X(<CompleteOnName:zzz>);\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0027(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o = new X(zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X(<CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = new X(<CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0028(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object o = new X(zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X(<CompleteOnName:zzz>)";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new X(<CompleteOnName:zzz>);\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-public void test0029(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = new X(zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X(<CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o = new X(<CompleteOnName:zzz>);\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0030(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object o = new X(zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X(<CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = new X(<CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0031(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object o = {zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0032(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = {zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0033(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o = {zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0034(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object o = {zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0035(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = {zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0036(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object o = {zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0037(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = {zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "Object[] o = {<CompleteOnName:zzz>};";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = {<CompleteOnName:zzz>};\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-public void test0038(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object[] o = {zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object[] o = {<CompleteOnName:zzz>};";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object[] o = {<CompleteOnName:zzz>};\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0039(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object[] o = {zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object[] o = {<CompleteOnName:zzz>};";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] o = {<CompleteOnName:zzz>};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0040(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object[] o = {zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "Object[] o = {<CompleteOnName:zzz>};";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = {<CompleteOnName:zzz>};\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-public void test0041(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object[] o = {zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object[] o = {<CompleteOnName:zzz>};";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object[] o = {<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0042(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object[] o = {zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object[] o = {<CompleteOnName:zzz>};";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] o = {<CompleteOnName:zzz>};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0043(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = new X[zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = new X[<CompleteOnName:zzz>];\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-
-public void test0044(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object[] o = new X[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object[] o = new X[<CompleteOnName:zzz>];\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-
-public void test0045(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object[] o = new X[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] o = new X[<CompleteOnName:zzz>];\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-
-public void test0046(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object[] o = new X[zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = new X[<CompleteOnName:zzz>];\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-
-public void test0047(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object[] o = new X[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object[] o = new X[<CompleteOnName:zzz>];\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-
-public void test0048(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object[] o = new X[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] o = new X[<CompleteOnName:zzz>];\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0049(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = new X[]{zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = new X[]{<CompleteOnName:zzz>};\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-public void test0050(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object[] o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object[] o = new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0051(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object[] o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] o = new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0052(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object[] o = new X[]{zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = new X[]{<CompleteOnName:zzz>};\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-public void test0053(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object[] o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object[] o = new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0054(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object[] o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] o = new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0055(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "Object[] o = <CompleteOnName:zzz>;";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = <CompleteOnName:zzz>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-public void test0056(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object[] o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object[] o = <CompleteOnName:zzz>;";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object[] o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0057(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object[] o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object[] o = <CompleteOnName:zzz>;";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0058(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object[] o = zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "Object[] o = <CompleteOnName:zzz>;";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object[] o = <CompleteOnName:zzz>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-public void test0059(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object[] o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object[] o = <CompleteOnName:zzz>;";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object[] o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0060(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object[] o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "Object[] o = <CompleteOnName:zzz>;";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object[] o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0061(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new X[zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new X[<CompleteOnName:zzz>];\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-public void test0062(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = new X[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = new X[<CompleteOnName:zzz>];\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0063(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o = new X[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = new X[<CompleteOnName:zzz>];\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0064(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object o = new X[zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new X[<CompleteOnName:zzz>];\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-public void test0065(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = new X[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o = new X[<CompleteOnName:zzz>];\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0066(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object o = new X[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = new X[<CompleteOnName:zzz>];\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0067(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object o = new X[]{zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0068(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0069(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o = new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0070(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object o = new X[]{zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0071(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0072(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " Object o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0073(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " int o = new int[zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new int[<CompleteOnName:zzz>]";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " int o = new int[<CompleteOnName:zzz>];\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-public void test0074(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " int o = new int[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new int[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " int o = new int[<CompleteOnName:zzz>];\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0075(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int o = new int[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new int[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int o = new int[<CompleteOnName:zzz>];\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0076(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " int o = new int[zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new int[<CompleteOnName:zzz>]";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " int o = new int[<CompleteOnName:zzz>];\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-public void test0077(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " int o = new int[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new int[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " int o = new int[<CompleteOnName:zzz>];\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0078(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " int o = new int[zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new int[<CompleteOnName:zzz>]";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int o = new int[<CompleteOnName:zzz>];\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0079(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " int o = new int[]{zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " int o;\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " int o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0080(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " int o = new int[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new int[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " int o = new int[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0081(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int o = new int[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new int[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " new int[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new int[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int o = new int[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0082(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " int o = new int[]{zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " int o;\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " int o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0083(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " int o = new int[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " int o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0084(){
-
-
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " int o = new int[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new int[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " new int[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0085(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " X o = new X[]{zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " X o;\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " X o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0086(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " X o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " X o = new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0087(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " X o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " X o = new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0088(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " X o = new X[]{zzz;\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " X o;\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " X o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0089(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " X o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " X o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0090(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " #\n" +
- " X o = new X[]{zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- String expectedParentNodeToString = "new X[]{<CompleteOnName:zzz>}";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " {\n" +
- " new X[]{<CompleteOnName:zzz>};\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " X o;\n" +
- " {\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0091(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " Object o = \"yyy;\n" +
- " zzz\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " <CompleteOnType:zzz>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-public void test0092(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o = \"yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0093(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o = \"yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0094(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " #\n" +
- " Object o = \"yyy;\n" +
- " zzz\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "zzz";
- String expectedReplacedSource = "zzz";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " Object o;\n" +
- " <CompleteOnType:zzz>;\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-}
-
-
-public void test0095(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = \"yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-
-public void test0096(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " #\n" +
- " Object o = \"yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " {\n" +
- " {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- " }\n" +
- " public X() {\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0097(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o;\n" +
- " o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "o = <CompleteOnName:zzz>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0098(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o;\n" +
- " o = zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "o = <CompleteOnName:zzz>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " o = <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0099(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o;\n" +
- " o = new zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- expectedParentNodeToString = "o = new <CompleteOnType:zzz>()";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " o = new <CompleteOnType:zzz>();\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0100(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o;\n" +
- " o = new zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnType:zzz>";
- expectedParentNodeToString = "o = new <CompleteOnType:zzz>()";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " o = new <CompleteOnType:zzz>();\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0101(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o;\n" +
- " o = yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0102(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o;\n" +
- " o = yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0103(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o;\n" +
- " o = \"yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0104(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " Object o;\n" +
- " o = \"yyy;\n" +
- " zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " Object o;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-
-public void test0105(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int x = 1 + zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "(1 + <CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x = (1 + <CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0106(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int x = 1 + (zzz\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "(1 + <CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x = (1 + <CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0107(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int x = 0;\n" +
- " int y = 1 + x;\n" +
- " zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x;\n" +
- " int y;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0108(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int x = -zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "(- <CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x = (- <CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0109(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int x = -(zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "(- <CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x = (- <CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0110(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " int x = 0;\n" +
- " int y = -x;\n" +
- " zzz;\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "<NONE>";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " int x;\n" +
- " int y;\n" +
- " <CompleteOnName:zzz>;\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "full ast");
-}
-public void test0111(){
- String str =
- "package p;\n" +
- "public class X {\n" +
- " void foo(){\n" +
- " if(1 == zzz) {}\n" +
- " }\n" +
- "}\n";
-
- String completeBehind = "zzz";
- int cursorLocation = str.indexOf("zzz") + completeBehind.length() - 1;
-
- String expectedCompletionNodeToString = "<NONE>";
- String expectedParentNodeToString = "<NONE>";
- String completionIdentifier = "<NONE>";
- String expectedReplacedSource = "<NONE>";
- String expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " }\n" +
- "}\n";
-
- checkDietParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,
- "diet ast");
-
- expectedCompletionNodeToString = "<CompleteOnName:zzz>";
- expectedParentNodeToString = "(1 == <CompleteOnName:zzz>)";
- completionIdentifier = "zzz";
- expectedReplacedSource = "zzz";
- expectedUnitDisplayString =
- "package p;\n" +
- "public class X {\n" +
- " public X() {\n" +
- " }\n" +
- " void foo() {\n" +
- " (1 == <CompleteOnName:zzz>);\n" +
- " }\n" +
- "}\n";
-
- checkMethodParse(
- str.toCharArray(),
- cursorLocation,
- expectedCompletionNodeToString,
- expectedParentNodeToString,
- expectedUnitDisplayString,
- completionIdentifier,
- expectedReplacedSource,