Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 44f19d517bd833dbec8c225a7caf81d165ebc7b8 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*******************************************************************************
 * Copyright (c) 2016 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:
 * 		Jan Belle (initial contribution)
 *
 *******************************************************************************/

#ifndef SRC_DEBUGGING_DEBUGGINGSERVICETEST_H_
#define SRC_DEBUGGING_DEBUGGINGSERVICETEST_H_

#include "util/etTestSuite.h"
#include "common/modelbase/ActorClassBase.h"
#include "common/modelbase/SubSystemClassBase.h"
#include "common/modelbase/PortBase.h"

using namespace etRuntime;

class DebuggingServiceTest: public etTestSuite {
public:
	DebuggingServiceTest() :
			etTestSuite("DebuggingServiceTest") {
	}

protected:
	void testLogging(void);

	void runAllTestCases(void);
};

class ActorClass: public ActorClassBase {
public:
	ActorClass(IRTObject* parent, const std::string& name) :
			ActorClassBase(parent, name) {
	}

	void receiveEvent(InterfaceItemBase* ifitem, int evt, void* data) {
	}
	void executeInitTransition() {
	}
};

class SubSystemClass: public SubSystemClassBase {
public:
	SubSystemClass(IRTObject* parent, std::string name) :
			SubSystemClassBase(parent, name) {
	}

	void receiveEvent(InterfaceItemBase* ifitem, int evt, void* data) {
	}
	void instantiateMessageServices() {
	}
	void mapThreads() {
	}
	void initialize() {
	}

};

class Port: public PortBase {
public:
	Port(IInterfaceItemOwner* owner, const std::string& name) :
			PortBase(owner, name, 0) {
	}

	void receive(const Message* msg) {
	}
};

#endif /* SRC_DEBUGGING_DEBUGGINGSERVICETEST_H_ */

Back to the top