| /******************************************************************************* |
| * Copyright (c) 2011, 2014 Ericsson |
| * |
| * All rights reserved. This program and the accompanying materials are |
| * made available under the terms of the Eclipse Public License 2.0 which |
| * accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Bernd Hufmann - Initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.tracecompass.tmf.ui.tests.views.uml2sd.loader; |
| |
| /** |
| * Common constants for the TMF UML2SD test cases |
| * @author Bernd Hufmann |
| */ |
| public interface IUml2SDTestConstants { |
| |
| /** |
| * Timeout for waiting of jobs to finish (in milliseconds). |
| */ |
| public static final int WAIT_FOR_JOBS_DELAY = 1000; |
| /** |
| * Timeout for waiting for GUI display to refresh (in milliseconds). |
| */ |
| public static final int GUI_REFESH_DELAY = 1000; |
| /** |
| * Initial delay before indexing (in milliseconds). |
| */ |
| public static final int INITIAL_INDEX_DELAY = 1000; |
| /** |
| * Delay after broadcasting a TMF signal (in milliseconds) |
| */ |
| public static final int BROADCAST_DELAY = 2000; |
| /** |
| * Total number of pages of test trace. |
| */ |
| public static final int TOTAL_NUMBER_OF_PAGES = 9; |
| /** |
| * Number of messages per page (as defined for loader class) |
| */ |
| public static final int MAX_MESSEAGES_PER_PAGE = 10000; |
| /** |
| * Number of messages of last page of the test trace. |
| */ |
| public static final int NUM_MESSAGES_OF_LAST_PAGE = 32; |
| /** |
| * Default number of lifelines of test trace. |
| */ |
| public static final int DEFAULT_NUM_LIFELINES = 2; |
| /** |
| * Number of lifelines of test trace when all lifelines are visible. |
| */ |
| public static final int NUM_OF_ALL_LIFELINES = 3; |
| /** |
| * Page number of test trace where all lifelines are visible. |
| */ |
| public static final int PAGE_OF_ALL_LIFELINES = 4; |
| /** |
| * Time scale of test trace. |
| */ |
| public static final byte TIME_SCALE = -9; |
| /** |
| * Master player name (property of test trace) |
| */ |
| public static final String MASTER_PLAYER_NAME = "Master"; |
| /** |
| * First player name (property of test trace) |
| */ |
| public static final String FIRST_PLAYER_NAME = "player1"; |
| /** |
| * Second player name (property of test trace) |
| */ |
| public static final String SECOND_PLAYER_NAME = "player2"; |
| |
| } |