summaryrefslogtreecommitdiff
path: root/maximus/ethernet/src/EthernetProcessorTest.cpp
diff options
context:
space:
mode:
authorburet2008-02-27 17:34:44 +0000
committerburet2008-02-27 17:34:44 +0000
commit8a82a52b9e1e6f677fb421c05e08470962b475be (patch)
tree844120ba7bd0305eaaa56f2a27bb969cfdd0bf02 /maximus/ethernet/src/EthernetProcessorTest.cpp
parent975b5b7f3112f799d9a374688d6022403edf41f2 (diff)
Maximus V2: Implement the HLE message type SNIFFER.
Modifications in station HAL HLE, in Maximus C++ ethernet package, and in Maximus Python ethernet package. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1483 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'maximus/ethernet/src/EthernetProcessorTest.cpp')
-rw-r--r--maximus/ethernet/src/EthernetProcessorTest.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/maximus/ethernet/src/EthernetProcessorTest.cpp b/maximus/ethernet/src/EthernetProcessorTest.cpp
index d54ac826c4..c6e986fddd 100644
--- a/maximus/ethernet/src/EthernetProcessorTest.cpp
+++ b/maximus/ethernet/src/EthernetProcessorTest.cpp
@@ -62,13 +62,10 @@ void EthernetProcessorTest::createEtherTest (void)
logTest();
EtherSciMsg * pEtherSciMsg = mpEthernetProcessor->createEther();
+ CPPUNIT_ASSERT_MESSAGE ( "createEther failed", NULL != pEtherSciMsg );
- CPPUNIT_ASSERT_MESSAGE ( "Ether SCI message not correctly created",
- (NULL != pEtherSciMsg)
- && (mpEthernetProcessor == pEtherSciMsg->getEthernet()) );
-
- delete (pEtherSciMsg);
- pEtherSciMsg = NULL;
+ delete (pEtherSciMsg);
+ pEtherSciMsg = NULL;
}
@@ -77,6 +74,7 @@ void EthernetProcessorTest::sendEtherTest (void)
logTest();
EtherSciMsg * pEtherSciMsg = mpEthernetProcessor->createEther();
+ CPPUNIT_ASSERT_MESSAGE ( "Ether SCI message pointer is NULL", NULL != pEtherSciMsg );
// create the destination station
Sci_Msg_Station_Id stationId = mpCoreEngine->getSystem()->createStation(mpCoreEngine->getSystem()->getDefaultStationExecutable());