Skip to main content

Crate re_redap_tests

Crate re_redap_tests 

Source
Expand description

Official test suite for the Rerun Data Protocol (“redap”).

§Usage

In the crate containing your implementation of the re_protos::cloud::v1alpha1::rerun_cloud_service_server::RerunCloudService trait, add an integration test with the following content:

async fn build() -> YourRerunCloudServiceImpl {
    YourRerunCloudServiceImpl::new()
}

re_redap_tests::generate_redap_tests!(build);

Modules§

common

Macros§

generate_redap_tests

Structs§

DataSourcesDefinition
Utility to simplify the creation of data sources to register with a dataset.
LayerDefinition
TempPath
Gets removed on Drop by default. Call TempPath::keep to prevent that.

Traits§

FieldsTestExt
RecordBatchTestExt
RerunCloudServiceExt
Extension trait for the most common test setup tasks.
SchemaTestExt

Functions§

column_doesnt_exist
create_dataset_tests
create_minimal_binary_recording_in
Create a minimal rerun recording with one entity and one component.
create_nasty_recording
Creates a very nasty recording with all kinds of partial updates, chunk overlaps, repeated timestamps, duplicated chunks, partial multi-timelines, flat and recursive clears, etc.
create_recording_with_embeddings
Create an rrd recording with embeddings with 256 floats each. Total number of embeddings (rows) and number of embeddings per row can be specified.
create_recording_with_properties
create_recording_with_scalars
create_recording_with_static_components
create_recording_with_text
create_simple_blueprint
Creates a simple blueprint.
create_simple_recording
Creates a simple, clean recording with sequential data and no overlaps or duplicates.
create_simple_recording_in
Creates a simple, clean recording with sequential data and no overlaps or duplicates and save it to in_dir.
create_table_entry
create_table_entry_duplicate_url
create_table_entry_failed_does_not_leak_name
dataset_doesnt_exist
empty_dataset_schema
entries_table_with_empty_dataset
entry_name
Test helper: parse a string into an EntryName, panicking on invalid names.
index_incremental
index_lifecycle
layered_segment
layered_segment_stress
list_entries_table
multi_chunked_entities_recording
Creates a recording that can be split into multiple chunks.
multi_dataset_fetch_chunk_completeness
query_dataset_index_values
query_dataset_should_fail
query_dataset_simple_filter
query_dataset_with_various_queries
query_empty_dataset
query_simple_dataset
query_simple_dataset_with_layers
register_and_scan_blueprint_dataset
register_and_scan_empty_dataset
register_and_scan_simple_dataset
register_and_scan_simple_dataset_multiple_timelines
register_and_scan_simple_dataset_with_layers
register_and_scan_simple_dataset_with_properties
register_and_scan_simple_dataset_with_properties_out_of_order
register_and_wait
Register data sources and wait for task completion, returning the task result batches.
register_bad_file_uri_should_error
register_conflicting_property_schema
register_conflicting_schema
register_conflicting_schema_filters_segment_table
register_conflicting_schema_same_segment_filters_layer
register_empty_request
register_fully_skipped
register_intra_request_duplicates
register_segment_bumps_timestamp
register_with_dataset_if_duplicate_behavior_error
register_with_dataset_if_duplicate_behavior_overwrite
register_with_dataset_if_duplicate_behavior_skip
register_with_prefix
segment_id_not_found
simple_dataset_fetch_chunk_snapshot
simple_dataset_rrd_manifest
simple_dataset_schema
test_dataset_manifest_column_projections
test_segment_table_column_projections
unregister_invalid_args
unregister_missing_dataset
unregister_missing_segment
unregister_products
unregister_simple
unregister_then_query
unregistered_segment
update_entry_bumps_timestamp
update_entry_tests
write_table

Type Aliases§

TuidPrefix
Indicates the prefix used for all Tuids in a given recording, i.e.