Home
last modified time | relevance | path

Searched refs:TestName (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-typed-test.h197 #define TYPED_TEST(CaseName, TestName) \ argument
198 static_assert(sizeof(GTEST_STRINGIFY_(TestName)) > 1, \
201 class GTEST_TEST_CLASS_NAME_(CaseName, TestName) \
209 gtest_##CaseName##_##TestName##_registered_ = \
213 CaseName, TestName)>, \
219 GTEST_STRINGIFY_(TestName), 0, \
225 TestName)<gtest_TypeParam_>::TestBody()
271 #define TYPED_TEST_P(SuiteName, TestName) \ argument
274 class TestName : public SuiteName<gtest_TypeParam_> { \
281 gtest_##TestName##_defined_ = \
[all …]
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp807 #define INTERNAL_CATCH_DECLARE_SIG_TEST0(TestName) argument
808 #define INTERNAL_CATCH_DECLARE_SIG_TEST1(TestName, signature)\ argument
810 static void TestName()
811 #define INTERNAL_CATCH_DECLARE_SIG_TEST_X(TestName, signature, ...)\ argument
813 static void TestName()
815 #define INTERNAL_CATCH_DEFINE_SIG_TEST0(TestName) argument
816 #define INTERNAL_CATCH_DEFINE_SIG_TEST1(TestName, signature)\ argument
818 static void TestName()
819 #define INTERNAL_CATCH_DEFINE_SIG_TEST_X(TestName, signature,...)\ argument
821 static void TestName()
[all …]
/freebsd/contrib/googletest/docs/reference/
H A Dtesting.md15 TEST(<em>TestSuiteName</em>, <em>TestName</em>) {
20 Defines an individual test named *`TestName`* in the test suite
23 Both arguments *`TestSuiteName`* and *`TestName`* must be valid C++ identifiers
34 TEST_F(<em>TestFixtureName</em>, <em>TestName</em>) {
39 Defines an individual test named *`TestName`* that uses the test fixture class
42 Both arguments *`TestFixtureName`* and *`TestName`* must be valid C++
54 TEST_P(<em>TestFixtureName</em>, <em>TestName</em>) {
59 Defines an individual value-parameterized test named *`TestName`* that uses the
63 Both arguments *`TestFixtureName`* and *`TestName`* must be valid C++
195 TYPED_TEST(<em>TestSuiteName</em>, <em>TestName</em>) {
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1748 SampleContext TestName; member
2348 FuncOverlap.TestName = TestFunc.second.getContext(); in computeSampleProfileOverlap()
2349 assert(TestStats.count(FuncOverlap.TestName) && in computeSampleProfileOverlap()
2352 FuncOverlap.TestSample = TestStats[FuncOverlap.TestName].SampleSum; in computeSampleProfileOverlap()
2355 const auto Match = BaseFuncProf.find(FuncOverlap.TestName); in computeSampleProfileOverlap()
2357 const FuncSampleStats &FuncStats = TestStats[FuncOverlap.TestName]; in computeSampleProfileOverlap()
2403 assert(TestStats.count(FuncOverlap.TestName) && in computeSampleProfileOverlap()
2406 if (TestStats[FuncOverlap.TestName].MaxSample >= FuncFilter.ValueCutoff || in computeSampleProfileOverlap()
2472 ProfOverlap.TestName = StringRef(TestFilename); in initializeSampleProfileOverlap()
2532 FOS << F.second.TestName.toString() << "\n"; in dumpFuncSimilarity()
[all …]
/freebsd/contrib/googletest/docs/
H A Dfaq.md21 Currently `TEST(TestSuiteName, TestName)` generates a class named
22 `TestSuiteName_TestName_Test`. What happens if `TestSuiteName` or `TestName`
30 3. If `TestName` starts with an `_` (say, `_Bar`), we get
32 4. If `TestName` ends with an `_` (say, `Bar_`), we get
35 So clearly `TestSuiteName` and `TestName` cannot start or end with `_`
40 It may seem fine for `TestSuiteName` and `TestName` to contain `_` in the
52 `TestName`. The rule is more constraining than necessary, but it's simple and
H A Dprimer.md158 TEST(TestSuiteName, TestName) {
230 TEST_F(TestFixtureClassName, TestName) {
H A Dadvanced.md1477 FRIEND_TEST(TestSuiteName, TestName);
1836 TestName
1848 whose full names (in the form of `TestSuiteName.TestName`) match the filter.