Home
last modified time | relevance | path

Searched refs:TEST_PREFIX (Results 1 – 9 of 9) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/drivers/dma-buf/
Dudmabuf.c15 #define TEST_PREFIX "drivers/dma-buf/udmabuf" macro
32 printf("%s: [skip,no-udmabuf]\n", TEST_PREFIX); in main()
38 printf("%s: [skip,no-memfd]\n", TEST_PREFIX); in main()
45 printf("%s: [FAIL,memfd-truncate]\n", TEST_PREFIX); in main()
57 printf("%s: [FAIL,test-1]\n", TEST_PREFIX); in main()
67 printf("%s: [FAIL,test-2]\n", TEST_PREFIX); in main()
77 printf("%s: [FAIL,test-3]\n", TEST_PREFIX); in main()
87 printf("%s: [FAIL,test-4]\n", TEST_PREFIX); in main()
91 fprintf(stderr, "%s: ok\n", TEST_PREFIX); in main()
/external/catch2/contrib/
DCatch.cmake21 same as the Catch name; see also ``TEST_PREFIX`` and ``TEST_SUFFIX``.
32 [TEST_PREFIX prefix]
72 ``TEST_PREFIX prefix``
79 Similar to ``TEST_PREFIX`` except the ``suffix`` is appended to the name of
80 every discovered test case. Both ``TEST_PREFIX`` and ``TEST_SUFFIX`` may
100 "TEST_PREFIX;TEST_SUFFIX;WORKING_DIRECTORY;TEST_LIST"
134 -D "TEST_PREFIX=${_TEST_PREFIX}"
DCatchAddTests.cmake4 set(prefix "${TEST_PREFIX}")
/external/catch2/docs/
Dcmake-integration.md81 [TEST_PREFIX prefix]
105 * `TEST_PREFIX prefix`
114 Same as `TEST_PREFIX`, except it specific the _suffix_ for the test names.
115 Both `TEST_PREFIX` and `TEST_SUFFIX` can be specified at the same time.
/external/python/cpython2/Lib/test/
D_mock_backport.py1117 if not attr.startswith(patch.TEST_PREFIX):
1576 if (attr.startswith(patch.TEST_PREFIX) and
1656 patch.TEST_PREFIX = 'test'
/external/pdfium/third_party/pymock/
Dmock.py1164 if not attr.startswith(patch.TEST_PREFIX):
1628 if (attr.startswith(patch.TEST_PREFIX) and
1708 patch.TEST_PREFIX = 'test'
/external/python/cpython3/Lib/unittest/
Dmock.py1171 if not attr.startswith(patch.TEST_PREFIX):
1631 if (attr.startswith(patch.TEST_PREFIX) and
1713 patch.TEST_PREFIX = 'test'
/external/python/mock/mock/
Dmock.py1272 if not attr.startswith(patch.TEST_PREFIX):
1734 if (attr.startswith(patch.TEST_PREFIX) and
1814 patch.TEST_PREFIX = 'test'
/external/python/cpython3/Doc/library/
Dunittest.mock.rst1117 tests by looking for method names that start with ``patch.TEST_PREFIX``.
1119 You can specify an alternative prefix by setting ``patch.TEST_PREFIX``.
1264 When used as a class decorator :func:`patch.object` honours ``patch.TEST_PREFIX``
1312 ``patch.TEST_PREFIX`` for choosing which methods to wrap.
1391 When used as a class decorator :func:`patch.multiple` honours ``patch.TEST_PREFIX``
1522 TEST_PREFIX section in The patchers
1531 inform the patchers of the different prefix by setting ``patch.TEST_PREFIX``:
1533 >>> patch.TEST_PREFIX = 'foo'