Commit | Line | Data |
---|---|---|
73005152 | 1 | /******************************************************************************* |
df0b8ff4 | 2 | * Copyright (c) 2011, 2012 Ericsson |
64636df8 | 3 | * |
73005152 BH |
4 | * All rights reserved. This program and the accompanying materials are |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
64636df8 | 8 | * |
73005152 BH |
9 | * Contributors: |
10 | * Bernd Hufmann - Initial API and implementation | |
11 | *******************************************************************************/ | |
df0b8ff4 | 12 | package org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.loader; |
73005152 BH |
13 | |
14 | /** | |
64636df8 BH |
15 | * Common constants for the TMF UML2SD test cases |
16 | * @author Bernd Hufmann | |
73005152 | 17 | */ |
73005152 | 18 | public interface IUml2SDTestConstants { |
64636df8 BH |
19 | |
20 | /** | |
21 | * Timeout for waiting of jobs to finish (in milliseconds). | |
22 | */ | |
23 | final static public int WAIT_FOR_JOBS_DELAY = 1000; | |
24 | /** | |
25 | * Timeout for waiting for GUI display to refresh (in milliseconds). | |
26 | */ | |
126745eb | 27 | final static public int GUI_REFESH_DELAY = 1000; |
64636df8 BH |
28 | /** |
29 | * Initial delay before indexing (in milliseconds). | |
30 | */ | |
73005152 | 31 | final static public int INITIAL_INDEX_DELAY = 1000; |
64636df8 BH |
32 | /** |
33 | * Delay after broadcasting a TMF signal (in milliseconds) | |
34 | */ | |
73005152 | 35 | final static public int BROADCAST_DELAY = 2000; |
64636df8 BH |
36 | /** |
37 | * Total number of pages of test trace. | |
38 | */ | |
73005152 | 39 | final static public int TOTAL_NUMBER_OF_PAGES = 9; |
64636df8 BH |
40 | /** |
41 | * Number of messages per page (as defined for loader class) | |
42 | */ | |
73005152 | 43 | final static public int MAX_MESSEAGES_PER_PAGE = 10000; |
64636df8 BH |
44 | /** |
45 | * Number of messages of last page of the test trace. | |
46 | */ | |
73005152 | 47 | final static public int NUM_MESSAGES_OF_LAST_PAGE = 32; |
64636df8 BH |
48 | /** |
49 | * Default number of lifelines of test trace. | |
50 | */ | |
73005152 | 51 | final static public int DEFAULT_NUM_LIFELINES = 2; |
64636df8 BH |
52 | /** |
53 | * Number of lifelines of test trace when all lifelines are visible. | |
54 | */ | |
73005152 | 55 | final static public int NUM_OF_ALL_LIFELINES = 3; |
64636df8 BH |
56 | /** |
57 | * Page number of test trace where all lifelines are visible. | |
58 | */ | |
73005152 | 59 | final static public int PAGE_OF_ALL_LIFELINES = 4; |
64636df8 BH |
60 | /** |
61 | * Time scale of test trace. | |
62 | */ | |
73005152 | 63 | final static public byte TIME_SCALE = -9; |
64636df8 BH |
64 | |
65 | /** | |
66 | * Master player name (property of test trace) | |
67 | */ | |
73005152 | 68 | final static public String MASTER_PLAYER_NAME = "Master"; |
64636df8 BH |
69 | /** |
70 | * First player name (property of test trace) | |
71 | */ | |
73005152 | 72 | final static public String FIRST_PLAYER_NAME = "player1"; |
64636df8 BH |
73 | /** |
74 | * Second player name (property of test trace) | |
75 | */ | |
73005152 BH |
76 | final static public String SECOND_PLAYER_NAME = "player2"; |
77 | ||
78 | } |