Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/WebKit/Source/core/geometry/DOMMatrixTest.cpp

Issue 2741723005: Move geometry interface files to geometry directory. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/dom/DOMMatrix.h" 5 #include "core/geometry/DOMMatrix.h"
6 6
7 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "bindings/core/v8/V8BindingForTesting.h" 8 #include "bindings/core/v8/V8BindingForTesting.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 TEST(DOMMatrixTest, Fixup) { 13 TEST(DOMMatrixTest, Fixup) {
14 V8TestingScope scope; 14 V8TestingScope scope;
15 DOMMatrixInit init; 15 DOMMatrixInit init;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 { 142 {
143 DOMMatrixInit init; 143 DOMMatrixInit init;
144 init.setF(1.0); 144 init.setF(1.0);
145 init.setM42(2.0); 145 init.setM42(2.0);
146 DOMMatrix::fromMatrix(init, scope.getExceptionState()); 146 DOMMatrix::fromMatrix(init, scope.getExceptionState());
147 EXPECT_TRUE(scope.getExceptionState().hadException()); 147 EXPECT_TRUE(scope.getExceptionState().hadException());
148 } 148 }
149 } 149 }
150 150
151 } // namespace blink 151 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.idl ('k') | third_party/WebKit/Source/core/geometry/DOMPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698