blob: 51a594073912472501446a650e0e731abf13cf5c [file] [log] [blame]
// Copyright 2020 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 <lib/gtest/test_loop_fixture.h>
#include <Weave/DeviceLayer/PlatformManager.h>
#include "gtest/gtest.h"
namespace adaptation {
namespace testing {
namespace {
using nl::Weave::DeviceLayer::PlatformMgr;
} // namespace
class PlatformManagerTest : public ::gtest::TestLoopFixture {
public:
PlatformManagerTest() {}
void SetUp() override { TestLoopFixture::SetUp(); }
};
TEST_F(PlatformManagerTest, InitWeaveStackTest) {
EXPECT_EQ(PlatformMgr().InitWeaveStack(), WEAVE_NO_ERROR);
}
} // namespace testing
} // namespace adaptation