Commit dfe913db authored by Pavel Vainerman's avatar Pavel Vainerman

Исправил ошибку в тесте

parent 0132cb56
......@@ -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 )
{
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment