blob: 1b71ac187c73d7077e69b3a5726885567e73f005 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*******************************************************************************
* Copyright (c) 2010 protos software gmbh (http://www.protos.de).
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* CONTRIBUTORS:
* Thomas Schuetz and Henrik Rentz-Reichert (initial contribution)
*
*******************************************************************************/
package org.eclipse.etrice.integration.tests;
import static org.junit.Assert.assertEquals;
import org.eclipse.etrice.integration.PingPongThreadTestReplPort.SubSystem_PingPongReplPort;
import org.eclipse.etrice.integration.tests.base.IntegrationTestBase;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class IntegrationTestPingPongThreadReplPort extends IntegrationTestBase {
// private SubSystem_PingPongReplPort main_component = null;
@Before
public void setUp() throws Exception {
// main_component = new SubSystem_PingPongReplPort(null,"MainComponent");
//
// // hand over the semaphore to the subsystem
// main_component.setTestSemaphore(this.testSem);
}
@Test (timeout=10000)
public void testPingPongThreadTestReplPort (){
// main_component.init(); // lifecycle init
// main_component.start(); // lifecycle start
//
// waitForTestcase();
//
// assertEquals(0,main_component.getTestErrorCode());
}
@After
public void tearDown() throws Exception {
// // end the lifecycle
// main_component.stop(); // lifecycle stop
// main_component.destroy(); // lifecycle destroy
}
}
|