Project
Loading...
Searching...
No Matches
test_RDataFrameSupport.cxx File Reference
#include <boost/test/unit_test.hpp>
#include "Framework/Logger.h"
#include "Framework/TableBuilder.h"
#include "Framework/TableConsumer.h"
#include "Framework/DataAllocator.h"
#include "Framework/OutputRoute.h"
#include "Framework/FairMQResizableBuffer.h"
#include <arrow/table.h>
#include "Framework/RCombinedDS.h"
#include <ROOT/RDataFrame.hxx>
#include <ROOT/RArrowDS.hxx>
#include <arrow/ipc/writer.h>
#include <arrow/io/memory.h>
#include <arrow/ipc/reader.h>
#include "../src/ArrowDebugHelpers.h"

Go to the source code of this file.

Namespaces

namespace  test
 FIXME: do not use data model tables.
 

Macros

#define BOOST_TEST_MODULE   Test Framework TableBuilder
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Typedefs

using TestTable = o2::soa::Table< test::X, test::Y >
 
using ArrayTable = o2::soa::Table< test::Pos >
 

Functions

 test::DECLARE_SOA_COLUMN_FULL (X, x, uint64_t, "x")
 
 test::DECLARE_SOA_COLUMN_FULL (Y, y, uint64_t, "y")
 
 test::DECLARE_SOA_COLUMN_FULL (Pos, pos, int[4], "pos")
 
 BOOST_AUTO_TEST_CASE (TestTableBuilder)
 
 BOOST_AUTO_TEST_CASE (TestTableBuilderArray)
 
 BOOST_AUTO_TEST_CASE (TestTableBuilderStruct)
 
 BOOST_AUTO_TEST_CASE (TestTableBuilderBulk)
 
 BOOST_AUTO_TEST_CASE (TestTableBuilderMore)
 
 BOOST_AUTO_TEST_CASE (TestCombinedDS)
 
 BOOST_AUTO_TEST_CASE (TestSoAIntegration)
 
 BOOST_AUTO_TEST_CASE (TestDataAllocatorReturnType)
 
 BOOST_AUTO_TEST_CASE (TestPodInjestion)
 
 BOOST_AUTO_TEST_CASE (TestColumnCount)
 
 BOOST_AUTO_TEST_CASE (TestMakeFields)
 
 BOOST_AUTO_TEST_CASE (TestStreaming)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 14 of file test_RDataFrameSupport.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 13 of file test_RDataFrameSupport.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test Framework TableBuilder

Definition at line 12 of file test_RDataFrameSupport.cxx.

Typedef Documentation

◆ ArrayTable

using ArrayTable = o2::soa::Table<test::Pos>

Definition at line 44 of file test_RDataFrameSupport.cxx.

◆ TestTable

using TestTable = o2::soa::Table<test::X, test::Y>

Definition at line 43 of file test_RDataFrameSupport.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/12]

BOOST_AUTO_TEST_CASE ( TestColumnCount  )

Definition at line 373 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/12]

BOOST_AUTO_TEST_CASE ( TestCombinedDS  )

Definition at line 259 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/12]

BOOST_AUTO_TEST_CASE ( TestDataAllocatorReturnType  )

Definition at line 342 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/12]

BOOST_AUTO_TEST_CASE ( TestMakeFields  )

Definition at line 398 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/12]

BOOST_AUTO_TEST_CASE ( TestPodInjestion  )

Definition at line 348 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/12]

BOOST_AUTO_TEST_CASE ( TestSoAIntegration  )

Definition at line 321 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [7/12]

BOOST_AUTO_TEST_CASE ( TestStreaming  )

Create a dummy table

Writing to a stream

Definition at line 408 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [8/12]

BOOST_AUTO_TEST_CASE ( TestTableBuilder  )

Definition at line 46 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [9/12]

BOOST_AUTO_TEST_CASE ( TestTableBuilderArray  )

Definition at line 77 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [10/12]

BOOST_AUTO_TEST_CASE ( TestTableBuilderBulk  )

Definition at line 165 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [11/12]

BOOST_AUTO_TEST_CASE ( TestTableBuilderMore  )

Definition at line 189 of file test_RDataFrameSupport.cxx.

◆ BOOST_AUTO_TEST_CASE() [12/12]

BOOST_AUTO_TEST_CASE ( TestTableBuilderStruct  )

Definition at line 130 of file test_RDataFrameSupport.cxx.