Module indradb::tests [] [src]

Unit tests for datastore implementations.

These are exported so that datastore implementations outside of the indradb crate can reuse them. Generally you can use the convenience macro full_test_impl.

Functions

create_edge_from
create_edges
create_time_range_queryable_edges
should_create_a_valid_edge
should_delete_a_valid_edge
should_delete_a_valid_vertex
should_get_a_valid_edge
should_get_a_vertex_count
should_get_all_vertices
should_get_all_vertices_out_of_range
should_get_all_vertices_with_zero_limit
should_get_an_edge_count
should_get_an_edge_count_for_an_invalid_edge
should_get_an_edge_count_with_no_type
should_get_an_edge_range
should_get_an_inbound_edge_count
should_get_edges
should_get_edges_piped
should_get_edges_with_no_high
should_get_edges_with_no_low
should_get_edges_with_no_time
should_get_edges_with_no_type
should_get_no_edges_for_an_invalid_range
should_get_no_edges_for_reversed_time
should_get_single_vertices
should_get_single_vertices_nonexisting
should_get_vertices
should_get_vertices_piped
should_handle_edge_metadata
should_handle_global_metadata
should_handle_vertex_metadata
should_not_create_an_invalid_edge
should_not_delete_an_invalid_edge
should_not_delete_an_invalid_vertex
should_not_delete_invalid_edge_metadata
should_not_delete_invalid_vertex_metadata
should_not_get_an_invalid_edge
should_not_set_invalid_edge_metadata
should_not_set_invalid_vertex_metadata