Autogenerated with:
cp dom/.clang-format gfx/ && mach format gfx/**.{cpp,h,mm}
Manual changes:
* OSVRSession headers are not system headers and they are not
standalone / rely on stdint, so tweaked to preserve previous
ordering.
* Missing include in GLDefs.h
* Missing include in gfxOTSUtils.
* Need to keep the windows header order in DCLayerTree.
* missing hb_font include in MockScaledFont.h
Differential Revision: https://phabricator.services.mozilla.com/D311695
29 lines
604 B
C++
29 lines
604 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "TestBase.h"
|
|
#include "TestBugs.h"
|
|
#include "TestScaling.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
TEST(Moz2D, Bugs)
|
|
{
|
|
TestBugs* test = new TestBugs();
|
|
int failures = 0;
|
|
test->RunTests(&failures);
|
|
delete test;
|
|
|
|
ASSERT_EQ(failures, 0);
|
|
}
|
|
|
|
TEST(Moz2D, Scaling)
|
|
{
|
|
TestBase* test = new TestScaling();
|
|
int failures = 0;
|
|
test->RunTests(&failures);
|
|
delete test;
|
|
|
|
ASSERT_EQ(failures, 0);
|
|
}
|