Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/bindings/tests/
Dinterface_ptr_unittest.cc250 calculator_ui_ = std::make_unique<MathCalculatorUI>(std::move(calc)); in RunTestImpl()
251 calculator_ui_->Add(2.0, base::Bind(&EndToEndInterfacePtrTest::AddDone, in RunTestImpl()
253 calculator_ui_->Multiply(5.0, in RunTestImpl()
256 EXPECT_EQ(0.0, calculator_ui_->GetOutput()); in RunTestImpl()
259 void AddDone() { EXPECT_EQ(2.0, calculator_ui_->GetOutput()); } in AddDone()
262 EXPECT_EQ(10.0, calculator_ui_->GetOutput()); in MultiplyDone()
263 calculator_ui_.reset(); in MultiplyDone()
270 std::unique_ptr<MathCalculatorUI> calculator_ui_; member in mojo::test::__anon2de557fa0111::EndToEndInterfacePtrTest