Home
last modified time | relevance | path

Searched refs:test_class (Results 1 – 25 of 65) sorted by relevance

123

/third_party/boost/libs/multi_index/test/
Dtest_key_extractors.cpp24 struct test_class struct
43 static bool bool_global_fun(test_class){return true;} in bool_global_fun() argument
44 static bool bool_global_fun_const_ref(const test_class&){return false;} in bool_global_fun_const_ref() argument
45 static bool bool_global_fun_ref(test_class&){return true;} in bool_global_fun_ref() argument
47 test_class(int i=0):int_member(i),int_cmember(i){} in test_class() function
48 test_class(int i,int j):int_member(i),int_cmember(j){} in test_class() function
49 test_class(const test_class& x): in test_class() argument
52 test_class& operator=(const test_class& x) in operator =() argument
58 bool operator<(const test_class& x)const in operator <() argument
65 bool operator==(const test_class& x)const in operator ==() argument
[all …]
/third_party/cef/tests/ceftests/extensions/
Dextension_test_handler.h155 #define EXTENSION_TEST(name, test_class, rc_type) \ argument
157 CefRefPtr<test_class> handler = new test_class( \
167 #define EXTENSION_TEST_GROUP_ALL(name, test_class) \ argument
168 EXTENSION_TEST(name##RCGlobal, test_class, 0) \
169 EXTENSION_TEST(name##RCGlobalLoadWithHandler, test_class, \
171 EXTENSION_TEST(name##RCGlobalWithHandler, test_class, \
173 EXTENSION_TEST(name##RCGlobalWithHandlerLoadWithHandler, test_class, \
176 EXTENSION_TEST(name##RCGlobalWithHandlerLoadWithoutHandler, test_class, \
179 EXTENSION_TEST(name##RCCustomInMemory, test_class, \
181 EXTENSION_TEST(name##RCCustomInMemoryLoadWithHandler, test_class, \
[all …]
Dchrome_alarms_unittest.cc9 #define ALARMS_TEST_GROUP_ALL(name, test_class) \ argument
10 EXTENSION_TEST_GROUP_ALL(ChromeAlarms##name, test_class)
11 #define ALARMS_TEST_GROUP_MINIMAL(name, test_class) \ argument
12 EXTENSION_TEST_GROUP_MINIMAL(ChromeAlarms##name, test_class)
/third_party/cef/tests/ceftests/
Dtest_util.h99 #define RC_TEST_BASE(test_case_name, test_name, test_class, test_mode, \ argument
109 CefRefPtr<test_class> handler = \
110 new test_class(test_class::test_mode, rc_mode, cache_path); \
119 #define RC_TEST_GROUP_IN_MEMORY(test_case_name, test_name, test_class, \ argument
121 RC_TEST_BASE(test_case_name, test_name##RCNone, test_class, test_mode, \
123 RC_TEST_BASE(test_case_name, test_name##RCGlobal, test_class, test_mode, \
125 RC_TEST_BASE(test_case_name, test_name##RCGlobalWithHandler, test_class, \
127 RC_TEST_BASE(test_case_name, test_name##RCCustomInMemory, test_class, \
130 test_class, test_mode, TEST_RC_MODE_CUSTOM_WITH_HANDLER, false)
133 #define RC_TEST_GROUP_ON_DISK(test_case_name, test_name, test_class, \ argument
[all …]
/third_party/boost/libs/config/test/
Dboost_has_nrvo.ipp17 class test_class
20 test_class() {}
21 test_class(const test_class&)
29 int test_class::copy_count;
31 test_class f()
33 test_class nrv;
40 test_class::copy_count=0;
44 return test_class::copy_count;
Dboost_no_decltype.ipp18 struct test_class
20 test_class() {}
23 test_class get_test_class()
25 return test_class();
33 // to be "test_class&". Remove the constructor
34 // from test_class and then decltype does work OK!!
/third_party/boost/libs/python/test/
Dtest_class.hpp10 struct test_class struct
12 explicit test_class(int x) : x(x), magic(7654321 + n) { ++counter; } in test_class() argument
13 test_class(test_class const& rhs) : x(rhs.x), magic(7654321 + n) { ++counter; } in test_class() function
14 … virtual ~test_class() { BOOST_TEST(magic == 7654321 + n); magic = 6666666; x = 9999; --counter; } in ~test_class() argument
26 void operator=(test_class const&); argument
30 int test_class<n>::counter;
Dshared_ptr.hpp11 typedef test_class<> X;
12 typedef test_class<1> Y;
87 struct Z : test_class<2>
89 Z(int x) : test_class<2>(x) {} in Z()
Dnested.cpp16 typedef test_class<> X;
17 typedef test_class<1> Y;
Ddata_members.cpp18 typedef test_class<> X;
20 struct Y : test_class<1>
22 Y(int v) : test_class<1>(v) {} in Y()
/third_party/boost/libs/type_erasure/test/
Dtest_nested.cpp30 struct test_class struct
35 test_class operator+(const test_class& lhs, const any1_type& rhs) in operator +() argument
37 test_class result = { lhs.i + any_cast<int>(rhs) }; in operator +()
45 test_class v = { 2 }; in BOOST_AUTO_TEST_CASE()
48 BOOST_CHECK_EQUAL(any_cast<test_class>(y).i, 3); in BOOST_AUTO_TEST_CASE()
56 test_class v = { 2 }; in BOOST_AUTO_TEST_CASE()
59 BOOST_CHECK_EQUAL(any_cast<test_class>(y).i, 3); in BOOST_AUTO_TEST_CASE()
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
Dbuild_defs.bzl16 test_class = test_package + "." + name
18 test_class = None
23 test_class = test_class,
31 test_class = test_class,
/third_party/boost/libs/test/doc/examples/
Dexample03.run-fail.cpp13 class test_class class
28 boost::shared_ptr<test_class> tester( new test_class ); in init_unit_test_suite()
31 add( BOOST_TEST_CASE( boost::bind( &test_class::test_method1, tester ))); in init_unit_test_suite()
33 add( BOOST_TEST_CASE( boost::bind( &test_class::test_method2, tester ))); in init_unit_test_suite()
Dexample08.run-fail.cpp18 class test_class { class
32 boost::function<void (double)> test_method = bind( &test_class::test_method, &tester, _1); in init_unit_test()
/third_party/protobuf/python/google/protobuf/internal/
Dtesting_refleaks.py116 def TestCase(test_class): argument
117 new_bases = (ReferenceLeakCheckerMixin,) + test_class.__bases__
118 new_class = type(test_class)(
119 test_class.__name__, new_bases, dict(test_class.__dict__))
126 def TestCase(test_class): argument
127 return test_class
/third_party/ffmpeg/libavutil/tests/
Dopt.c104 static const AVClass test_class = { variable
125 test_ctx.class = &test_class; in main()
158 test_ctx.class = &test_class; in main()
179 test_ctx.class = &test_class; in main()
180 test2_ctx.class = &test_class; in main()
219 test_ctx.class = &test_class; in main()
228 test_ctx.class = &test_class; in main()
307 test_ctx.class = &test_class; in main()
342 test_ctx.class = &test_class; in main()
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/
Dtbase.c161 struct class test_class = { variable
171 .class = &test_class,
187 .class = &test_class,
333 class_unregister(&test_class); in tbase_ioctl()
526 tmp = class_get(&test_class); in test_class_get()
527 if (tmp == &test_class) { in test_class_get()
535 class_put(&test_class); in test_class_get()
727 struct class *cls = &test_class; in test_class_file()
751 error = class_register(&test_class); in test_class_reg()
/third_party/python/Lib/test/
Dtest_super.py148 test_class = None
152 nonlocal test_class
154 test_class = self.f()
162 self.assertIs(test_class, A)
186 test_class = None
196 nonlocal test_class
197 test_class = __class__
199 self.assertIs(test_class, A)
/third_party/boost/libs/intrusive/perf/
Dtree_perf_test.cpp31 struct test_class : private filler<BigSize> struct
34 friend bool operator <(const test_class &l, const test_class &r) { return l.i_ < r.i_; } in operator <() argument
35 friend bool operator >(const test_class &l, const test_class &r) { return l.i_ > r.i_; } in operator >()
40 : public HookType, public test_class<BigSize>
Dperf_list.cpp35 struct test_class : private filler<BigSize> struct
38 test_class() {} in test_class() function
39 test_class(int i) : i_(i) {} in test_class() function
40 friend bool operator <(const test_class &l, const test_class &r) { return l.i_ < r.i_; } in operator <()
41 friend bool operator >(const test_class &l, const test_class &r) { return l.i_ > r.i_; } in operator >()
46 : public list_base_hook<link_mode<LinkMode> >, public test_class<BigSize>
49 itest_class(int i) : test_class<BigSize>(i) {} in itest_class()
70 struct get_list { typedef std::list<test_class<BigSize> > type; };
73 struct get_ptrlist { typedef std::list<test_class<BigSize>*> type; };
/third_party/boost/boost/function_types/detail/pp_retag_default_cc/
Dpreprocessed.hpp33 class test_class;
49 typedef void (test_class:: *tester)();
55 typedef void (test_class:: *tester)( ... );
Dmaster.hpp52 class test_class;
71 # define BOOST_FT_tester void (test_class::*tester)()
76 # define BOOST_FT_tester void (test_class::*tester)(...)
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/dec/
DBUILD52 test_class = "org.brotli.wrapper.dec.BrotliDecoderChannelTest",
67 test_class = "org.brotli.wrapper.dec.BrotliInputStreamTest",
82 test_class = "org.brotli.wrapper.dec.DecoderTest",
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/enc/
DBUILD54 test_class = "org.brotli.wrapper.enc.BrotliEncoderChannelTest",
70 test_class = "org.brotli.wrapper.enc.BrotliOutputStreamTest",
86 test_class = "org.brotli.wrapper.enc.EncoderTest",
/third_party/glib/gio/tests/
Dgtesttlsbackend.c215 g_test_tls_certificate_class_init (GTestTlsCertificateClass *test_class) in g_test_tls_certificate_class_init() argument
217 GObjectClass *gobject_class = G_OBJECT_CLASS (test_class); in g_test_tls_certificate_class_init()
218 GTlsCertificateClass *certificate_class = G_TLS_CERTIFICATE_CLASS (test_class); in g_test_tls_certificate_class_init()
459 g_test_tls_database_class_init (GTestTlsDatabaseClass *test_class) in g_test_tls_database_class_init() argument
461 GObjectClass *gobject_class = G_OBJECT_CLASS (test_class); in g_test_tls_database_class_init()

123