IDB: Make readonly transactions wait for earlier readwrite transactions
[chromium-blink-merge.git] / content / test / run_all_unittests.cc
blobb6170ade9ea6dea9ed5410075507dd92de42b237
1 // Copyright (c) 2012 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 "content/app/mojo/mojo_init.h"
8 #include "content/public/test/unittest_test_suite.h"
9 #include "content/test/content_test_suite.h"
11 int main(int argc, char** argv) {
12 #if !defined(OS_IOS)
13 content::InitializeMojo();
14 #endif
15 content::UnitTestTestSuite test_suite(
16 new content::ContentTestSuite(argc, argv));
18 return base::LaunchUnitTests(
19 argc, argv, base::Bind(&content::UnitTestTestSuite::Run,
20 base::Unretained(&test_suite)));