Home
last modified time | relevance | path

Searched refs:testconfig (Results 1 - 2 of 2) sorted by relevance

/third_party/rust/crates/aho-corasick/src/
H A Dtests.rs622 // we define a couple of macros to avoid repetition drudgery. The testconfig
626 // invokes testconfig in precisely this way: it sets up several tests where
629 macro_rules! testconfig { macros
682 testconfig!(nfa_default, $collection, $kind, |_| ());
683 testconfig!(
691 testconfig!(
699 testconfig!(
707 testconfig!(
715 testconfig!(
723 testconfig!(
[all...]
/third_party/gn/src/gn/
H A Dtarget_unittest.cc383 // "testconfig" is a test-only config. in TEST_F()
384 Config testconfig(setup.settings(), Label(SourceDir("//test/"), "config")); in TEST_F()
385 testconfig.set_testonly(true); in TEST_F()
386 testconfig.visibility().SetPublic(); in TEST_F()
387 ASSERT_TRUE(testconfig.OnResolved(&err)); in TEST_F()
389 // "test" is a test-only executable that uses testconfig, this is OK. in TEST_F()
392 test.configs().push_back(LabelConfigPair(&testconfig)); in TEST_F()
395 // "product" is a non-test that uses testconfig. This should fail. in TEST_F()
398 product.configs().push_back(LabelConfigPair(&testconfig)); in TEST_F()

Completed in 4 milliseconds