/src/mozilla-central/gfx/tests/gtest/TestMoz2D.cpp
Line | Count | Source (jump to first uncovered line) |
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 "TestPoint.h" |
10 | | #include "TestScaling.h" |
11 | | #include "TestBugs.h" |
12 | | |
13 | 0 | TEST(Moz2D, Bugs) { |
14 | 0 | TestBugs* test = new TestBugs(); |
15 | 0 | int failures = 0; |
16 | 0 | test->RunTests(&failures); |
17 | 0 | delete test; |
18 | 0 |
|
19 | 0 | ASSERT_EQ(failures, 0); |
20 | 0 | } |
21 | | |
22 | 0 | TEST(Moz2D, Point) { |
23 | 0 | TestBase* test = new TestPoint(); |
24 | 0 | int failures = 0; |
25 | 0 | test->RunTests(&failures); |
26 | 0 | delete test; |
27 | 0 |
|
28 | 0 | ASSERT_EQ(failures, 0); |
29 | 0 | } |
30 | | |
31 | 0 | TEST(Moz2D, Scaling) { |
32 | 0 | TestBase* test = new TestScaling(); |
33 | 0 | int failures = 0; |
34 | 0 | test->RunTests(&failures); |
35 | 0 | delete test; |
36 | 0 |
|
37 | 0 | ASSERT_EQ(failures, 0); |
38 | 0 | } |