|
|||||||||||||||||||
| This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover. | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| ScenarioSuite.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 |
/* |
|
| 2 |
* JBind |
|
| 3 |
* |
|
| 4 |
* Copyright (c) by Stefan Wachter. All rights reserved. |
|
| 5 |
* |
|
| 6 |
* Usage, modification, and redistribution is subject to license terms that are |
|
| 7 |
* available at 'http://www.jbind.org'. The JBind license is like the |
|
| 8 |
* 'Apache Software License V 1.1'. |
|
| 9 |
*/ |
|
| 10 |
package org.jbind.xml.test; |
|
| 11 |
|
|
| 12 |
import junit.framework.TestResult; |
|
| 13 |
import junit.framework.TestSuite; |
|
| 14 |
|
|
| 15 |
import org.jbind.xml.schema.cmp.Schemas; |
|
| 16 |
|
|
| 17 |
public class ScenarioSuite extends TestSuite {
|
|
| 18 |
|
|
| 19 | 172 |
public ScenarioSuite(String aScenarioName) {
|
| 20 | 172 |
super(aScenarioName); |
| 21 |
} |
|
| 22 |
|
|
| 23 | 172 |
public void run(TestResult aResult) {
|
| 24 | 172 |
try {
|
| 25 | 172 |
super.run(aResult); |
| 26 |
} finally {
|
|
| 27 | 172 |
Schemas.getInstance().reset(); |
| 28 |
} |
|
| 29 |
} |
|
| 30 |
|
|
| 31 |
} |
|
| 32 |
|
|
||||||||||