2016-11-02 19:22:45 +00:00
|
|
|
#include "x11/connection.hpp"
|
2016-10-24 23:47:00 +00:00
|
|
|
|
|
|
|
int main() {
|
2016-11-19 05:22:44 +00:00
|
|
|
using namespace polybar;
|
2016-10-24 23:47:00 +00:00
|
|
|
|
|
|
|
"id"_test = [] {
|
|
|
|
connection& conn{connection::configure().create<connection&>()};
|
|
|
|
expect(conn.id(static_cast<xcb_window_t>(0x12345678)) == "0x12345678");
|
|
|
|
};
|
|
|
|
}
|