mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
e12888f0e7
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com> V3_GIT_ORIGIN_REV_ID: 22630e7b4af8f3a535a6017fcaa7d70d581d3ae3
53 lines
1.2 KiB
Rust
53 lines
1.2 KiB
Rust
#[allow(dead_code)]
|
|
mod common;
|
|
|
|
#[test]
|
|
fn test_explain_introspection() {
|
|
common::test_execute_explain("explain/metadata.json", "explain/introspection_query/");
|
|
}
|
|
|
|
#[test]
|
|
fn test_multi_root_field_queries() {
|
|
common::test_execute_explain("explain/metadata.json", "explain/multi_root_field_queries/");
|
|
}
|
|
|
|
#[test]
|
|
fn test_field_with_remote_relationship() {
|
|
common::test_execute_explain(
|
|
"explain/metadata.json",
|
|
"explain/field_with_remote_relationship/",
|
|
);
|
|
}
|
|
|
|
#[test]
|
|
fn test_field_with_local_relationship() {
|
|
common::test_execute_explain(
|
|
"explain/metadata.json",
|
|
"explain/field_with_local_relationship/",
|
|
);
|
|
}
|
|
|
|
#[test]
|
|
fn test_field_with_multi_remote_relationship_subfields() {
|
|
common::test_execute_explain(
|
|
"explain/metadata.json",
|
|
"explain/field_with_multi_remote_relationship_subfields/",
|
|
);
|
|
}
|
|
|
|
#[test]
|
|
fn test_field_with_nested_remote_relationship_1() {
|
|
common::test_execute_explain(
|
|
"explain/metadata.json",
|
|
"explain/field_with_nested_remote_relationship_1/",
|
|
);
|
|
}
|
|
|
|
#[test]
|
|
fn test_field_with_nested_remote_relationship_2() {
|
|
common::test_execute_explain(
|
|
"explain/metadata.json",
|
|
"explain/field_with_nested_remote_relationship_2/",
|
|
);
|
|
}
|