Statistics
| Revision:

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

History | View | Annotate | Download (476 Bytes)

1
package org.txm.scripts.macro.tests
2

    
3
import org.txm.Toolbox
4
import org.txm.rcp.commands.tests.TestBench
5

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