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_oss_only_redap_tests
Tests for features only implemented by the OSS server (re_server) so far.
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§

asset_dataset_enforces_segment_limit
asset_dataset_enforces_segment_size_limit
asset_dataset_rejects_temporal_recording
blueprint_dataset_enforces_segment_size_limit
create_blueprint_with_static_components
Like create_recording_with_static_components, but writes a blueprint store.
create_dataset_tests
create_divergent_component_ranges_recording
Create a recording with deliberately divergent per-component time ranges within chunks.
create_minimal_binary_recording_in
Create a minimal rerun recording with one entity and one component.
create_minimal_static_recording
Create a recording containing only a single static chunk.
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_simple_recording_one_chunk_per_frame
Like create_simple_recording, but emits one temporal chunk per frame.
create_simple_recording_one_chunk_per_frame_in
Like create_simple_recording_in, but emits one temporal chunk per frame.
create_table_entry
create_table_entry_duplicate_url
create_table_entry_failed_does_not_leak_name
delete_table_deletes_attached_blueprint_dataset
deleting_dataset_deletes_asset_dataset
empty_dataset_schema
entries_table_with_empty_dataset
entry_name
Test helper: parse a string into an EntryName, panicking on invalid names.
find_entries_asset_by_id_requires_explicit_kind
find_entries_asset_by_name_requires_explicit_kind
find_entries_default_excludes_asset_datasets
find_entries_entry_kinds_exact
find_entries_entry_kinds_multi_kind_name_lookup
find_entries_entry_kinds_rejects_unspecified
find_entries_ignores_unknown_entry_kinds
find_entries_legacy_entry_kind_miss_returns_empty
find_entries_legacy_entry_kind_still_works
find_entries_rejects_legacy_unspecified
get_assets_for_segment_rejects_non_recording_dataset
get_assets_for_segment_returns_registered_assets
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_consistent_schema_across_timelines
query_dataset_emits_per_segment_pushdown
query_dataset_has_uncompressed_sizes
query_dataset_index_values
query_dataset_or_of_ranges_fans_out
query_dataset_or_with_empty_branch_and_projection
query_dataset_per_segment_values_empty_entity_paths_short_circuits
query_dataset_per_segment_values_multi_value_wire_level
query_dataset_per_segment_values_validation_rejected
query_dataset_per_segment_values_wire_level
query_dataset_per_segment_values_with_chunk_ids_intersects
query_dataset_range_filter_with_and_without_latest_at_fill
query_dataset_should_fail
query_dataset_simple_filter
query_dataset_unknown_segment_id_returns_empty
query_dataset_with_limit
query_dataset_with_various_queries
query_empty_dataset
query_simple_dataset
query_simple_dataset_with_layers
register_and_attach_table_blueprint_dataset
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
scan_dataset_manifest_filter
scan_segment_table_filter
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_dataset_entry_keeps_asset_dataset
update_dataset_entry_rejects_invalid_asset_details
update_dataset_entry_rejects_invalid_blueprint_details
update_dataset_entry_replaces_deleted_asset_dataset
update_entry_bumps_timestamp
update_entry_tests
update_table_entry_blueprint_details
update_table_entry_rejects_invalid_blueprint_details
watch_events_entry_created
watch_events_entry_deleted
write_table

Type Aliases§

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