Skip to content

Commit

Permalink
Add capabilities to test AP in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
corbin-phipps committed Jan 30, 2024
1 parent 86f4980 commit 6df0b77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/unit/TestNetRemoteServiceClient.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ TEST_CASE("WifiAccessPointSetPhyType API", "[basic][rpc][client][remote]")
constexpr auto InterfaceName{ "TestWifiAccessPointSetPhyType" };

auto apManagerTest = std::make_shared<AccessPointManagerTest>();
auto apFactoryTest = std::make_unique<AccessPointFactoryTest>();
auto apTest = apFactoryTest->Create(InterfaceName);
Ieee80211AccessPointCapabilities apCapabilities{
.Protocols{ Ieee80211Protocol::B, Ieee80211Protocol::G, Ieee80211Protocol::N, Ieee80211Protocol::A, Ieee80211Protocol::AC, Ieee80211Protocol::AD, Ieee80211Protocol::AX, Ieee80211Protocol::AX }
};
auto apTest = std::make_shared<AccessPointTest>(InterfaceName, std::move(apCapabilities));
apManagerTest->AddAccessPoint(apTest);

NetRemoteServerConfiguration Configuration{
Expand Down

0 comments on commit 6df0b77

Please sign in to comment.