| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "mojo/public/c/gpu/MGL/mgl.h" | 5 #include "mojo/public/c/include/MGL/mgl.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 namespace mojo { | 11 namespace mojo { |
| 12 namespace { | 12 namespace { |
| 13 | 13 |
| 14 TEST(MGLTest, GetProcAddress) { | 14 TEST(MGLTest, GetProcAddress) { |
| 15 EXPECT_EQ(nullptr, MGLGetProcAddress("")); | 15 EXPECT_EQ(nullptr, MGLGetProcAddress("")); |
| 16 EXPECT_NE(nullptr, MGLGetProcAddress("glActiveTexture")); | 16 EXPECT_NE(nullptr, MGLGetProcAddress("glActiveTexture")); |
| 17 } | 17 } |
| 18 | 18 |
| 19 } // namespace | 19 } // namespace |
| 20 } // namespace mojo | 20 } // namespace mojo |
| OLD | NEW |