source: trunk/org.modelica.mdt.test/HACKING @ 104

Last change on this file since 104 was 104, checked in by boris, 19 years ago
  • elements in projects view made double-clickable
File size: 935 bytes
Line 
1Some information about working on MDT regression tests set.
2
3Project Name
4------------
5Many test cases need to create a projects to setup the environment for testing.
6Becouse all the tests are run in the same workspace there is a risk of
7conflicts in the projects namespace between different test cases. To avoid this
8and to simplify maintainance of the tests, following scheme should be used apon
9creation of guinnia pig projects.
10
11For each created project a constant PROJECT_NAME_n must be created. The constant
12should be assigned value of TestCaseName.class.getName() + "1". For example test
13case TestFoo, which will create two project will contain following constant
14declaration:
15
16public class TestFoo extends TestCase
17{
18    private static final String PROJECT_NAME_1 =
19        TestFoo.class.getName() + "1";
20
21    private static final String PROJECT_NAME_2 =
22        TestFoo.class.getName() + "2";
23   
24    // .....
25}
26
Note: See TracBrowser for help on using the repository browser.