Mercurial > hg4j
comparison test/org/tmatesoft/hg/test/ErrorCollectorExt.java @ 101:777ab7034c1b
Switch to JUnit for tests
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 28 Jan 2011 03:07:25 +0100 |
parents | |
children | a3a2e5deb320 |
comparison
equal
deleted
inserted
replaced
100:b71b3f7d24d4 | 101:777ab7034c1b |
---|---|
1 /* | |
2 * Copyright (c) 2011 TMate Software Ltd | |
3 * | |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; version 2 of the License. | |
7 * | |
8 * This program is distributed in the hope that it will be useful, | |
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 * GNU General Public License for more details. | |
12 * | |
13 * For information on how to redistribute this software under | |
14 * the terms of a license other than GNU General Public License | |
15 * contact TMate Software at support@svnkit.com | |
16 */ | |
17 package org.tmatesoft.hg.test; | |
18 | |
19 import org.junit.rules.ErrorCollector; | |
20 | |
21 /** | |
22 * Expose verify method for allow not-junit runs to check test outcome | |
23 * | |
24 * @author Artem Tikhomirov | |
25 * @author TMate Software Ltd. | |
26 */ | |
27 final class ErrorCollectorExt extends ErrorCollector { | |
28 public void verify() throws Throwable { | |
29 super.verify(); | |
30 } | |
31 } |