Statistics
| Revision:

root / tmp / org.txm.core.tests / src / org / txm / scripts / macro / tests / GroovyTestBench.groovy @ 1626

History | View | Annotate | Download (476 Bytes)

1 1626 mdecorde
package org.txm.scripts.macro.tests
2 1626 mdecorde
3 1626 mdecorde
import org.txm.Toolbox
4 1626 mdecorde
import org.txm.rcp.commands.tests.TestBench
5 1626 mdecorde
6 1626 mdecorde
/**
7 1626 mdecorde
 * Stores the Tests results
8 1626 mdecorde
 *
9 1626 mdecorde
 * @author mdecorde
10 1626 mdecorde
 *
11 1626 mdecorde
 */
12 1626 mdecorde
public class GroovyTestBench {
13 1626 mdecorde
14 1626 mdecorde
        private static TestBench bench = null;
15 1626 mdecorde
16 1626 mdecorde
        public TestBench getTests() {
17 1626 mdecorde
                if (bench != null) return bench;
18 1626 mdecorde
19 1626 mdecorde
                File dir = new File(Toolbox.getTxmHomePath(), "scripts/groovy/user/org/txm/scripts/tests");
20 1626 mdecorde
                dir.mkdirs();
21 1626 mdecorde
                bench = new TestBench(dir);
22 1626 mdecorde
23 1626 mdecorde
                return bench;
24 1626 mdecorde
        }
25 1626 mdecorde
}