#[test]
fn entity_derive_ui() {
let tests = trybuild::TestCases::new();
tests.pass("tests/ui/entity_valid.rs");
tests.pass("tests/ui/entity_renamed_from_valid.rs");
tests.pass("tests/ui/entity_table_renamed_from_valid.rs");
tests.pass("tests/ui/entity_composite_index_valid.rs");
tests.pass("tests/ui/entity_foreign_key_default_schema_valid.rs");
tests.pass("tests/ui/entity_foreign_key_structured_valid.rs");
tests.pass("tests/ui/entity_navigation_attr_valid.rs");
tests.pass("tests/ui/entity_todo_app_domain_valid.rs");
tests.pass("tests/ui/insertable_changeset_valid.rs");
tests.pass("tests/ui/dbcontext_valid.rs");
tests.pass("tests/ui/quickstart_public_valid.rs");
tests.pass("tests/ui/code_first_public_valid.rs");
tests.pass("tests/ui/navigation_public_valid.rs");
tests.pass("tests/ui/query_builder_public_valid.rs");
tests.pass("tests/ui/tracking_state_public_valid.rs");
tests.pass("tests/ui/tracking_context_public_valid.rs");
tests.pass("tests/ui/tracking_ownership_public_valid.rs");
tests.pass("tests/ui/tracking_active_record_public_valid.rs");
tests.pass("tests/ui/query_builder_todo_app_valid.rs");
tests.pass("tests/ui/query_projection_public_valid.rs");
tests.pass("tests/ui/from_row_projection_public_valid.rs");
tests.pass("tests/ui/raw_sql_query_hint_public_valid.rs");
tests.pass("tests/ui/audit_fields_valid.rs");
tests.pass("tests/ui/soft_delete_fields_valid.rs");
tests.pass("tests/ui/tenant_context_valid.rs");
tests.pass("tests/ui/entity_audit_attr_valid.rs");
tests.pass("tests/ui/entity_audit_public_valid.rs");
tests.pass("tests/ui/audit_provider_public_valid.rs");
tests.pass("tests/ui/audit_values_public_valid.rs");
tests.pass("tests/ui/entity_soft_delete_attr_valid.rs");
tests.pass("tests/ui/soft_delete_values_public_valid.rs");
tests.pass("tests/ui/entity_policies_with_structured_foreign_key_valid.rs");
tests.pass("tests/ui/entity_tenant_attr_valid.rs");
tests.compile_fail("tests/ui/entity_missing_primary_key.rs");
tests.compile_fail("tests/ui/entity_identity_invalid_type.rs");
tests.compile_fail("tests/ui/entity_foreign_key_empty_segment.rs");
tests.compile_fail("tests/ui/entity_foreign_key_invalid_format.rs");
tests.compile_fail("tests/ui/entity_foreign_key_structured_missing_column.rs");
tests.compile_fail("tests/ui/entity_foreign_key_set_null_requires_nullable.rs");
tests.compile_fail("tests/ui/entity_navigation_wrong_wrapper.rs");
tests.compile_fail("tests/ui/entity_navigation_missing_foreign_key.rs");
tests.compile_fail("tests/ui/entity_navigation_belongs_to_legacy_foreign_key.rs");
tests.compile_fail("tests/ui/entity_navigation_belongs_to_target_mismatch.rs");
tests.compile_fail("tests/ui/entity_navigation_inverse_missing_foreign_key.rs");
tests.compile_fail("tests/ui/entity_navigation_unannotated_wrapper.rs");
tests.compile_fail("tests/ui/entity_navigation_duplicate_attr.rs");
tests.compile_fail("tests/ui/entity_navigation_many_to_many_direct.rs");
tests.compile_fail("tests/ui/navigation_load_collection_requires_mut.rs");
tests.compile_fail("tests/ui/entity_foreign_key_same_target_requires_name.rs");
tests.compile_fail("tests/ui/entity_rowversion_invalid_type.rs");
tests.compile_fail("tests/ui/insertable_missing_entity.rs");
tests.compile_fail("tests/ui/changeset_field_not_option.rs");
tests.compile_fail("tests/ui/from_row_tuple_struct.rs");
tests.compile_fail("tests/ui/from_row_unit_struct.rs");
tests.compile_fail("tests/ui/from_row_unsupported_attr.rs");
tests.compile_fail("tests/ui/dbcontext_invalid_field_type.rs");
tests.compile_fail("tests/ui/dbcontext_duplicate_entity_set.rs");
tests.compile_fail("tests/ui/audit_fields_tuple_struct.rs");
tests.compile_fail("tests/ui/audit_fields_unsupported_attr.rs");
tests.compile_fail("tests/ui/audit_fields_empty_column.rs");
tests.compile_fail("tests/ui/audit_fields_duplicate_column.rs");
tests.compile_fail("tests/ui/audit_fields_unsupported_type.rs");
tests.compile_fail("tests/ui/entity_audit_missing_type.rs");
tests.compile_fail("tests/ui/entity_audit_column_collision.rs");
tests.compile_fail("tests/ui/entity_duplicate_audit_policy.rs");
tests.compile_fail("tests/ui/entity_audit_column_symbol_unavailable.rs");
tests.compile_fail("tests/ui/entity_soft_delete_missing_type.rs");
tests.compile_fail("tests/ui/entity_duplicate_soft_delete_policy.rs");
tests.compile_fail("tests/ui/entity_soft_delete_column_collision.rs");
tests.compile_fail("tests/ui/dbset_query_ast_bypass_unavailable.rs");
tests.compile_fail("tests/ui/dbset_include_projection_unavailable.rs");
tests.compile_fail("tests/ui/tracking_registry_internal_unavailable.rs");
}