Home
last modified time | relevance | path

Searched refs:OverrideTest (Results 1 – 3 of 3) sorted by relevance

/external/python/pybind11/tests/
Dtest_virtual_functions.cpp289 class OverrideTest { in TEST_SUBMODULE() class
294 explicit OverrideTest(const std::string &v) : v{v} {} in TEST_SUBMODULE() function in TEST_SUBMODULE::OverrideTest
295 OverrideTest() = default; in TEST_SUBMODULE()
296 OverrideTest(const OverrideTest&) = delete; in TEST_SUBMODULE()
301 virtual ~OverrideTest() = default; in TEST_SUBMODULE()
304 class PyOverrideTest : public OverrideTest { in TEST_SUBMODULE()
306 using OverrideTest::OverrideTest; in TEST_SUBMODULE()
307 … std::string str_value() override { PYBIND11_OVERRIDE(std::string, OverrideTest, str_value); } in TEST_SUBMODULE()
314 std::string str_ref_helper() { PYBIND11_OVERRIDE(std::string, OverrideTest, str_ref); } in TEST_SUBMODULE()
318 A A_value() override { PYBIND11_OVERRIDE(A, OverrideTest, A_value); } in TEST_SUBMODULE()
[all …]
Dtest_virtual_functions.py262 o = m.OverrideTest("asdf")
/external/testng/src/test/java/test/override/
DOverrideTest.java23 public class OverrideTest extends SimpleBaseTest { class