// Copyright (c) 2011 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/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"

int main(int argc, char** argv) {
  base::TestSuite test_suite(argc, argv);

  return base::LaunchUnitTests(
      argc,
      argv,
      base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
}

// Copyright (c) 2011 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/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
#include "ui/gl/gl_surface.h"

int main(int argc, char** argv) {
  base::TestSuite test_suite(argc, argv);
  gfx::GLSurface::InitializeOneOffForTests(true);

  return base::LaunchUnitTests(
      argc,
      argv,
      base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
}

Make aura_unittests opt into real GL NullDraw contexts.
aura: Make aura_unittests opt into real GL NullDraw contexts.

This breaks the dependency on the TestCompositor for
this test suite. Once it's no longer in use by any test
suite, we can remove it.

R=sky@chromium.org,ben@chromium.org
BUG=270918

Review URL: https://codereview.chromium.org/172623003

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@252945 0039d316-1c4b-4281-b951-d872f2087c98
