Skip to content

Commit

Permalink
Add tests for multiple issues.
Browse files Browse the repository at this point in the history
Issues #1094, #1096, #1097, #1098.
  • Loading branch information
adetaylor committed May 17, 2022
1 parent 5f62daf commit 524c2bb
Show file tree
Hide file tree
Showing 2 changed files with 189 additions and 126 deletions.
12 changes: 12 additions & 0 deletions integration-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,18 @@ pub fn run_test_ex(
.unwrap()
}

pub fn run_generate_all_test(header_code: &str) {
run_test_ex(
"",
header_code,
quote! {},
quote! { generate_all!() },
None,
None,
None,
);
}

pub fn run_test_expect_fail(
cxx_code: &str,
header_code: &str,
Expand Down
Loading

0 comments on commit 524c2bb

Please sign in to comment.