@@ -25,60 +25,60 @@ using namespace o2::utils;
2525
2626BOOST_AUTO_TEST_SUITE (testDPLSerializer)
2727
28- BOOST_AUTO_TEST_CASE(testTrivialTypeVect)
29- {
30- using contType = std::vector<int >;
28+ // BOOST_AUTO_TEST_CASE(testTrivialTypeVect)
29+ // {
30+ // using contType = std::vector<int>;
3131
32- contType inputV{ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 };
32+ // contType inputV{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
3333
34- auto msgStr = BoostSerialize (inputV).str ();
35- auto inputV2 = BoostDeserialize<contType>(msgStr);
34+ // auto msgStr = BoostSerialize(inputV).str();
35+ // auto inputV2 = BoostDeserialize<contType>(msgStr);
3636
37- BOOST_TEST (inputV.size () == inputV2.size ());
37+ // BOOST_TEST(inputV.size() == inputV2.size());
3838
39- size_t i = 0 ;
40- for (auto const & test : inputV) {
41- BOOST_TEST (test == inputV2[i]);
42- i++;
43- }
44- }
39+ // size_t i = 0;
40+ // for (auto const& test : inputV) {
41+ // BOOST_TEST(test == inputV2[i]);
42+ // i++;
43+ // }
44+ // }
4545
46- BOOST_AUTO_TEST_CASE (testTrivialTypeArray)
47- {
48- using contType = std::array<int , 20 >;
46+ // BOOST_AUTO_TEST_CASE(testTrivialTypeArray)
47+ // {
48+ // using contType = std::array<int, 20>;
4949
50- contType inputV{ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 };
50+ // contType inputV{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
5151
52- auto msgStr = BoostSerialize (inputV).str ();
53- auto inputV2 = BoostDeserialize<contType>(msgStr);
52+ // auto msgStr = BoostSerialize(inputV).str();
53+ // auto inputV2 = BoostDeserialize<contType>(msgStr);
5454
55- BOOST_TEST (inputV.size () == inputV2.size ());
55+ // BOOST_TEST(inputV.size() == inputV2.size());
5656
57- size_t i = 0 ;
58- for (auto const & test : inputV) {
59- BOOST_TEST (test == inputV2[i]);
60- i++;
61- }
62- }
57+ // size_t i = 0;
58+ // for (auto const& test : inputV) {
59+ // BOOST_TEST(test == inputV2[i]);
60+ // i++;
61+ // }
62+ // }
6363
64- BOOST_AUTO_TEST_CASE (testTrivialTypeList)
65- {
66- using contType = std::list<int >;
64+ // BOOST_AUTO_TEST_CASE(testTrivialTypeList)
65+ // {
66+ // using contType = std::list<int>;
6767
68- contType inputV{ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 };
68+ // contType inputV{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
6969
70- auto msgStr = BoostSerialize (inputV).str ();
71- auto inputV2 = BoostDeserialize<contType>(msgStr);
70+ // auto msgStr = BoostSerialize(inputV).str();
71+ // auto inputV2 = BoostDeserialize<contType>(msgStr);
7272
73- BOOST_TEST (inputV.size () == inputV2.size ());
73+ // BOOST_TEST(inputV.size() == inputV2.size());
7474
75- size_t i = 0 ;
76- for (auto const & test : inputV) {
77- auto value = std::next (std::begin (inputV2), i).operator *();
78- BOOST_TEST (test == value);
79- i++;
80- }
81- }
75+ // size_t i = 0;
76+ // for (auto const& test : inputV) {
77+ // auto value = std::next(std::begin(inputV2), i).operator*();
78+ // BOOST_TEST(test == value);
79+ // i++;
80+ // }
81+ // }
8282
8383BOOST_AUTO_TEST_CASE(testBoostSerialisedType)
8484{
0 commit comments