summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/run_all_unittests.cc
blob: f4c0116f470b493bf7ea79b85bd14183e900ca53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/at_exit.h"
#include "base/platform_thread.h"
#include "chrome/test/ui/ui_test_suite.h"

int main(int argc, char **argv) {
  // Some tests may use base::Singleton<>, thus we need to instanciate
  // the AtExitManager or else we will leak objects.
  base::AtExitManager at_exit_manager;  

  PlatformThread::SetName("Tests_Main");
  return UITestSuite(argc, argv).Run();
}