Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
dfe913db
Commit
dfe913db
authored
Jan 24, 2014
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Исправил ошибку в тесте
parent
0132cb56
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
TestProc.cc
extensions/tests/SMemoryTest/TestProc.cc
+3
-3
TestProc.h
extensions/tests/SMemoryTest/TestProc.h
+3
-3
No files found.
extensions/tests/SMemoryTest/TestProc.cc
View file @
dfe913db
...
...
@@ -36,7 +36,7 @@ void TestProc::step()
{
}
// -----------------------------------------------------------------------------
void
TestProc
::
sysCommand
(
UniSetTypes
::
SystemMessage
*
sm
)
void
TestProc
::
sysCommand
(
const
UniSetTypes
::
SystemMessage
*
sm
)
{
TestProc_SK
::
sysCommand
(
sm
);
if
(
sm
->
command
==
SystemMessage
::
StartUp
||
sm
->
command
==
SystemMessage
::
WatchDog
)
...
...
@@ -50,7 +50,7 @@ void TestProc::sysCommand( UniSetTypes::SystemMessage* sm )
}
}
// -----------------------------------------------------------------------------
void
TestProc
::
sensorInfo
(
SensorMessage
*
sm
)
void
TestProc
::
sensorInfo
(
const
SensorMessage
*
sm
)
{
/*
mylog2 << myname << "(sensorInfo): id=" << sm->id << " val=" << sm->value
...
...
@@ -77,7 +77,7 @@ void TestProc::sensorInfo( SensorMessage *sm )
}
}
// -----------------------------------------------------------------------------
void
TestProc
::
timerInfo
(
TimerMessage
*
tm
)
void
TestProc
::
timerInfo
(
const
TimerMessage
*
tm
)
{
if
(
tm
->
id
==
tmChange
)
{
...
...
extensions/tests/SMemoryTest/TestProc.h
View file @
dfe913db
...
...
@@ -25,9 +25,9 @@ class TestProc:
};
virtual
void
step
();
virtual
void
sensorInfo
(
UniSetTypes
::
SensorMessage
*
sm
);
virtual
void
timerInfo
(
UniSetTypes
::
TimerMessage
*
tm
);
virtual
void
sysCommand
(
UniSetTypes
::
SystemMessage
*
sm
);
virtual
void
sensorInfo
(
const
UniSetTypes
::
SensorMessage
*
sm
);
virtual
void
timerInfo
(
const
UniSetTypes
::
TimerMessage
*
tm
);
virtual
void
sysCommand
(
const
UniSetTypes
::
SystemMessage
*
sm
);
void
test_depend
();
void
test_undefined_state
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment