aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-20 14:21:28 -0400
committerDavid Robillard <d@drobilla.net>2022-05-21 15:33:21 -0400
commit66f2133d2b6293f62729d4665124094990441320 (patch)
treee648ccf01f4de96b5b3fd32fae7d8242c88b885c /test
parentfd446ed67d9b697a150a59fa6746555af283127d (diff)
downloadpugl-66f2133d2b6293f62729d4665124094990441320.tar.gz
pugl-66f2133d2b6293f62729d4665124094990441320.tar.bz2
pugl-66f2133d2b6293f62729d4665124094990441320.zip
Set a title for all test windows
Diffstat (limited to 'test')
-rw-r--r--test/test_gl.c1
-rw-r--r--test/test_local_copy_paste.c1
-rw-r--r--test/test_remote_copy_paste.c2
-rw-r--r--test/test_stub.c1
-rw-r--r--test/test_vulkan.c1
5 files changed, 6 insertions, 0 deletions
diff --git a/test/test_gl.c b/test/test_gl.c
index 4b6ca80..3fe546b 100644
--- a/test/test_gl.c
+++ b/test/test_gl.c
@@ -80,6 +80,7 @@ main(int argc, char** argv)
// Set up and show view
puglSetClassName(test.world, "PuglTest");
+ puglSetWindowTitle(test.view, "Pugl OpenGL Test");
puglSetHandle(test.view, &test);
puglSetBackend(test.view, puglGlBackend());
puglSetEventFunc(test.view, onEvent);
diff --git a/test/test_local_copy_paste.c b/test/test_local_copy_paste.c
index 0a1b212..a4350f0 100644
--- a/test/test_local_copy_paste.c
+++ b/test/test_local_copy_paste.c
@@ -90,6 +90,7 @@ main(int argc, char** argv)
// Set up view
app.view = puglNewView(app.world);
puglSetClassName(app.world, "PuglTest");
+ puglSetWindowTitle(app.view, "Pugl Copy/Paste Test");
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);
puglSetEventFunc(app.view, onEvent);
diff --git a/test/test_remote_copy_paste.c b/test/test_remote_copy_paste.c
index cc6154e..aeba3dc 100644
--- a/test/test_remote_copy_paste.c
+++ b/test/test_remote_copy_paste.c
@@ -127,6 +127,7 @@ main(int argc, char** argv)
// Set up copier view
app.copierView = puglNewView(app.world);
puglSetClassName(app.world, "PuglTest");
+ puglSetWindowTitle(app.copierView, "Pugl Copy Test");
puglSetBackend(app.copierView, puglStubBackend());
puglSetHandle(app.copierView, &app);
puglSetEventFunc(app.copierView, onCopierEvent);
@@ -135,6 +136,7 @@ main(int argc, char** argv)
// Set up paster view
app.pasterView = puglNewView(app.world);
puglSetClassName(app.world, "PuglTest");
+ puglSetWindowTitle(app.pasterView, "Pugl Paste Test");
puglSetBackend(app.pasterView, puglStubBackend());
puglSetHandle(app.pasterView, &app);
puglSetEventFunc(app.pasterView, onPasterEvent);
diff --git a/test/test_stub.c b/test/test_stub.c
index 2043bf2..308aae3 100644
--- a/test/test_stub.c
+++ b/test/test_stub.c
@@ -47,6 +47,7 @@ main(int argc, char** argv)
// Set up and show view
puglSetClassName(test.world, "PuglTest");
+ puglSetWindowTitle(test.view, "Pugl Stub Test");
puglSetHandle(test.view, &test);
puglSetBackend(test.view, puglStubBackend());
puglSetEventFunc(test.view, onEvent);
diff --git a/test/test_vulkan.c b/test/test_vulkan.c
index f95b85d..0a364f3 100644
--- a/test/test_vulkan.c
+++ b/test/test_vulkan.c
@@ -167,6 +167,7 @@ main(int argc, char** argv)
// Create window
puglSetClassName(test.world, "PuglTest");
+ puglSetWindowTitle(test.view, "Pugl Vulkan Test");
puglSetHandle(test.view, &test);
puglSetBackend(test.view, puglVulkanBackend());
puglSetEventFunc(test.view, onEvent);