| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 163 |
| 164 public void test_run() throws Exception { | 164 public void test_run() throws Exception { |
| 165 index.run(); | 165 index.run(); |
| 166 verify(processor).run(); | 166 verify(processor).run(); |
| 167 } | 167 } |
| 168 | 168 |
| 169 public void test_stop() throws Exception { | 169 public void test_stop() throws Exception { |
| 170 index.stop(); | 170 index.stop(); |
| 171 verify(processor).stop(false); | 171 verify(processor).stop(false); |
| 172 } | 172 } |
| 173 |
| 174 @Override |
| 175 protected void tearDown() throws Exception { |
| 176 context = null; |
| 177 store = null; |
| 178 queue = null; |
| 179 processor = null; |
| 180 index = null; |
| 181 super.tearDown(); |
| 182 } |
| 173 } | 183 } |
| OLD | NEW |