Project
Loading...
Searching...
No Matches
testCcdbApiDownloader.cxx File Reference
#include "CommonUtils/StringUtils.h"
#include "CCDB/CCDBTimeStampUtils.h"
#include <CCDB/CCDBDownloader.h>
#include <curl/curl.h>
#include <chrono>
#include <iostream>
#include <unistd.h>
#include <fairlogger/Logger.h>
#include <boost/test/unit_test.hpp>
#include <boost/asio/ip/host_name.hpp>
#include <uv.h>
#include <boost/algorithm/string.hpp>
#include "MemoryResources/MemoryResources.h"

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::ccdb
 information complementary to a CCDB object (path, metadata, startTimeValidity, endTimeValidity etc)
 

Macros

#define BOOST_TEST_MODULE   CCDB
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

size_t o2::ccdb::CurlWrite_CallbackFunc_StdString2 (void *contents, size_t size, size_t nmemb, std::string *s)
 
std::string o2::ccdb::uniqueAgentID ()
 
CURL * o2::ccdb::createTestHandle (std::string *dst)
 
size_t o2::ccdb::writeCallbackNoLambda (void *contents, size_t size, size_t nmemb, void *chunkptr)
 
std::vector< CURL * > o2::ccdb::prepareAsyncHandles (size_t num, std::vector< o2::pmr::vector< char > * > &dests)
 
 o2::ccdb::BOOST_AUTO_TEST_CASE (asynch_schedule_test)
 
 o2::ccdb::BOOST_AUTO_TEST_CASE (perform_test)
 
 o2::ccdb::BOOST_AUTO_TEST_CASE (blocking_batch_test)
 
 o2::ccdb::BOOST_AUTO_TEST_CASE (test_with_break)
 
void o2::ccdb::onUVClose (uv_handle_t *handle)
 
void o2::ccdb::closeAllHandles (uv_handle_t *handle, void *arg)
 
void o2::ccdb::testTimerCB (uv_timer_t *handle)
 
 o2::ccdb::BOOST_AUTO_TEST_CASE (external_loop_test)
 
 o2::ccdb::BOOST_AUTO_TEST_CASE (trim_host_url_test)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 14 of file testCcdbApiDownloader.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 13 of file testCcdbApiDownloader.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   CCDB

Definition at line 12 of file testCcdbApiDownloader.cxx.