diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-24 13:23:55 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-24 13:23:55 +0200 |
| commit | 4d0a7d99ebf55ad2d0e583759699b8b4d77a7907 (patch) | |
| tree | 302a2661c5ae099129db40c75cbadf6b5e8c9bd4 /app/tests/widgets/participant_row.cpp | |
| parent | f3317ddcaa8af0fb7b4be475dc97ef0649d1975b (diff) | |
| download | turns-4d0a7d99ebf55ad2d0e583759699b8b4d77a7907.tar.xz turns-4d0a7d99ebf55ad2d0e583759699b8b4d77a7907.zip | |
app: move ui code to ui library
Diffstat (limited to 'app/tests/widgets/participant_row.cpp')
| -rw-r--r-- | app/tests/widgets/participant_row.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app/tests/widgets/participant_row.cpp b/app/tests/widgets/participant_row.cpp deleted file mode 100644 index 8f20f56..0000000 --- a/app/tests/widgets/participant_row.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "turns/app/widgets/participant_row.hpp" - -#include "turns/core/disposition.hpp" -#include "turns/core/participant.hpp" - -#include <catch2/catch_test_macros.hpp> - -namespace turns::app::widgets::tests -{ - - TEST_CASE("A freshly constructed participant row") - { - SECTION("can be created without a participant") - { - REQUIRE(Gtk::make_managed<participant_row>(Glib::RefPtr<core::participant>{})); - } - - SECTION("can be created with a participant") - { - REQUIRE(Gtk::make_managed<participant_row>(core::participant::create("Tazmyla Fireforge", 13, core::disposition::secret))); - } - } - -} // namespace turns::app::widgets::tests
\ No newline at end of file |
