Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

This commit was manufactured by cvs2svn to create tag 'v201103310001'.

  • Loading branch information...
commit 4fd92ef4d76da19487d81cf835cb3b7ec362f4fe 1 parent a4c0033
authored March 31, 2011

Showing 74 changed files with 0 additions and 101,522 deletions. Show diff stats Hide diff stats

  1. 7  tests/org.eclipse.wst.jsdt.core.tests.model/.classpath
  2. 2  tests/org.eclipse.wst.jsdt.core.tests.model/.cvsignore
  3. 28  tests/org.eclipse.wst.jsdt.core.tests.model/.project
  4. 4  tests/org.eclipse.wst.jsdt.core.tests.model/.settings/org.eclipse.core.resources.prefs
  5. 7  tests/org.eclipse.wst.jsdt.core.tests.model/.settings/org.eclipse.jdt.core.prefs
  6. 25  tests/org.eclipse.wst.jsdt.core.tests.model/META-INF/MANIFEST.MF
  7. 6  tests/org.eclipse.wst.jsdt.core.tests.model/META-INF/eclipse.inf
  8. 28  tests/org.eclipse.wst.jsdt.core.tests.model/about.html
  9. 18  tests/org.eclipse.wst.jsdt.core.tests.model/build.properties
  10. 19  tests/org.eclipse.wst.jsdt.core.tests.model/plugin.properties
  11. 67  tests/org.eclipse.wst.jsdt.core.tests.model/plugin.xml
  12. 59  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunCompilerTests.java
  13. 32  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunDOMTests.java
  14. 61  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunFormatterTests.java
  15. 35  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunJSDTCoreTests.java
  16. 32  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunModelTests.java
  17. 9,467  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterAST3Test.java
  18. 506  ...org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterBindingsTest.java
  19. 3,405  .../org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterJavadocTest.java
  20. 923  ...org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterRecoveryTest.java
  21. 8,795  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterTest.java
  22. 5,418  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterTest2.java
  23. 8,652  ...s/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterTestAST3_2.java
  24. 1,112  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTMatcherTest.java
  25. 1,419  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTModelBridgeTests.java
  26. 260  ...org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTNodesCollectorVisitor.java
  27. 116  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTParserTest.java
  28. 144  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTPositionsTest.java
  29. 348  ...rg.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTStructuralPropertyTest.java
  30. 7,191  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTTest.java
  31. 1,951  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTVisitorTest.java
  32. 548  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/AbstractASTTests.java
  33. 1,670  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/BatchASTCreationTests.java
  34. 429  ...org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/BindingsCollectorVisitor.java
  35. 787  .../org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/CompatibilityRulesTests.java
  36. 564  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ConverterTestSetup.java
  37. 29  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/GetKeyVisitor.java
  38. 350  ...g.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ProfilingASTConvertionTest.java
  39. 69  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/RunAllTests.java
  40. 66  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/RunConverterTests.java
  41. 276  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/SampleASTs.java
  42. 154  ...wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/DecodeCodeFormatterPreferences.java
  43. 9,245  ...lipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/FormatterRegressionTests.java
  44. 193  ...e.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/CommentFormatterUtil.java
  45. 114  ...clipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/CommentTestCase.java
  46. 31  ...ipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/CommentsTestSuite.java
  47. 703  ...clipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/JavaDocTestCase.java
  48. 204  ...ipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/MultiLineTestCase.java
  49. 197  ...pse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/comment/SingleLineTestCase.java
  50. 167  ...e.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AbstractJavaModelCompletionTests.java
  51. 2,261  ...org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AbstractJavaModelTests.java
  52. 607  ...rg.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AbstractJavaSearchTests.java
  53. 500  ...wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AbstractJavadocCompletionModelTest.java
  54. 1,023  ...rg.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AccessRestrictionsTests.java
  55. 1,141  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AttachSourceTests.java
  56. 509  ...s/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/AttachedJavadocTests.java
  57. 227  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/BindingKeyTests.java
  58. 424  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/BufferTests.java
  59. 31  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CancelCounter.java
  60. 34  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/Canceler.java
  61. 824  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ClassFileTests.java
  62. 1,169  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ClassNameTests.java
  63. 1,306  ....eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ClasspathInitializerTests.java
  64. 3,032  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/ClasspathTests.java
  65. 731  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CodeCorrectionTests.java
  66. 118  ...lipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CodeCorrectionTestsRequestor.java
  67. 125  ...clipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CodeSnippetParsingUtilTests.java
  68. 1,422  ...s/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompilationUnitTests.java
  69. 3,385  ...org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionContextTests.java
  70. 13,665  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionTests.java
  71. 2,416  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionTests2.java
  72. 193  ...g.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionTestsRequestor.java
  73. 446  ....eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/model/CompletionTestsRequestor2.java
7  tests/org.eclipse.wst.jsdt.core.tests.model/.classpath
... ...
@@ -1,7 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-<classpath>
3  
-	<classpathentry kind="src" path="src"/>
4  
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
5  
-	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
6  
-	<classpathentry kind="output" path="bin"/>
7  
-</classpath>
2  tests/org.eclipse.wst.jsdt.core.tests.model/.cvsignore
... ...
@@ -1,2 +0,0 @@
1  
-build.xml
2  
-javaCompiler...args
28  tests/org.eclipse.wst.jsdt.core.tests.model/.project
... ...
@@ -1,28 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-<projectDescription>
3  
-	<name>org.eclipse.wst.jsdt.core.tests.model</name>
4  
-	<comment></comment>
5  
-	<projects>
6  
-	</projects>
7  
-	<buildSpec>
8  
-		<buildCommand>
9  
-			<name>org.eclipse.jdt.core.javabuilder</name>
10  
-			<arguments>
11  
-			</arguments>
12  
-		</buildCommand>
13  
-		<buildCommand>
14  
-			<name>org.eclipse.pde.ManifestBuilder</name>
15  
-			<arguments>
16  
-			</arguments>
17  
-		</buildCommand>
18  
-		<buildCommand>
19  
-			<name>org.eclipse.pde.SchemaBuilder</name>
20  
-			<arguments>
21  
-			</arguments>
22  
-		</buildCommand>
23  
-	</buildSpec>
24  
-	<natures>
25  
-		<nature>org.eclipse.pde.PluginNature</nature>
26  
-		<nature>org.eclipse.jdt.core.javanature</nature>
27  
-	</natures>
28  
-</projectDescription>
4  tests/org.eclipse.wst.jsdt.core.tests.model/.settings/org.eclipse.core.resources.prefs
... ...
@@ -1,4 +0,0 @@
1  
-#Mon Jan 28 15:47:49 CST 2008
2  
-eclipse.preferences.version=1
3  
-encoding/<project>=ISO-8859-1
4  
-instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
7  tests/org.eclipse.wst.jsdt.core.tests.model/.settings/org.eclipse.jdt.core.prefs
... ...
@@ -1,7 +0,0 @@
1  
-#Tue Apr 17 15:48:57 CDT 2007
2  
-eclipse.preferences.version=1
3  
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
4  
-org.eclipse.jdt.core.compiler.compliance=1.4
5  
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
6  
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
7  
-org.eclipse.jdt.core.compiler.source=1.3
25  tests/org.eclipse.wst.jsdt.core.tests.model/META-INF/MANIFEST.MF
... ...
@@ -1,25 +0,0 @@
1  
-Manifest-Version: 1.0
2  
-Bundle-ManifestVersion: 2
3  
-Bundle-Name: %pluginName
4  
-Bundle-SymbolicName: org.eclipse.wst.jsdt.core.tests.model; singleton:=true
5  
-Bundle-Version: 1.0.301.qualifier
6  
-Bundle-Vendor: %providerName
7  
-Bundle-Localization: plugin
8  
-Export-Package: org.eclipse.wst.jsdt.core.tests,
9  
- org.eclipse.wst.jsdt.core.tests.dom,
10  
- org.eclipse.wst.jsdt.core.tests.formatter,
11  
- org.eclipse.wst.jsdt.core.tests.formatter.comment,
12  
- org.eclipse.wst.jsdt.core.tests.model,
13  
- org.eclipse.wst.jsdt.core.tests.rewrite.describing,
14  
- org.eclipse.wst.jsdt.core.tests.rewrite.modifying
15  
-Import-Package: com.ibm.icu.text; version="3.8",
16  
- com.ibm.icu.util; version="3.8"
17  
-Require-Bundle: org.eclipse.core.resources,
18  
- org.eclipse.core.runtime,
19  
- org.junit;bundle-version=3.8.2,
20  
- org.eclipse.wst.jsdt.core.tests.compiler,
21  
- org.eclipse.team.core,
22  
- org.eclipse.text,
23  
- org.eclipse.wst.jsdt.core
24  
-Bundle-ActivationPolicy: lazy
25  
-Bundle-RequiredExecutionEnvironment: J2SE-1.4
6  tests/org.eclipse.wst.jsdt.core.tests.model/META-INF/eclipse.inf
... ...
@@ -1,6 +0,0 @@
1  
-# We do not want any nested jars 
2  
-# signed or normalized for packing
3  
-# see bug 274743 Some unit tests are sensitive to details of build
4  
-# https://bugs.eclipse.org/bugs/show_bug.cgi?id=274743
5  
-
6  
-jarprocessor.exclude.children=true
28  tests/org.eclipse.wst.jsdt.core.tests.model/about.html
... ...
@@ -1,28 +0,0 @@
1  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2  
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3  
-<html xmlns="http://www.w3.org/1999/xhtml">
4  
-<head>
5  
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
6  
-<title>About</title>
7  
-</head>
8  
-<body lang="EN-US">
9  
-<h2>About This Content</h2>
10  
- 
11  
-<p>June 2, 2006</p>	
12  
-<h3>License</h3>
13  
-
14  
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise 
15  
-indicated below, the Content is provided to you under the terms and conditions of the
16  
-Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
17  
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
18  
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
19  
-
20  
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 
21  
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
22  
-apply to your use of any object code in the Content.  Check the Redistributor's license that was 
23  
-provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
24  
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
25  
-and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
26  
-
27  
-</body>
28  
-</html>
18  tests/org.eclipse.wst.jsdt.core.tests.model/build.properties
... ...
@@ -1,18 +0,0 @@
1  
-###############################################################################
2  
-# Copyright (c) 2005, 2007 IBM Corporation and others.
3  
-# All rights reserved. This program and the accompanying materials
4  
-# are made available under the terms of the Eclipse Public License v1.0
5  
-# which accompanies this distribution, and is available at
6  
-# http://www.eclipse.org/legal/epl-v10.html
7  
-#
8  
-# Contributors:
9  
-#     IBM Corporation - initial API and implementation
10  
-###############################################################################
11  
-bin.includes = plugin.xml,\
12  
-               workspace/,\
13  
-               .,\
14  
-               test.xml,\
15  
-               plugin.properties,\
16  
-               META-INF/,\
17  
-               about.html
18  
-source.. = src/
19  tests/org.eclipse.wst.jsdt.core.tests.model/plugin.properties
... ...
@@ -1,19 +0,0 @@
1  
-###############################################################################
2  
-# Copyright (c) 2007, 2010 IBM Corporation and others.
3  
-# All rights reserved. This program and the accompanying materials
4  
-# are made available under the terms of the Eclipse Public License v1.0
5  
-# which accompanies this distribution, and is available at
6  
-# http://www.eclipse.org/legal/epl-v10.html
7  
-#
8  
-# Contributors:
9  
-#     IBM Corporation - initial API and implementation
10  
-###############################################################################
11  
-
12  
-#
13  
-# Messages in plugin.xml.
14  
-#
15  
-pluginName=JSDT Core Model Tests
16  
-providerName=Eclipse Web Tools Platform
17  
-
18  
-JsGlobalScopeVariableInitializer.deprecated.0 = Test deprecated flag
19  
-JsGlobalScopeVariableInitializer.deprecated.1 = A deprecated and read-only initializer
67  tests/org.eclipse.wst.jsdt.core.tests.model/plugin.xml
... ...
@@ -1,67 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-<?eclipse version="3.0"?>
3  
-<plugin>
4  
-   	<!-- Classpath variable initializer -->
5  
-	<extension point = "org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer">
6  
-		<JsGlobalScopeVariableInitializer
7  
-			variable="TEST_LIB"
8  
-			class="org.eclipse.wst.jsdt.core.tests.model.VariablesInitializer"/>
9  
-		<JsGlobalScopeVariableInitializer
10  
-			variable="TEST_SRC"
11  
-			class="org.eclipse.wst.jsdt.core.tests.model.VariablesInitializer"/>
12  
-		<JsGlobalScopeVariableInitializer
13  
-			variable="TEST_ROOT"
14  
-			class="org.eclipse.wst.jsdt.core.tests.model.VariablesInitializer"/>
15  
-  <JsGlobalScopeVariableInitializer
16  
-        class="org.eclipse.wst.jsdt.core.tests.model.VariablesInitializer"
17  
-        deprecated="%JsGlobalScopeVariableInitializer.deprecated.0"
18  
-        variable="TEST_DEPRECATED">
19  
-  </JsGlobalScopeVariableInitializer>
20  
-  <JsGlobalScopeVariableInitializer
21  
-        class="org.eclipse.wst.jsdt.core.tests.model.VariablesInitializer"
22  
-        readOnly="true"
23  
-        variable="TEST_READ_ONLY">
24  
-  </JsGlobalScopeVariableInitializer>
25  
-  <JsGlobalScopeVariableInitializer
26  
-        class="org.eclipse.wst.jsdt.core.tests.model.VariablesInitializer"
27  
-        deprecated="%JsGlobalScopeVariableInitializer.deprecated.1"
28  
-        readOnly="true"
29  
-        variable="TEST_DEPRECATED_READ_ONLY">
30  
-  </JsGlobalScopeVariableInitializer>
31  
-	</extension>		
32  
-
33  
-	<!-- Classpath container initializer -->
34  
-	<extension point = "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
35  
-		<JsGlobalScopeContainerInitializer
36  
-			id="org.eclipse.wst.jsdt.core.tests.model.TEST_CONTAINER"
37  
-			class="org.eclipse.wst.jsdt.core.tests.model.ContainerInitializer"/>
38  
-	</extension>
39  
-
40  
-	<!-- Extra JavaScript-like file extensions -->
41  
-	<extension point="org.eclipse.core.contenttype.contentTypes">
42  
-	    <file-association 
43  
-	        content-type="org.eclipse.wst.jsdt.core.javaSource"
44  
-	        file-extensions="foo,bar"/>
45  
-	</extension>
46  
-
47  
-	<!-- Repository provider -->
48  
-	<extension point="org.eclipse.team.core.repository">
49  
-		<repository
50  
-			id="org.eclipse.wst.jsdt.core.tests.model.pessimisticnature"
51  
-			class="org.eclipse.wst.jsdt.core.tests.model.TestPessimisticProvider">
52  
-		</repository>;
53  
-	</extension>
54  
-	
55  
-	<!-- Compilation participant -->
56  
-	 <extension point="org.eclipse.wst.jsdt.core.validationParticipant">
57  
-	   <validationParticipant
58  
-          class="org.eclipse.wst.jsdt.core.tests.model.TestvalidationParticipant"
59  
-          createsProblems="true"
60  
-          id="org.eclipse.wst.jsdt.core.tests.model.validationParticipant"
61  
-          requiredSourceLevel="1.4"
62  
-          modifiesEnvironment="true">
63  
-       <requires id="non.existing"/>
64  
-    </validationParticipant>
65  
-	 </extension>
66  
-	
67  
-</plugin>
59  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunCompilerTests.java
... ...
@@ -1,59 +0,0 @@
1  
-/*******************************************************************************
2  
- * Copyright (c) 2005, 2008 IBM Corporation and others.
3  
- * All rights reserved. This program and the accompanying materials
4  
- * are made available under the terms of the Eclipse Public License v1.0
5  
- * which accompanies this distribution, and is available at
6  
- * http://www.eclipse.org/legal/epl-v10.html
7  
- *
8  
- * Contributors:
9  
- *     IBM Corporation - initial API and implementation
10  
- *******************************************************************************/
11  
-package org.eclipse.wst.jsdt.core.tests;
12  
-
13  
-import java.lang.reflect.InvocationTargetException;
14  
-import java.lang.reflect.Method;
15  
-
16  
-import junit.framework.Test;
17  
-import junit.framework.TestCase;
18  
-import junit.framework.TestSuite;
19  
-
20  
-/**
21  
- * Runs all compiler tests (including parser tests) See AbstractCompilerTests
22  
- * for more details.
23  
- */
24  
-public class RunCompilerTests extends TestCase {
25  
-
26  
-	public RunCompilerTests(String name) {
27  
-		super(name);
28  
-	}
29  
-
30  
-	public static Class[] getAllTestClasses() {
31  
-		return new Class[] {
32  
-				org.eclipse.wst.jsdt.core.tests.compiler.regression.TestAll.class,
33  
-				org.eclipse.wst.jsdt.core.tests.compiler.parser.TestAll.class };
34  
-	}
35  
-
36  
-	public static Test suite() {
37  
-		TestSuite ts = new TestSuite(RunCompilerTests.class.getName());
38  
-
39  
-		Class[] testClasses = getAllTestClasses();
40  
-		for (int i = 0; i < testClasses.length; i++) {
41  
-			Class testClass = testClasses[i];
42  
-
43  
-			// call the suite() method and add the resulting suite to the suite
44  
-			try {
45  
-				Method suiteMethod = testClass.getDeclaredMethod(
46  
-						"suite", new Class[0]); //$NON-NLS-1$
47  
-				Test suite = (Test) suiteMethod.invoke(null, new Object[0]);
48  
-				ts.addTest(suite);
49  
-			} catch (IllegalAccessException e) {
50  
-				e.printStackTrace();
51  
-			} catch (InvocationTargetException e) {
52  
-				e.getTargetException().printStackTrace();
53  
-			} catch (NoSuchMethodException e) {
54  
-				e.printStackTrace();
55  
-			}
56  
-		}
57  
-		return ts;
58  
-	}
59  
-}
32  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunDOMTests.java
... ...
@@ -1,32 +0,0 @@
1  
-/*******************************************************************************
2  
- * Copyright (c) 2005, 2007 IBM Corporation and others.
3  
- * All rights reserved. This program and the accompanying materials
4  
- * are made available under the terms of the Eclipse Public License v1.0
5  
- * which accompanies this distribution, and is available at
6  
- * http://www.eclipse.org/legal/epl-v10.html
7  
- *
8  
- * Contributors:
9  
- *     IBM Corporation - initial API and implementation
10  
- *******************************************************************************/
11  
-package org.eclipse.wst.jsdt.core.tests;
12  
-
13  
-import junit.framework.Test;
14  
-import junit.framework.TestCase;
15  
-import junit.framework.TestSuite;
16  
-
17  
-import org.eclipse.wst.jsdt.core.tests.dom.RunAllTests;
18  
-
19  
-/**
20  
- * Runs all DOM AST tests.
21  
- */
22  
-public class RunDOMTests extends TestCase {
23  
-
24  
-public RunDOMTests(String name) {
25  
-	super(name);
26  
-}
27  
-public static Test suite() {
28  
-	TestSuite suite = new TestSuite(RunDOMTests.class.getName());
29  
-	suite.addTest(RunAllTests.suite());
30  
-	return suite;
31  
-}
32  
-}
61  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunFormatterTests.java
... ...
@@ -1,61 +0,0 @@
1  
-/*******************************************************************************
2  
- * Copyright (c) 2005, 2010 IBM Corporation and others.
3  
- * All rights reserved. This program and the accompanying materials
4  
- * are made available under the terms of the Eclipse Public License v1.0
5  
- * which accompanies this distribution, and is available at
6  
- * http://www.eclipse.org/legal/epl-v10.html
7  
- *
8  
- * Contributors:
9  
- *     IBM Corporation - initial API and implementation
10  
- *******************************************************************************/
11  
-package org.eclipse.wst.jsdt.core.tests;
12  
-
13  
-import java.lang.reflect.InvocationTargetException;
14  
-import java.lang.reflect.Method;
15  
-
16  
-import junit.framework.Test;
17  
-import junit.framework.TestCase;
18  
-import junit.framework.TestSuite;
19  
-
20  
-import org.eclipse.wst.jsdt.core.tests.formatter.FormatterRegressionTests;
21  
-import org.eclipse.wst.jsdt.core.tests.formatter.comment.CommentsTestSuite;
22  
-
23  
-/**
24  
- * Runs all formatter tests.
25  
- */
26  
-public class RunFormatterTests extends TestCase {
27  
-	
28  
-	public static Class[] getAllTestClasses() {
29  
-		return new Class[] {
30  
-			FormatterRegressionTests.class,
31  
-			CommentsTestSuite.class,
32  
-		};
33  
-	}
34  
-	public static Test suite() {
35  
-		TestSuite ts = new TestSuite(RunFormatterTests.class.getName());
36  
-
37  
-		Class[] testClasses = getAllTestClasses();
38  
-		for (int i = 0; i < testClasses.length; i++) {
39  
-			Class testClass = testClasses[i];
40  
-
41  
-			// call the suite() method and add the resulting suite to the suite
42  
-			try {
43  
-				Method suiteMethod = testClass.getDeclaredMethod("suite", new Class[0]); //$NON-NLS-1$
44  
-				Test suite = (Test)suiteMethod.invoke(null, new Object[0]);
45  
-				ts.addTest(suite);
46  
-			} catch (IllegalAccessException e) {
47  
-				e.printStackTrace();
48  
-			} catch (InvocationTargetException e) {
49  
-				e.getTargetException().printStackTrace();
50  
-			} catch (NoSuchMethodException e) {
51  
-				e.printStackTrace();
52  
-			}
53  
-		}
54  
-		return ts;
55  
-	}
56  
-	
57  
-public RunFormatterTests(String name) {
58  
-	super(name);
59  
-}
60  
-}
61  
-
35  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunJSDTCoreTests.java
... ...
@@ -1,35 +0,0 @@
1  
-/*******************************************************************************
2  
- * Copyright (c) 2005, 2009 IBM Corporation and others.
3  
- * All rights reserved. This program and the accompanying materials
4  
- * are made available under the terms of the Eclipse Public License v1.0
5  
- * which accompanies this distribution, and is available at
6  
- * http://www.eclipse.org/legal/epl-v10.html
7  
- *
8  
- * Contributors:
9  
- *     IBM Corporation - initial API and implementation
10  
- *******************************************************************************/
11  
-package org.eclipse.wst.jsdt.core.tests;
12  
-
13  
-import junit.framework.Test;
14  
-import junit.framework.TestCase;
15  
-import junit.framework.TestSuite;
16  
-
17  
-import org.eclipse.wst.jsdt.core.tests.utils.SequenceReaderTests;
18  
-
19  
-/**
20  
- * Runs all JDT Core tests.
21  
- */
22  
-public class RunJSDTCoreTests extends TestCase {
23  
-public RunJSDTCoreTests(String name) {
24  
-	super(name);
25  
-}
26  
-public static Test suite() {
27  
-	TestSuite suite = new TestSuite("JSDT 'Model' Tests");
28  
-	suite.addTest(RunDOMTests.suite());
29  
-	suite.addTest(RunFormatterTests.suite());
30  
-	suite.addTest(RunModelTests.suite());
31  
-	suite.addTestSuite(SequenceReaderTests.class);
32  
-	return suite;
33  
-}
34  
-}
35  
-
32  tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/RunModelTests.java
... ...
@@ -1,32 +0,0 @@
1  
-/*******************************************************************************
2  
- * Copyright (c) 2005, 2007 IBM Corporation and others.
3  
- * All rights reserved. This program and the accompanying materials
4  
- * are made available under the terms of the Eclipse Public License v1.0
5  
- * which accompanies this distribution, and is available at
6  
- * http://www.eclipse.org/legal/epl-v10.html
7  
- *
8  
- * Contributors:
9  
- *     IBM Corporation - initial API and implementation
10  
- *******************************************************************************/
11  
-package org.eclipse.wst.jsdt.core.tests;
12  
-
13  
-import junit.framework.Test;
14  
-import junit.framework.TestCase;
15  
-import junit.framework.TestSuite;
16  
-
17  
-import org.eclipse.wst.jsdt.core.tests.model.JSDTModelTests;
18  
-
19  
-/**
20  
- * Runs all Java model tests.
21  
- */
22  
-public class RunModelTests extends TestCase {
23  
-public RunModelTests(String name) {
24  
-	super(name);
25  
-}
26  
-public static Test suite() {
27  
-	TestSuite suite = new TestSuite(RunModelTests.class.getName());
28  
-	suite.addTest(JSDTModelTests.suite());
29  
-	return suite;
30  
-}
31  
-}
32  
-
9,467  .../org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterAST3Test.java
0 additions, 9467 deletions not shown
506  ....eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/dom/ASTConverterBindingsTest.java
... ...
@@ -1,506 +0,0 @@
1  
-/*******************************************************************************
2  
- * Copyright (c) 2000, 2009 IBM Corporation and others.
3  
- * All rights reserved. This program and the accompanying materials
4  
- * are made available under the terms of the Eclipse Public License v1.0
5  
- * which accompanies this distribution, and is available at
6  
- * http://www.eclipse.org/legal/epl-v10.html
7  
- *
8  
- * Contributors:
9  
- *     IBM Corporation - initial API and implementation
10  
- *******************************************************************************/
11  
-package org.eclipse.wst.jsdt.core.tests.dom;
12  
-
13  
-import java.util.ArrayList;
14  
-import java.util.List;
15  
-
16  
-import junit.framework.Test;
17  
-
18  
-import org.eclipse.wst.jsdt.core.IJavaScriptProject;
19  
-import org.eclipse.wst.jsdt.core.IJavaScriptUnit;
20  
-import org.eclipse.wst.jsdt.core.IPackageFragment;
21  
-import org.eclipse.wst.jsdt.core.JavaScriptModelException;
22  
-import org.eclipse.wst.jsdt.core.dom.AST;
23  
-import org.eclipse.wst.jsdt.core.dom.ASTNode;
24  
-import org.eclipse.wst.jsdt.core.dom.ASTVisitor;
25  
-import org.eclipse.wst.jsdt.core.dom.AbstractTypeDeclaration;
26  
-import org.eclipse.wst.jsdt.core.dom.AnonymousClassDeclaration;
27  
-import org.eclipse.wst.jsdt.core.dom.ArrayAccess;
28  
-import org.eclipse.wst.jsdt.core.dom.ArrayCreation;
29  
-import org.eclipse.wst.jsdt.core.dom.ArrayInitializer;
30  
-import org.eclipse.wst.jsdt.core.dom.ArrayType;
31  
-import org.eclipse.wst.jsdt.core.dom.Assignment;
32  
-import org.eclipse.wst.jsdt.core.dom.BooleanLiteral;
33  
-import org.eclipse.wst.jsdt.core.dom.CharacterLiteral;
34  
-import org.eclipse.wst.jsdt.core.dom.ClassInstanceCreation;
35  
-import org.eclipse.wst.jsdt.core.dom.ConditionalExpression;
36  
-import org.eclipse.wst.jsdt.core.dom.ConstructorInvocation;
37  
-import org.eclipse.wst.jsdt.core.dom.FieldAccess;
38  
-import org.eclipse.wst.jsdt.core.dom.FunctionDeclaration;
39  
-import org.eclipse.wst.jsdt.core.dom.FunctionInvocation;
40  
-import org.eclipse.wst.jsdt.core.dom.FunctionRef;
41  
-import org.eclipse.wst.jsdt.core.dom.IBinding;
42  
-import org.eclipse.wst.jsdt.core.dom.IFunctionBinding;
43  
-import org.eclipse.wst.jsdt.core.dom.IPackageBinding;
44  
-import org.eclipse.wst.jsdt.core.dom.ITypeBinding;
45  
-import org.eclipse.wst.jsdt.core.dom.IVariableBinding;
46  
-import org.eclipse.wst.jsdt.core.dom.ImportDeclaration;
47  
-import org.eclipse.wst.jsdt.core.dom.InfixExpression;
48  
-import org.eclipse.wst.jsdt.core.dom.InstanceofExpression;
49  
-import org.eclipse.wst.jsdt.core.dom.JavaScriptUnit;
50  
-import org.eclipse.wst.jsdt.core.dom.ListExpression;
51  
-import org.eclipse.wst.jsdt.core.dom.MemberRef;
52  
-import org.eclipse.wst.jsdt.core.dom.NullLiteral;
53  
-import org.eclipse.wst.jsdt.core.dom.NumberLiteral;
54  
-import org.eclipse.wst.jsdt.core.dom.PackageDeclaration;
55  
-import org.eclipse.wst.jsdt.core.dom.ParenthesizedExpression;
56  
-import org.eclipse.wst.jsdt.core.dom.PostfixExpression;
57  
-import org.eclipse.wst.jsdt.core.dom.PrefixExpression;
58  
-import org.eclipse.wst.jsdt.core.dom.PrimitiveType;
59  
-import org.eclipse.wst.jsdt.core.dom.QualifiedName;
60  
-import org.eclipse.wst.jsdt.core.dom.SimpleName;
61  
-import org.eclipse.wst.jsdt.core.dom.SimpleType;
62  
-import org.eclipse.wst.jsdt.core.dom.SingleVariableDeclaration;
63  
-import org.eclipse.wst.jsdt.core.dom.StringLiteral;
64  
-import org.eclipse.wst.jsdt.core.dom.SuperConstructorInvocation;
65  
-import org.eclipse.wst.jsdt.core.dom.SuperFieldAccess;
66  
-import org.eclipse.wst.jsdt.core.dom.SuperMethodInvocation;
67  
-import org.eclipse.wst.jsdt.core.dom.ThisExpression;
68  
-import org.eclipse.wst.jsdt.core.dom.TypeDeclaration;
69  
-import org.eclipse.wst.jsdt.core.dom.TypeLiteral;
70  
-import org.eclipse.wst.jsdt.core.dom.VariableDeclarationExpression;
71  
-import org.eclipse.wst.jsdt.core.dom.VariableDeclarationFragment;
72  
-
73  
-public class ASTConverterBindingsTest extends ConverterTestSetup {
74  
-	private static final boolean DEBUG = false;
75  
-
76  
-	static class BindingsCollector extends ASTVisitor {
77  
-
78  
-		public ArrayList arrayList;
79  
-		
80  
-		BindingsCollector() {
81  
-			// visit Javadoc.tags() as well
82  
-			super(true);
83  
-			this.arrayList = new ArrayList();
84  
-		}
85  
-		
86  
-		private void collectBindings(
87  
-			ASTNode node,
88  
-			IBinding binding) {
89  
-			
90  
-			if (binding != null) {
91  
-				arrayList.add(binding);
92  
-			}
93  
-		}
94  
-
95  
-
96  
-		/**
97  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(AnonymousClassDeclaration)
98  
-		 */
99  
-		public void endVisit(AnonymousClassDeclaration node) {
100  
-			ITypeBinding typeBinding = node.resolveBinding();
101  
-			collectBindings(node, typeBinding);
102  
-		}
103  
-
104  
-		/**
105  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ArrayAccess)
106  
-		 */
107  
-		public void endVisit(ArrayAccess node) {
108  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
109  
-			collectBindings(node, typeBinding);
110  
-		}
111  
-
112  
-		/**
113  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ArrayCreation)
114  
-		 */
115  
-		public void endVisit(ArrayCreation node) {
116  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
117  
-			collectBindings(node, typeBinding);
118  
-		}
119  
-
120  
-		/**
121  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ArrayInitializer)
122  
-		 */
123  
-		public void endVisit(ArrayInitializer node) {
124  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
125  
-			collectBindings(node, typeBinding);
126  
-		}
127  
-
128  
-		/**
129  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ArrayType)
130  
-		 */
131  
-		public void endVisit(ArrayType node) {
132  
-			ITypeBinding typeBinding = node.resolveBinding();
133  
-			collectBindings(node, typeBinding);
134  
-		}
135  
-
136  
-		/**
137  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(Assignment)
138  
-		 */
139  
-		public void endVisit(Assignment node) {
140  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
141  
-			collectBindings(node, typeBinding);
142  
-		}
143  
-
144  
-		/**
145  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(BooleanLiteral)
146  
-		 */
147  
-		public void endVisit(BooleanLiteral node) {
148  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
149  
-			collectBindings(node, typeBinding);
150  
-		}
151  
-
152  
-		/**
153  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(CharacterLiteral)
154  
-		 */
155  
-		public void endVisit(CharacterLiteral node) {
156  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
157  
-			collectBindings(node, typeBinding);
158  
-		}
159  
-
160  
-		/**
161  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ClassInstanceCreation)
162  
-		 */
163  
-		public void endVisit(ClassInstanceCreation node) {
164  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
165  
-			collectBindings(node, typeBinding);
166  
-		}
167  
-
168  
-		/**
169  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ConditionalExpression)
170  
-		 */
171  
-		public void endVisit(ConditionalExpression node) {
172  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
173  
-			collectBindings(node, typeBinding);
174  
-		}
175  
-
176  
-		/**
177  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ConstructorInvocation)
178  
-		 */
179  
-		public void endVisit(ConstructorInvocation node) {
180  
-			IFunctionBinding methodBinding = node.resolveConstructorBinding();
181  
-			collectBindings(node, methodBinding);
182  
-		}
183  
-
184  
-		/**
185  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(FieldAccess)
186  
-		 */
187  
-		public void endVisit(FieldAccess node) {
188  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
189  
-			collectBindings(node, typeBinding);
190  
-		}
191  
-		
192  
-		/**
193  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ImportDeclaration)
194  
-		 */
195  
-		public void endVisit(ImportDeclaration node) {
196  
-			IBinding binding = node.resolveBinding();
197  
-			collectBindings(node, binding);
198  
-		}
199  
-
200  
-		/**
201  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(InfixExpression)
202  
-		 */
203  
-		public void endVisit(InfixExpression node) {
204  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
205  
-			collectBindings(node, typeBinding);
206  
-		}
207  
-
208  
-		/**
209  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(InstanceofExpression)
210  
-		 */
211  
-		public void endVisit(InstanceofExpression node) {
212  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
213  
-			collectBindings(node, typeBinding);
214  
-		}
215  
-
216  
-		public void endVisit(ListExpression node) {
217  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
218  
-			collectBindings(node, typeBinding);
219  
-		}
220  
-		
221  
-		/**
222  
-		 * @see ASTVisitor#endVisit(MemberRef)
223  
-		 * @since 3.0
224  
-		 */
225  
-		public void endVisit(MemberRef node) {
226  
-			IBinding binding = node.resolveBinding();
227  
-			collectBindings(node, binding);
228  
-		}
229  
-
230  
-		/**
231  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(FunctionDeclaration)
232  
-		 */
233  
-		public void endVisit(FunctionDeclaration node) {
234  
-			IFunctionBinding methodBinding = node.resolveBinding();
235  
-			collectBindings(node, methodBinding);
236  
-		}
237  
-
238  
-		/**
239  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(FunctionInvocation)
240  
-		 */
241  
-		public void endVisit(FunctionInvocation node) {
242  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
243  
-			collectBindings(node, typeBinding);
244  
-		}
245  
-
246  
-		/**
247  
-		 * @see ASTVisitor#endVisit(FunctionRef )
248  
-		 * @since 3.0
249  
-		 */
250  
-		public void endVisit(FunctionRef node) {
251  
-			IBinding binding = node.resolveBinding();
252  
-			collectBindings(node, binding);
253  
-		}
254  
-
255  
-		/**
256  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(NullLiteral)
257  
-		 */
258  
-		public void endVisit(NullLiteral node) {
259  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
260  
-			collectBindings(node, typeBinding);
261  
-		}
262  
-
263  
-		/**
264  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(NumberLiteral)
265  
-		 */
266  
-		public void endVisit(NumberLiteral node) {
267  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
268  
-			collectBindings(node, typeBinding);
269  
-		}
270  
-
271  
-		/**
272  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(PackageDeclaration)
273  
-		 */
274  
-		public void endVisit(PackageDeclaration node) {
275  
-			IPackageBinding packageBinding = node.resolveBinding();
276  
-			collectBindings(node, packageBinding);
277  
-		}
278  
-
279  
-		/**
280  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ParenthesizedExpression)
281  
-		 */
282  
-		public void endVisit(ParenthesizedExpression node) {
283  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
284  
-			collectBindings(node, typeBinding);
285  
-		}
286  
-
287  
-		/**
288  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(PostfixExpression)
289  
-		 */
290  
-		public void endVisit(PostfixExpression node) {
291  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
292  
-			collectBindings(node, typeBinding);
293  
-		}
294  
-
295  
-		/**
296  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(PrefixExpression)
297  
-		 */
298  
-		public void endVisit(PrefixExpression node) {
299  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
300  
-			collectBindings(node, typeBinding);
301  
-		}
302  
-
303  
-		/**
304  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(PrimitiveType)
305  
-		 */
306  
-		public void endVisit(PrimitiveType node) {
307  
-			ITypeBinding typeBinding = node.resolveBinding();
308  
-			collectBindings(node, typeBinding);
309  
-		}
310  
-
311  
-		/**
312  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(QualifiedName)
313  
-		 */
314  
-		public void endVisit(QualifiedName node) {
315  
-			IBinding binding = node.resolveBinding();
316  
-			collectBindings(node, binding);
317  
-		}
318  
-
319  
-		/**
320  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(SimpleName)
321  
-		 */
322  
-		public void endVisit(SimpleName node) {
323  
-			IBinding binding = node.resolveBinding();
324  
-			collectBindings(node, binding);
325  
-		}
326  
-
327  
-		/**
328  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(SimpleType)
329  
-		 */
330  
-		public void endVisit(SimpleType node) {
331  
-			ITypeBinding typeBinding = node.resolveBinding();
332  
-			collectBindings(node, typeBinding);
333  
-		}
334  
-
335  
-		/**
336  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(SingleVariableDeclaration)
337  
-		 */
338  
-		public void endVisit(SingleVariableDeclaration node) {
339  
-			IVariableBinding variableBinding = node.resolveBinding();
340  
-			collectBindings(node, variableBinding);
341  
-		}
342  
-
343  
-		/**
344  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(StringLiteral)
345  
-		 */
346  
-		public void endVisit(StringLiteral node) {
347  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
348  
-			collectBindings(node, typeBinding);
349  
-		}
350  
-
351  
-		/**
352  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(SuperConstructorInvocation)
353  
-		 */
354  
-		public void endVisit(SuperConstructorInvocation node) {
355  
-			IFunctionBinding methodBinding = node.resolveConstructorBinding();
356  
-			collectBindings(node, methodBinding);
357  
-		}
358  
-
359  
-		/**
360  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(SuperFieldAccess)
361  
-		 */
362  
-		public void endVisit(SuperFieldAccess node) {
363  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
364  
-			collectBindings(node, typeBinding);
365  
-		}
366  
-
367  
-		/**
368  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(SuperMethodInvocation)
369  
-		 */
370  
-		public void endVisit(SuperMethodInvocation node) {
371  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
372  
-			collectBindings(node, typeBinding);
373  
-		}
374  
-
375  
-		/**
376  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(ThisExpression)
377  
-		 */
378  
-		public void endVisit(ThisExpression node) {
379  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
380  
-			collectBindings(node, typeBinding);
381  
-		}
382  
-
383  
-		/**
384  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(TypeDeclaration)
385  
-		 */
386  
-		public void endVisit(TypeDeclaration node) {
387  
-			ITypeBinding typeBinding = node.resolveBinding();
388  
-			collectBindings(node, typeBinding);
389  
-		}
390  
-
391  
-		/**
392  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(TypeLiteral)
393  
-		 */
394  
-		public void endVisit(TypeLiteral node) {
395  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
396  
-			collectBindings(node, typeBinding);
397  
-		}
398  
-
399  
-		/**
400  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(VariableDeclarationExpression)
401  
-		 */
402  
-		public void endVisit(VariableDeclarationExpression node) {
403  
-			ITypeBinding typeBinding = node.resolveTypeBinding();
404  
-			collectBindings(node, typeBinding);
405  
-		}
406  
-
407  
-		/**
408  
-		 * @see org.eclipse.wst.jsdt.core.dom.ASTVisitor#endVisit(VariableDeclarationFragment)
409  
-		 */
410  
-		public void endVisit(VariableDeclarationFragment node) {
411  
-			IVariableBinding variableBinding = node.resolveBinding();
412  
-			collectBindings(node, variableBinding);
413  
-		}
414  
-
415  
-		public List getBindings() {
416  
-			return arrayList;
417  
-		}
418  
-
419  
-	}
420  
-
421  
-	
422  
-	public void setUpSuite() throws Exception {
423  
-		super.setUpSuite();
424  
-		this.ast = AST.newAST(AST.JLS3);
425  
-	}
426  
-
427  
-	public ASTConverterBindingsTest(String name) {
428  
-		super(name);
429  
-	}
430  
-
431  
-	public static Test suite() {
432  
-		return buildModelTestSuite(ASTConverterBindingsTest.class);		
433  
-	}
434  
-
435  
-	public void test0001() throws JavaScriptModelException {
436  
-		checkBindingEqualityForProject("Converter");
437  
-		checkBindingEqualityForProject("Converter15");
438  
-	}
439  
-