Commit | Line | Data |
---|---|---|
73005152 | 1 | /******************************************************************************* |
11252342 | 2 | * Copyright (c) 2011, 2013 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 | */ | |
57a2a5ca | 23 | public static final int WAIT_FOR_JOBS_DELAY = 1000; |
64636df8 BH |
24 | /** |
25 | * Timeout for waiting for GUI display to refresh (in milliseconds). | |
26 | */ | |
57a2a5ca | 27 | public static final int GUI_REFESH_DELAY = 1000; |
64636df8 BH |
28 | /** |
29 | * Initial delay before indexing (in milliseconds). | |
30 | */ | |
57a2a5ca | 31 | public static final int INITIAL_INDEX_DELAY = 1000; |
64636df8 BH |
32 | /** |
33 | * Delay after broadcasting a TMF signal (in milliseconds) | |
34 | */ | |
57a2a5ca | 35 | public static final int BROADCAST_DELAY = 2000; |
64636df8 BH |
36 | /** |
37 | * Total number of pages of test trace. | |
38 | */ | |
57a2a5ca | 39 | public static final int TOTAL_NUMBER_OF_PAGES = 9; |
64636df8 BH |
40 | /** |
41 | * Number of messages per page (as defined for loader class) | |
42 | */ | |
57a2a5ca | 43 | public static final int MAX_MESSEAGES_PER_PAGE = 10000; |
64636df8 BH |
44 | /** |
45 | * Number of messages of last page of the test trace. | |
46 | */ | |
57a2a5ca | 47 | public static final int NUM_MESSAGES_OF_LAST_PAGE = 32; |
64636df8 BH |
48 | /** |
49 | * Default number of lifelines of test trace. | |
50 | */ | |
57a2a5ca | 51 | public static final int DEFAULT_NUM_LIFELINES = 2; |
64636df8 BH |
52 | /** |
53 | * Number of lifelines of test trace when all lifelines are visible. | |
54 | */ | |
57a2a5ca | 55 | public static final int NUM_OF_ALL_LIFELINES = 3; |
64636df8 BH |
56 | /** |
57 | * Page number of test trace where all lifelines are visible. | |
58 | */ | |
57a2a5ca | 59 | public static final int PAGE_OF_ALL_LIFELINES = 4; |
64636df8 BH |
60 | /** |
61 | * Time scale of test trace. | |
62 | */ | |
57a2a5ca | 63 | public static final byte TIME_SCALE = -9; |
64636df8 BH |
64 | /** |
65 | * Master player name (property of test trace) | |
66 | */ | |
57a2a5ca | 67 | public static final String MASTER_PLAYER_NAME = "Master"; |
64636df8 BH |
68 | /** |
69 | * First player name (property of test trace) | |
70 | */ | |
57a2a5ca | 71 | public static final String FIRST_PLAYER_NAME = "player1"; |
64636df8 BH |
72 | /** |
73 | * Second player name (property of test trace) | |
74 | */ | |
57a2a5ca | 75 | public static final String SECOND_PLAYER_NAME = "player2"; |
73005152 BH |
76 | |
77 | } |