TestMoz2D.cpp (725B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #include "gtest/gtest.h" 8 #include "TestBase.h" 9 #include "TestScaling.h" 10 #include "TestBugs.h" 11 12 TEST(Moz2D, Bugs) 13 { 14 TestBugs* test = new TestBugs(); 15 int failures = 0; 16 test->RunTests(&failures); 17 delete test; 18 19 ASSERT_EQ(failures, 0); 20 } 21 22 TEST(Moz2D, Scaling) 23 { 24 TestBase* test = new TestScaling(); 25 int failures = 0; 26 test->RunTests(&failures); 27 delete test; 28 29 ASSERT_EQ(failures, 0); 30 }