Project
Loading...
Searching...
No Matches
test_ReadPlan.cxx File Reference
#include "AODNative/ReadPlan.h"
#include <catch_amalgamated.hpp>
#include <cstring>
#include <thread>

Go to the source code of this file.

Functions

 TEST_CASE ("ranges closer than the gap are fetched in one read, on first use")
 
 TEST_CASE ("ranges which were never registered are not found")
 
 TEST_CASE ("ranges added after a fetch are fetched on their first use")
 
 TEST_CASE ("ranges past the end of the file are left to the reader")
 
 TEST_CASE ("a planned source serves planned ranges from memory and the rest from the source")
 
 TEST_CASE ("concurrent lookups fetch the pending ranges once")
 
 TEST_CASE ("buffers of finished plans are reused by the next one")
 

Function Documentation

◆ TEST_CASE() [1/7]

TEST_CASE ( "a planned source serves planned ranges from memory and the rest from the source"  )

Definition at line 128 of file test_ReadPlan.cxx.

◆ TEST_CASE() [2/7]

TEST_CASE ( "buffers of finished plans are reused by the next one"  )

Definition at line 169 of file test_ReadPlan.cxx.

◆ TEST_CASE() [3/7]

TEST_CASE ( "concurrent lookups fetch the pending ranges once"  )

Definition at line 146 of file test_ReadPlan.cxx.

◆ TEST_CASE() [4/7]

TEST_CASE ( "ranges added after a fetch are fetched on their first use"  )

Definition at line 98 of file test_ReadPlan.cxx.

◆ TEST_CASE() [5/7]

TEST_CASE ( "ranges closer than the gap are fetched in one  read,
on first use"   
)

Definition at line 67 of file test_ReadPlan.cxx.

◆ TEST_CASE() [6/7]

TEST_CASE ( "ranges past the end of the file are left to the reader"  )

Definition at line 118 of file test_ReadPlan.cxx.

◆ TEST_CASE() [7/7]

TEST_CASE ( "ranges which were never registered are not found"  )

Definition at line 87 of file test_ReadPlan.cxx.