OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, the Dart project authors. | 2 * Copyright (c) 2013, 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 sdk, | 211 sdk, |
212 sdkContextId, | 212 sdkContextId, |
213 IndexFactory.newIndex(IndexFactory.newSplitIndexStore(new MemoryNodeMana
ger())), | 213 IndexFactory.newIndex(IndexFactory.newSplitIndexStore(new MemoryNodeMana
ger())), |
214 new DartIgnoreManager()); | 214 new DartIgnoreManager()); |
215 project = projectManager.getProject(projectRes); | 215 project = projectManager.getProject(projectRes); |
216 project.getDefaultContext(); | 216 project.getDefaultContext(); |
217 | 217 |
218 File file = fileRes.getLocation().toFile(); | 218 File file = fileRes.getLocation().toFile(); |
219 source = new FileBasedSource(file); | 219 source = new FileBasedSource(file); |
220 } | 220 } |
| 221 |
| 222 @Override |
| 223 protected void tearDown() throws Exception { |
| 224 sdk = null; |
| 225 projectManager = null; |
| 226 project = null; |
| 227 super.tearDown(); |
| 228 } |
221 } | 229 } |
OLD | NEW |