michael@0: /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "gtest/gtest.h" michael@0: #include "TestBase.h" michael@0: #include "TestPoint.h" michael@0: #include "TestScaling.h" michael@0: #include "TestBugs.h" michael@0: michael@0: TEST(Moz2D, Bugs) { michael@0: TestBugs* test = new TestBugs(); michael@0: int failures = 0; michael@0: test->RunTests(&failures); michael@0: delete test; michael@0: michael@0: ASSERT_EQ(failures, 0); michael@0: } michael@0: michael@0: TEST(Moz2D, Point) { michael@0: TestBase* test = new TestPoint(); michael@0: int failures = 0; michael@0: test->RunTests(&failures); michael@0: delete test; michael@0: michael@0: ASSERT_EQ(failures, 0); michael@0: } michael@0: michael@0: TEST(Moz2D, Scaling) { michael@0: TestBase* test = new TestScaling(); michael@0: int failures = 0; michael@0: test->RunTests(&failures); michael@0: delete test; michael@0: michael@0: ASSERT_EQ(failures, 0); michael@0: }