• Home
  • Raw
  • Download

Lines Matching refs:instance_

34   HandleScope handle_scope(instance_->isolate());  in TEST_F()
36 EXPECT_TRUE(Converter<bool>::ToV8(instance_->isolate(), true)->StrictEquals( in TEST_F()
37 Boolean::New(instance_->isolate(), true))); in TEST_F()
38 EXPECT_TRUE(Converter<bool>::ToV8(instance_->isolate(), false)->StrictEquals( in TEST_F()
39 Boolean::New(instance_->isolate(), false))); in TEST_F()
45 { Boolean::New(instance_->isolate(), false).As<Value>(), false }, in TEST_F()
46 { Boolean::New(instance_->isolate(), true).As<Value>(), true }, in TEST_F()
47 { Number::New(instance_->isolate(), 0).As<Value>(), false }, in TEST_F()
48 { Number::New(instance_->isolate(), 1).As<Value>(), true }, in TEST_F()
49 { Number::New(instance_->isolate(), -1).As<Value>(), true }, in TEST_F()
50 { Number::New(instance_->isolate(), 0.1).As<Value>(), true }, in TEST_F()
51 { String::NewFromUtf8(instance_->isolate(), "").As<Value>(), false }, in TEST_F()
52 { String::NewFromUtf8(instance_->isolate(), "foo").As<Value>(), true }, in TEST_F()
53 { Object::New(instance_->isolate()).As<Value>(), true }, in TEST_F()
54 { Null(instance_->isolate()).As<Value>(), false }, in TEST_F()
55 { Undefined(instance_->isolate()).As<Value>(), false }, in TEST_F()
60 EXPECT_TRUE(Converter<bool>::FromV8(instance_->isolate(), in TEST_F()
65 EXPECT_TRUE(Converter<bool>::FromV8(instance_->isolate(), in TEST_F()
72 HandleScope handle_scope(instance_->isolate()); in TEST_F()
76 EXPECT_TRUE(Converter<int32_t>::ToV8(instance_->isolate(), in TEST_F()
85 { Boolean::New(instance_->isolate(), false).As<Value>(), false, 0 }, in TEST_F()
86 { Boolean::New(instance_->isolate(), true).As<Value>(), false, 0 }, in TEST_F()
87 { Integer::New(instance_->isolate(), -1).As<Value>(), true, -1 }, in TEST_F()
88 { Integer::New(instance_->isolate(), 0).As<Value>(), true, 0 }, in TEST_F()
89 { Integer::New(instance_->isolate(), 1).As<Value>(), true, 1 }, in TEST_F()
90 { Number::New(instance_->isolate(), -1).As<Value>(), true, -1 }, in TEST_F()
91 { Number::New(instance_->isolate(), 1.1).As<Value>(), false, 0 }, in TEST_F()
92 { String::NewFromUtf8(instance_->isolate(), "42").As<Value>(), false, 0 }, in TEST_F()
93 { String::NewFromUtf8(instance_->isolate(), "foo").As<Value>(), false, 0 }, in TEST_F()
94 { Object::New(instance_->isolate()).As<Value>(), false, 0 }, in TEST_F()
95 { Array::New(instance_->isolate()).As<Value>(), false, 0 }, in TEST_F()
96 { v8::Null(instance_->isolate()).As<Value>(), false, 0 }, in TEST_F()
97 { v8::Undefined(instance_->isolate()).As<Value>(), false, 0 }, in TEST_F()
102 bool success = Converter<int32_t>::FromV8(instance_->isolate(), in TEST_F()
111 HandleScope handle_scope(instance_->isolate()); in TEST_F()
119 Converter<std::vector<int> >::ToV8(instance_->isolate(), expected)); in TEST_F()
123 EXPECT_TRUE(Integer::New(instance_->isolate(), expected[i]) in TEST_F()
128 EXPECT_TRUE(Converter<std::vector<int> >::FromV8(instance_->isolate(), in TEST_F()