// $Id$
//
// Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-// Thorsten Horstmann <thorsten.horstmann@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Thorsten Horstmann <tho@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
BOOST_AUTO_UNIT_TEST(TLVFixPacket_parse_packet)
{
- test_TLVFixPacket_parsing<TLVFix8Packet>( Parse_UInt8::fixed_bytes);
- test_TLVFixPacket_parsing<TLVFix16Packet>( Parse_UInt16::fixed_bytes);
- test_TLVFixPacket_parsing<TLVFix24Packet>( Parse_UInt24::fixed_bytes);
- test_TLVFixPacket_parsing<TLVFix32Packet>( Parse_UInt32::fixed_bytes);
+ test_TLVFixPacket_parsing<TLVFix8Packet>( UInt8Parser::fixed_bytes);
+ test_TLVFixPacket_parsing<TLVFix16Packet>( UInt16Parser::fixed_bytes);
+ test_TLVFixPacket_parsing<TLVFix24Packet>( UInt24Parser::fixed_bytes);
+ test_TLVFixPacket_parsing<TLVFix32Packet>( UInt32Parser::fixed_bytes);
}
BOOST_AUTO_UNIT_TEST(TLVFixPacket_create_invalid_packet)
{
- test_invalid_TLVFixPacket_creating<TLVFix8Packet> ( Parse_UInt8::max_value);
- test_invalid_TLVFixPacket_creating<TLVFix16Packet>( Parse_UInt16::max_value);
- test_invalid_TLVFixPacket_creating<TLVFix24Packet>( Parse_UInt24::max_value);
- //test_invalid_TLVFixPacket_creating<TLVFix32Packet>( Parse_UInt32::max_value);
+ test_invalid_TLVFixPacket_creating<TLVFix8Packet> ( UInt8Parser::max_value);
+ test_invalid_TLVFixPacket_creating<TLVFix16Packet>( UInt16Parser::max_value);
+ test_invalid_TLVFixPacket_creating<TLVFix24Packet>( UInt24Parser::max_value);
+ //test_invalid_TLVFixPacket_creating<TLVFix32Packet>( UInt32Parser::max_value);
}