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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 @Override | 175 @Override |
176 protected void setUp() throws Exception { | 176 protected void setUp() throws Exception { |
177 rootContainer = new MockWorkspaceRoot(); | 177 rootContainer = new MockWorkspaceRoot(); |
178 projectContainer = TestProjects.newPubProject3(rootContainer); | 178 projectContainer = TestProjects.newPubProject3(rootContainer); |
179 DartSdk sdk = DirectoryBasedDartSdk.getDefaultSdk(); | 179 DartSdk sdk = DirectoryBasedDartSdk.getDefaultSdk(); |
180 String sdkContextId = "sdk-id"; | 180 String sdkContextId = "sdk-id"; |
181 manager = new MockProjectManagerImpl(rootContainer, sdk, sdkContextId, new D
artIgnoreManager()); | 181 manager = new MockProjectManagerImpl(rootContainer, sdk, sdkContextId, new D
artIgnoreManager()); |
182 project = new MockProjectImpl(projectContainer, sdk, sdkContextId, manager.g
etIndex()); | 182 project = new MockProjectImpl(projectContainer, sdk, sdkContextId, manager.g
etIndex()); |
183 processor = new Target(manager); | 183 processor = new Target(manager); |
184 } | 184 } |
| 185 |
| 186 @Override |
| 187 protected void tearDown() throws Exception { |
| 188 rootContainer = null; |
| 189 projectContainer = null; |
| 190 manager = null; |
| 191 project = null; |
| 192 processor = null; |
| 193 super.tearDown(); |
| 194 } |
185 } | 195 } |
OLD | NEW |