iOS factory for AccountFetcherService
[chromium-blink-merge.git] / ios / chrome / test / run_all_unittests.cc
blob71157007607208615d366d060fec1cc6329b22a5
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/bind.h"
6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "ios/chrome/test/ios_chrome_unit_test_suite.h"
8 #include "ios/public/test/test_keyed_service_provider.h"
10 int main(int argc, char** argv) {
11 ios::TestKeyedServiceProvider test_keyed_service_provider;
12 ios::SetKeyedServiceProvider(&test_keyed_service_provider);
14 IOSChromeUnitTestSuite test_suite(argc, argv);
16 return base::LaunchUnitTests(
17 argc, argv,
18 base::Bind(&IOSChromeUnitTestSuite::Run, base::Unretained(&test_suite)));