| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012, the Dart project authors. | 2 * Copyright (c) 2012, the Dart project authors. |
| 3 * | 3 * |
| 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except | 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except |
| 5 * in compliance with the License. You may obtain a copy of the License at | 5 * in compliance with the License. You may obtain a copy of the License at |
| 6 * | 6 * |
| 7 * http://www.eclipse.org/legal/epl-v10.html | 7 * http://www.eclipse.org/legal/epl-v10.html |
| 8 * | 8 * |
| 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License | 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License |
| 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express | 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 context.applyChanges(changeSet); | 220 context.applyChanges(changeSet); |
| 221 context.setContents(fileSource, fileContents); | 221 context.setContents(fileSource, fileContents); |
| 222 | 222 |
| 223 participant = new AnalysisEngineParticipant(manager, markerManager) { | 223 participant = new AnalysisEngineParticipant(manager, markerManager) { |
| 224 @Override | 224 @Override |
| 225 protected void performAnalysis(AnalysisWorker worker) { | 225 protected void performAnalysis(AnalysisWorker worker) { |
| 226 worker.performAnalysis(null); | 226 worker.performAnalysis(null); |
| 227 } | 227 } |
| 228 }; | 228 }; |
| 229 } | 229 } |
| 230 |
| 231 @Override |
| 232 protected void tearDown() throws Exception { |
| 233 workspace = null; |
| 234 rootRes = null; |
| 235 projectRes = null; |
| 236 fileRes = null; |
| 237 markerManager = null; |
| 238 sdk = null; |
| 239 manager = null; |
| 240 project = null; |
| 241 fileSource = null; |
| 242 participant = null; |
| 243 super.tearDown(); |
| 244 } |
| 230 } | 245 } |
| OLD | NEW |