Home
last modified time | relevance | path

Searched refs:test_object (Results 1 – 25 of 31) sorted by relevance

12

/third_party/node/test/js-native-api/test_object/
Dtest.js6 const test_object = require(`./build/${common.buildType}/test_object`); constant
19 assert.strictEqual(test_object.Get(object, 'hello'), 'world');
20 assert.strictEqual(test_object.GetNamed(object, 'hello'), 'world');
21 assert.deepStrictEqual(test_object.Get(object, 'array'),
23 assert.deepStrictEqual(test_object.Get(object, 'newObject'),
26 assert(test_object.Has(object, 'hello'));
27 assert(test_object.HasNamed(object, 'hello'));
28 assert(test_object.Has(object, 'array'));
29 assert(test_object.Has(object, 'newObject'));
31 const newObject = test_object.New();
[all …]
Dbinding.gyp4 "target_name": "test_object",
9 "test_object.c"
/third_party/node/test/js-native-api/test_properties/
Dtest.js10 const test_object = require(`./build/${common.buildType}/test_properties`); constant
12 assert.strictEqual(test_object.echo('hello'), 'hello');
14 test_object.readwriteValue = 1;
15 assert.strictEqual(test_object.readwriteValue, 1);
16 test_object.readwriteValue = 2;
17 assert.strictEqual(test_object.readwriteValue, 2);
19 assert.throws(() => { test_object.readonlyValue = 3; }, readonlyErrorRE);
21 assert.ok(test_object.hiddenValue);
25 for (const name in test_object) {
42 String(Object.getOwnPropertySymbols(test_object)[0]).slice(start, end);
[all …]
/third_party/node/test/js-native-api/test_constructor/
Dtest.js10 const test_object = new TestConstructor(); constant
12 assert.strictEqual(test_object.echo('hello'), 'hello');
14 test_object.readwriteValue = 1;
15 assert.strictEqual(test_object.readwriteValue, 1);
16 test_object.readwriteValue = 2;
17 assert.strictEqual(test_object.readwriteValue, 2);
19 assert.throws(() => { test_object.readonlyValue = 3; },
22 assert.ok(test_object.hiddenValue);
26 for (const name in test_object) {
39 test_object.readwriteAccessor1 = 1;
[all …]
/third_party/boost/libs/regex/test/object_cache/
Dobject_cache_test.cpp22 class test_object class
25 test_object(int i) in test_object() function in test_object
43 int test_object::s_count = 0;
52 …boost::shared_ptr<const test_object> p = boost::object_cache<int, test_object>::get(i, max_cache_s… in cpp_main()
54 p = boost::object_cache<int, test_object>::get(i, max_cache_size); in cpp_main()
58 p = boost::object_cache<int, test_object>::get(i-1, max_cache_size); in cpp_main()
62 int current_count = test_object::count(); in cpp_main()
67 …boost::shared_ptr<const test_object> p = boost::object_cache<int, test_object>::get(i, max_cache_s… in cpp_main()
69 p = boost::object_cache<int, test_object>::get(i, max_cache_size); in cpp_main()
73 BOOST_CHECK(current_count == test_object::count()); in cpp_main()
/third_party/glib/gio/tests/
Dgsettings.c919 G_DEFINE_TYPE (TestObject, test_object, G_TYPE_OBJECT) in G_DEFINE_TYPE() argument
941 TestObject *test_object = (TestObject *)object; in test_object_get_property() local
946 g_value_set_boolean (value, test_object->bool_prop); in test_object_get_property()
949 g_value_set_boolean (value, test_object->anti_bool_prop); in test_object_get_property()
952 g_value_set_schar (value, test_object->byte_prop); in test_object_get_property()
955 g_value_set_uint (value, test_object->uint16_prop); in test_object_get_property()
958 g_value_set_int (value, test_object->int16_prop); in test_object_get_property()
961 g_value_set_int (value, test_object->int_prop); in test_object_get_property()
964 g_value_set_uint (value, test_object->uint_prop); in test_object_get_property()
967 g_value_set_int64 (value, test_object->int64_prop); in test_object_get_property()
[all …]
/third_party/boost/libs/test/doc/tutorials/
Dhello_world.qbk44 my_class test_object( "qwerty" );
45 return test_object.is_valid() ? EXIT_SUCCESS : EXIT_FAILURE;
52 # Would exception happen in test_object construction of method `is_valid` invocation, the program w…
64 my_class test_object( "qwerty" );
65 BOOST_TEST( test_object.is_valid() );
/third_party/jerryscript/tests/jerry/
Dstring-prototype-charcodeat.js104 var test_object = {firstName:"John", lastName:"Doe"}; variable
105 assert(String.prototype.charCodeAt.call(test_object, 1) === 111);
Dstring-prototype-charat.js117 var test_object = {firstName:"John", lastName:"Doe"}; variable
118 assert(String.prototype.charAt.call(test_object, 1) === "o");
Dstring-prototype-indexof.js119 var test_object = {firstName:"John", lastName:"Doe"}; variable
120 assert(String.prototype.indexOf.call(test_object, "Obj") === 8);
Dstring-prototype-lastindexof.js133 var test_object = {firstName:"John", lastName:"Doe"}; variable
134 assert(String.prototype.lastIndexOf.call(test_object, "Obj") === 8);
Dstring-prototype-substr.js144 var test_object = {firstName:"John", lastName:"Doe"}; variable
145 assert(String.prototype.substr.call(test_object, 0, 7) === "[object");
Dstring-prototype-substring.js145 var test_object = {firstName:"John", lastName:"Doe"}; variable
146 assert(String.prototype.substring.call(test_object, 0, 7) === "[object");
/third_party/boost/libs/geometry/index/test/rtree/
Dtest_rtree.hpp314 struct test_object struct
316 test_object(Indexable const& indexable_) : indexable(indexable_) {} in test_object() function
323 struct indexable< boost::shared_ptr< test_object<Indexable> > > argument
325 typedef boost::shared_ptr< test_object<Indexable> > value_type;
339 struct value< boost::shared_ptr<test_object<bg::model::point<T, 2, C> > > >
342 typedef test_object<P> O;
352 struct value< boost::shared_ptr<test_object<bg::model::point<T, 3, C> > > >
355 typedef test_object<P> O;
365 struct value< boost::shared_ptr<test_object<bg::model::box<bg::model::point<T, 2, C> > > > >
369 typedef test_object<B> O;
[all …]
/third_party/glib/tests/gobject/
Dreferences.c59 G_DEFINE_TYPE (TestObject, test_object, G_TYPE_OBJECT) in G_DEFINE_TYPE() argument
78 test_object_init (TestObject *test_object) in test_object_init() argument
Dsignals.c105 static DEFINE_TYPE(TestObject, test_object, in DEFINE_TYPE() argument
Daccumulator.c246 static DEFINE_TYPE(TestObject, test_object, in DEFINE_TYPE() argument
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/
Dtest-object.c227 test_object (void) in test_object() function
372 hb_test_add (test_object); in main()
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-object.c227 test_object (void) in test_object() function
372 hb_test_add (test_object); in main()
/third_party/harfbuzz/test/api/
Dtest-object.c227 test_object (void) in test_object() function
372 hb_test_add (test_object); in main()
/third_party/python/Lib/test/
Dtest_httpservers.py47 def __init__(self, test_object, request_handler): argument
50 self.test_object = test_object
54 self.test_object.HOST, self.test_object.PORT = self.server.socket.getsockname()
55 self.test_object.server_started.set()
56 self.test_object = None
Dtest_reprlib.py300 def test_object(self): member in LongReprTest
/third_party/glib/gobject/tests/
Dprivate.c23 G_DEFINE_TYPE_WITH_CODE (TestObject, test_object, G_TYPE_OBJECT, in G_DEFINE_TYPE_WITH_CODE() argument
/third_party/python/Lib/test/test_importlib/import_/
Dtest_fromlist.py53 def test_object(self): member in HandlingFromlist
/third_party/boost/libs/serialization/test/
DJamfile.v294 [ test-bsl-run_files test_object ]

12