// $Id$
//
-// Copyright (C) 2009
+// Copyright (C) 2009
// Fraunhofer Institute for Open Communication Systems (FOKUS)
// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
// Custom includes
#include "Terminfo.hh"
-#include "../../Utils/auto_unit_test.hh"
+#include <senf/Utils/auto_unit_test.hh>
#include <boost/test/test_tools.hpp>
#define prefix_
}
}
-BOOST_AUTO_UNIT_TEST(terminfo)
+SENF_AUTO_UNIT_TEST(terminfo)
{
senf::term::Terminfo ifo ("vt220");
senf::term::KeyParser kp (ifo);
//ifo.dump(std::cout);
//kp.dump(std::cout);
- BOOST_CHECK_EQUAL( kp.lookup("\e[5\x7e"),
+ BOOST_CHECK_EQUAL( kp.lookup("\e[5\x7e"),
Pair(senf::term::KeyParser::PageUp, 4u) );
BOOST_CHECK_EQUAL( kp.lookup("\e"),
Pair(senf::term::KeyParser::Incomplete, 1u) );