Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: mojo/public/cpp/bindings/tests/validation_unittest.cc

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdio.h> 5 #include <stdio.h>
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 TEST_F(ValidationIntegrationTest, InterfaceImpl) { 402 TEST_F(ValidationIntegrationTest, InterfaceImpl) {
403 // Test that InterfaceImpl<X> applies the correct validators and they don't 403 // Test that InterfaceImpl<X> applies the correct validators and they don't
404 // conflict with each other: 404 // conflict with each other:
405 // - MessageHeaderValidator 405 // - MessageHeaderValidator
406 // - X::RequestValidator_ 406 // - X::RequestValidator_
407 // - X::Client::ResponseValidator_ 407 // - X::Client::ResponseValidator_
408 408
409 // |interface1_impl| will delete itself when the pipe is closed. 409 // |interface1_impl| will delete itself when the pipe is closed.
410 IntegrationTestInterface1Impl* interface1_impl = 410 IntegrationTestInterface1Impl* interface1_impl =
411 BindToPipe(new IntegrationTestInterface1Impl(), testee_endpoint().Pass()); 411 BindToPipe(new IntegrationTestInterface1Impl(), testee_endpoint().Pass());
412 interface1_impl->internal_state()->router()->EnableTestingMode(); 412 interface1_impl->internal_router()->EnableTestingMode();
413 413
414 RunValidationTests("integration_", test_message_receiver()); 414 RunValidationTests("integration_", test_message_receiver());
415 } 415 }
416 416
417 } // namespace 417 } // namespace
418 } // namespace test 418 } // namespace test
419 } // namespace mojo 419 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc ('k') | mojo/public/cpp/utility/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698