mirror of
https://github.com/polybar/polybar.git
synced 2025-06-02 18:22:03 -04:00
fix: project rename
This commit is contained in:
parent
6a6796160a
commit
fd57ab0f3d
172 changed files with 363 additions and 881 deletions
|
@ -2,7 +2,7 @@
|
|||
#include "utils/string.hpp"
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
using cli_parser = command_line::parser;
|
||||
|
||||
// clang-format off
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#define CONFIGURE(T, V) configure_##T<decltype(V)>().create<decltype(V)>()
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"singleton"_test = [] {
|
||||
// clang-format off
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "components/logger.hpp"
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"output"_test = [] {
|
||||
auto l = logger::configure<logger>(loglevel::TRACE).create<logger>();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "utils/color.hpp"
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"rgb"_test = []{
|
||||
uint32_t color{0x123456};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "utils/math.hpp"
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"cap"_test = [] {
|
||||
expect(math_util::cap<int>(8, 0, 10) == 8);
|
||||
|
|
|
@ -5,7 +5,7 @@ struct mytype {
|
|||
};
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"make_malloc_ptr"_test = [] {
|
||||
auto ptr = memory_util::make_malloc_ptr<mytype>();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "utils/scope.hpp"
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"on_exit"_test = [] {
|
||||
auto flag = false;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "utils/string.hpp"
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"upper"_test = [] { expect(string_util::upper("FOO") == "FOO"); };
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "x11/color.hpp"
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"color"_test = [] {
|
||||
color test{"#33990022"};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "x11/connection.hpp"
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"id"_test = [] {
|
||||
connection& conn{connection::configure().create<connection&>()};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "x11/window.hpp"
|
||||
|
||||
int main() {
|
||||
using namespace lemonbuddy;
|
||||
using namespace polybar;
|
||||
|
||||
"cw_create"_test = [] {
|
||||
// clang-format off
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue