OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014, the Dart project authors. | 2 * Copyright (c) 2014, 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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 when(unitElementD.getLibrary()).thenReturn(libraryElement); | 599 when(unitElementD.getLibrary()).thenReturn(libraryElement); |
600 when(htmlElementA.getSource()).thenReturn(sourceA); | 600 when(htmlElementA.getSource()).thenReturn(sourceA); |
601 when(htmlElementB.getSource()).thenReturn(sourceB); | 601 when(htmlElementB.getSource()).thenReturn(sourceB); |
602 // library | 602 // library |
603 when(librarySource.toString()).thenReturn("libSource"); | 603 when(librarySource.toString()).thenReturn("libSource"); |
604 when(libraryUnitElement.getLibrary()).thenReturn(libraryElement); | 604 when(libraryUnitElement.getLibrary()).thenReturn(libraryElement); |
605 when(libraryUnitElement.getSource()).thenReturn(librarySource); | 605 when(libraryUnitElement.getSource()).thenReturn(librarySource); |
606 when(libraryElement.getSource()).thenReturn(librarySource); | 606 when(libraryElement.getSource()).thenReturn(librarySource); |
607 when(libraryElement.getDefiningCompilationUnit()).thenReturn(libraryUnitElem
ent); | 607 when(libraryElement.getDefiningCompilationUnit()).thenReturn(libraryUnitElem
ent); |
608 } | 608 } |
| 609 |
| 610 @Override |
| 611 protected void tearDown() throws Exception { |
| 612 nodeManager = null; |
| 613 store = null; |
| 614 super.tearDown(); |
| 615 } |
609 } | 616 } |
OLD | NEW |