| // Copyright 2018 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include <gtest/gtest.h> |
| |
| #include "amlogic-video.h" |
| #include "tests/test_support.h" |
| |
| /* |
| namespace amlogic_decoder { |
| namespace test { |
| |
| TEST(Binding, Destruction) { |
| auto video = std::make_unique<AmlogicVideo>(); |
| ASSERT_TRUE(video); |
| |
| zx_status_t status = video->InitRegisters(TestSupport::parent_device()); |
| EXPECT_EQ(ZX_OK, status); |
| |
| video.reset(); |
| } |
| |
| } // namespace test |
| } // namespace amlogic_decoder |
| */ |