| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/tests/src/main.cpp`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #include <catch2/catch_all.hpp> |
| 5 | #include <catch2/trompeloeil.hpp> |
| 6 | #include <spdlog/sinks/null_sink.h> |
| 7 | #include <spdlog/spdlog.h> |
| 8 | |
| 9 | void setupLoggercxx . . $ setupLogger(49f6e7a06ebc5aa8).() |
| 10 | { |
| 11 | auto logger = spdlogcxx . . $ spdlog/::createcxx . . $ spdlog/create(d825993425d0320f).<spdlogcxx . . $ spdlog/::sinkscxx . . $ spdlog/sinks/::null_sink_stcxx . . $ spdlog/sinks/null_sink_st#>("null_logger"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 12 | spdlogcxx . . $ spdlog/::set_default_loggercxx . . $ spdlog/set_default_logger(bd7f6a57d17e1bd1).(loggercxx . . $ std/shared_ptr#shared_ptr(159b2ef84668bf93).); |
| 13 | } |
| 14 | |
| 15 | int maincxx . . $ main(afcd3168fc1188a4).(int argc, char *argv[]) |
| 16 | { |
| 17 | setupLoggercxx . . $ setupLogger(49f6e7a06ebc5aa8).(); |
| 18 | return Catchcxx . . $ Catch/Session#Session(49f6e7a06ebc5aa8).::Sessioncxx . . $ Catch/Session#().runcxx . . $ Catch/Session#run(745d74e56593569b).(argc, argv); |
| 19 | } |