diff --git a/test/run_avahi.cxx b/test/RunZeroconf.cxx similarity index 91% rename from test/run_avahi.cxx rename to test/RunZeroconf.cxx index fe0c619d2..b1d730758 100644 --- a/test/run_avahi.cxx +++ b/test/RunZeroconf.cxx @@ -19,7 +19,7 @@ #include "event/Loop.hxx" #include "ShutdownHandler.hxx" -#include "zeroconf/avahi/Helper.hxx" +#include "zeroconf/Helper.hxx" #include @@ -29,7 +29,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char **argv) EventLoop event_loop; const ShutdownHandler shutdown_handler(event_loop); - const auto helper = AvahiInit(event_loop, "test", 1234); + const ZeroconfHelper helper(event_loop, "test", 1234); event_loop.Run(); diff --git a/test/meson.build b/test/meson.build index e51cf7ac7..4a8ae563c 100644 --- a/test/meson.build +++ b/test/meson.build @@ -105,10 +105,10 @@ test('TestIcu', executable( ], )) -if avahi_dep.found() +if zeroconf_dep.found() executable( - 'run_avahi', - 'run_avahi.cxx', + 'RunZeroconf', + 'RunZeroconf.cxx', 'ShutdownHandler.cxx', include_directories: inc, dependencies: [