Home
last modified time | relevance | path

Searched refs:TEST_STRING (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/libs/test/test/utils-ts/
Dbasic_cstring-test.cpp86 #define TEST_STRING test_string<CharT>( (CharT*)0 ) macro
133 utf::basic_cstring<CharT> bcs( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
134 BOOST_TEST( traits::compare( bcs.begin(), TEST_STRING, bcs.size() ) == 0 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
135 BOOST_TEST( bcs.size() == traits::length( TEST_STRING ) ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
138 BOOST_TEST( traits::compare( bcs1.begin(), TEST_STRING, bcs1.size() ) == 0 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
144 utf::basic_cstring<CharT> bcs( TEST_STRING, 4 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
151 utf::basic_cstring<CharT> bcs( TEST_STRING, TEST_STRING + 6 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
163 typename utf::basic_cstring<CharT>::std_string l( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
166 BOOST_TEST( traits::compare( bcs.begin(), TEST_STRING, bcs.size() ) == 0 ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
190 utf::basic_cstring<CharT> bcs1( TEST_STRING ); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
[all …]
/third_party/protobuf/js/experimental/runtime/
Dbytestring_test.js8 const /** !ByteString */ TEST_STRING = ByteString.fromArrayBuffer(TEST_BYTES); constant
200 expect(TEST_STRING.equals(other)).toEqual(true);
206 expect(TEST_STRING.equals(other)).toEqual(false);
212 expect(TEST_STRING.equals(other)).toEqual(true);
218 expect(TEST_STRING.equals(other)).toEqual(false);
224 expect(TEST_STRING.equals(other)).toEqual(true);
231 expect(TEST_STRING.equals(other)).toEqual(false);
241 expect(TEST_STRING.hashCode()).toEqual(other.hashCode());
247 expect(TEST_STRING.hashCode()).toEqual(other.hashCode());
/third_party/ltp/testcases/kernel/device-drivers/agp/user_space/
Duser_tagp.h28 #ifndef TEST_STRING
29 #define TEST_STRING hello_world macro
/third_party/boost/libs/metaparse/tools/benchmark/src/
Dmax_length.cpp16 TEST_STRING(BOOST_METAPARSE_STRING("\x0$j"))
19 TEST_STRING(BOOST_METAPARSE_STRING("\x$j"))
Dnumber.cpp16 TEST_STRING($random_string(32))
Dlength128.cpp16 TEST_STRING($random_string($n))
/third_party/json/test/src/
Dunit-testsuites.cpp266 auto TEST_STRING = [](const std::string & json_string, const std::string & expected) variable
273 TEST_STRING("[\"\"]", "");
274 TEST_STRING("[\"Hello\"]", "Hello");
275 TEST_STRING("[\"Hello\\nWorld\"]", "Hello\nWorld");
277 TEST_STRING("[\"\\\"\\\\/\\b\\f\\n\\r\\t\"]", "\"\\/\b\f\n\r\t");
278 TEST_STRING("[\"\\u0024\"]", "\x24"); // Dollar sign U+0024
279 TEST_STRING("[\"\\u00A2\"]", "\xC2\xA2"); // Cents sign U+00A2
280 TEST_STRING("[\"\\u20AC\"]", "\xE2\x82\xAC"); // Euro sign U+20AC
281 TEST_STRING("[\"\\uD834\\uDD1E\"]", "\xF0\x9D\x84\x9E"); // G clef sign U+1D11E
/third_party/glib/gio/tests/
Ddata-output-stream.c67 #define TEST_STRING "some_text" in test_read_lines() macro
73 lines = g_malloc0 ((strlen (TEST_STRING) + strlen (endl[newline_type])) * MAX_LINES + 1); in test_read_lines()
84 char *s = g_strconcat (TEST_STRING, endl[newline_type], NULL); in test_read_lines()
/third_party/libsoup/tests/
Dwebsocket-test.c466 #define TEST_STRING "this is a test" macro
480 soup_websocket_connection_send_text (test->client, TEST_STRING); in test_send_client_to_server()
486 g_assert_cmpstr (contents, ==, TEST_STRING); in test_send_client_to_server()
487 g_assert_cmpint (len, ==, strlen (TEST_STRING)); in test_send_client_to_server()
511 soup_websocket_connection_send_text (test->server, TEST_STRING); in test_send_server_to_client()
517 g_assert_cmpstr (contents, ==, TEST_STRING); in test_send_server_to_client()
518 g_assert_cmpint (len, ==, strlen (TEST_STRING)); in test_send_server_to_client()
/third_party/boost/libs/metaparse/tools/benchmark/include/
Dbenchmark_util.hpp280 #define TEST_STRING(...) to_upper< __VA_ARGS__ >::type CAT(v, __LINE__); macro