aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-20 10:44:46 -0400
committerDavid Robillard <d@drobilla.net>2022-05-20 13:17:45 -0400
commitf906c379ba7c70c1cffb37db7b64e1db602fe2bd (patch)
treee3d84f0a0d350454a007700536707e564fde74df /test
parent1118da579607bac768ae953fecadb6153818488d (diff)
downloadpugl-f906c379ba7c70c1cffb37db7b64e1db602fe2bd.tar.gz
pugl-f906c379ba7c70c1cffb37db7b64e1db602fe2bd.tar.bz2
pugl-f906c379ba7c70c1cffb37db7b64e1db602fe2bd.zip
Use consistent class names and titles in tests and examples
Diffstat (limited to 'test')
-rw-r--r--test/test_cairo.c2
-rw-r--r--test/test_clipboard.c2
-rw-r--r--test/test_gl.c2
-rw-r--r--test/test_gl_free_unrealized.c4
-rw-r--r--test/test_gl_hints.c2
-rw-r--r--test/test_local_copy_paste.c2
-rw-r--r--test/test_realize.c2
-rw-r--r--test/test_redisplay.c2
-rw-r--r--test/test_remote_copy_paste.c4
-rw-r--r--test/test_show_hide.c2
-rw-r--r--test/test_size.c2
-rw-r--r--test/test_stub.c2
-rw-r--r--test/test_stub_hints.c2
-rw-r--r--test/test_timer.c2
-rw-r--r--test/test_update.c2
-rw-r--r--test/test_view.c2
-rw-r--r--test/test_vulkan.c2
17 files changed, 19 insertions, 19 deletions
diff --git a/test/test_cairo.c b/test/test_cairo.c
index be5e95d..5d2aab8 100644
--- a/test/test_cairo.c
+++ b/test/test_cairo.c
@@ -60,7 +60,7 @@ main(int argc, char** argv)
PuglTest test = {world, view, opts, false};
// Set up and show view
- puglSetClassName(test.world, "Pugl Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetWindowTitle(test.view, "Pugl Cairo Test");
puglSetHandle(test.view, &test);
puglSetBackend(test.view, puglCairoBackend());
diff --git a/test/test_clipboard.c b/test/test_clipboard.c
index be611c3..3cbb8d1 100644
--- a/test/test_clipboard.c
+++ b/test/test_clipboard.c
@@ -48,7 +48,7 @@ main(int argc, char** argv)
puglParseTestOptions(&argc, &argv),
false};
- puglSetClassName(test.world, "Pugl Test");
+ puglSetClassName(test.world, "PuglTest");
// Set up views
for (unsigned i = 0u; i < 2; ++i) {
diff --git a/test/test_gl.c b/test/test_gl.c
index 1c0e0a2..4b6ca80 100644
--- a/test/test_gl.c
+++ b/test/test_gl.c
@@ -79,7 +79,7 @@ main(int argc, char** argv)
PuglTest test = {world, view, opts, false};
// Set up and show view
- puglSetClassName(test.world, "Pugl OpenGL Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetHandle(test.view, &test);
puglSetBackend(test.view, puglGlBackend());
puglSetEventFunc(test.view, onEvent);
diff --git a/test/test_gl_free_unrealized.c b/test/test_gl_free_unrealized.c
index c4d3fcd..783ffb8 100644
--- a/test/test_gl_free_unrealized.c
+++ b/test/test_gl_free_unrealized.c
@@ -44,8 +44,8 @@ main(int argc, char** argv)
// Set up view
test.view = puglNewView(test.world);
- puglSetClassName(test.world, "Pugl Test");
- puglSetWindowTitle(test.view, "Pugl Free View Test");
+ puglSetClassName(test.world, "PuglTest");
+ puglSetWindowTitle(test.view, "Pugl OpenGL Free Test");
puglSetBackend(test.view, puglGlBackend());
puglSetHandle(test.view, &test);
puglSetEventFunc(test.view, onEvent);
diff --git a/test/test_gl_hints.c b/test/test_gl_hints.c
index 01d617a..701dd77 100644
--- a/test/test_gl_hints.c
+++ b/test/test_gl_hints.c
@@ -30,7 +30,7 @@ main(void)
PuglView* const view = puglNewView(world);
// Set up view
- puglSetClassName(world, "Pugl Test");
+ puglSetClassName(world, "PuglTest");
puglSetWindowTitle(view, "Pugl OpenGL Hints Test");
puglSetBackend(view, puglGlBackend());
puglSetEventFunc(view, onEvent);
diff --git a/test/test_local_copy_paste.c b/test/test_local_copy_paste.c
index 65e9788..0a1b212 100644
--- a/test/test_local_copy_paste.c
+++ b/test/test_local_copy_paste.c
@@ -89,7 +89,7 @@ main(int argc, char** argv)
// Set up view
app.view = puglNewView(app.world);
- puglSetClassName(app.world, "Pugl Test");
+ puglSetClassName(app.world, "PuglTest");
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);
puglSetEventFunc(app.view, onEvent);
diff --git a/test/test_realize.c b/test/test_realize.c
index d1d3053..d26d866 100644
--- a/test/test_realize.c
+++ b/test/test_realize.c
@@ -63,7 +63,7 @@ main(int argc, char** argv)
// Set up view
test.view = puglNewView(test.world);
- puglSetClassName(test.world, "Pugl Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetWindowTitle(test.view, "Pugl Realize Test");
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
diff --git a/test/test_redisplay.c b/test/test_redisplay.c
index 5a0de4d..801393e 100644
--- a/test/test_redisplay.c
+++ b/test/test_redisplay.c
@@ -108,7 +108,7 @@ main(int argc, char** argv)
// Set up view
test.view = puglNewView(test.world);
- puglSetClassName(test.world, "Pugl Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetWindowTitle(test.view, "Pugl Redisplay Test");
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
diff --git a/test/test_remote_copy_paste.c b/test/test_remote_copy_paste.c
index cd82f10..cc6154e 100644
--- a/test/test_remote_copy_paste.c
+++ b/test/test_remote_copy_paste.c
@@ -126,7 +126,7 @@ main(int argc, char** argv)
// Set up copier view
app.copierView = puglNewView(app.world);
- puglSetClassName(app.world, "Pugl Test Copier");
+ puglSetClassName(app.world, "PuglTest");
puglSetBackend(app.copierView, puglStubBackend());
puglSetHandle(app.copierView, &app);
puglSetEventFunc(app.copierView, onCopierEvent);
@@ -134,7 +134,7 @@ main(int argc, char** argv)
// Set up paster view
app.pasterView = puglNewView(app.world);
- puglSetClassName(app.world, "Pugl Test Paster");
+ puglSetClassName(app.world, "PuglTest");
puglSetBackend(app.pasterView, puglStubBackend());
puglSetHandle(app.pasterView, &app);
puglSetEventFunc(app.pasterView, onPasterEvent);
diff --git a/test/test_show_hide.c b/test/test_show_hide.c
index 87c2110..32efe19 100644
--- a/test/test_show_hide.c
+++ b/test/test_show_hide.c
@@ -98,7 +98,7 @@ main(int argc, char** argv)
// Set up view
test.view = puglNewView(test.world);
- puglSetClassName(test.world, "Pugl Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetWindowTitle(test.view, "Pugl Show/Hide Test");
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
diff --git a/test/test_size.c b/test/test_size.c
index 5e9e7c8..862eba5 100644
--- a/test/test_size.c
+++ b/test/test_size.c
@@ -81,7 +81,7 @@ main(int argc, char** argv)
// Set up view with size bounds and an aspect ratio
test.view = puglNewView(test.world);
- puglSetClassName(test.world, "Pugl Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetWindowTitle(test.view, "Pugl Size Test");
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
diff --git a/test/test_stub.c b/test/test_stub.c
index 189d470..2043bf2 100644
--- a/test/test_stub.c
+++ b/test/test_stub.c
@@ -46,7 +46,7 @@ main(int argc, char** argv)
PuglTest test = {world, view, opts, false};
// Set up and show view
- puglSetClassName(test.world, "Pugl Stub Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetHandle(test.view, &test);
puglSetBackend(test.view, puglStubBackend());
puglSetEventFunc(test.view, onEvent);
diff --git a/test/test_stub_hints.c b/test/test_stub_hints.c
index e5067ab..f45bacc 100644
--- a/test/test_stub_hints.c
+++ b/test/test_stub_hints.c
@@ -30,7 +30,7 @@ main(void)
PuglView* const view = puglNewView(world);
// Set up view
- puglSetClassName(world, "Pugl Test");
+ puglSetClassName(world, "PuglTest");
puglSetWindowTitle(view, "Pugl Stub Hints Test");
puglSetBackend(view, puglStubBackend());
puglSetEventFunc(view, onEvent);
diff --git a/test/test_timer.c b/test/test_timer.c
index dd3ec50..70e6e3b 100644
--- a/test/test_timer.c
+++ b/test/test_timer.c
@@ -106,7 +106,7 @@ main(int argc, char** argv)
// Set up view
test.view = puglNewView(test.world);
- puglSetClassName(test.world, "Pugl Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetWindowTitle(test.view, "Pugl Timer Test");
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
diff --git a/test/test_update.c b/test/test_update.c
index 5efdc86..4fb6ac1 100644
--- a/test/test_update.c
+++ b/test/test_update.c
@@ -84,7 +84,7 @@ main(int argc, char** argv)
// Set up view
test.view = puglNewView(test.world);
- puglSetClassName(test.world, "Pugl Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetWindowTitle(test.view, "Pugl Update Test");
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
diff --git a/test/test_view.c b/test/test_view.c
index df56ad6..04cd2c1 100644
--- a/test/test_view.c
+++ b/test/test_view.c
@@ -65,7 +65,7 @@ main(int argc, char** argv)
// Set up view
test.view = puglNewView(test.world);
- puglSetClassName(test.world, "Pugl Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetWindowTitle(test.view, "Pugl View Test");
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
diff --git a/test/test_vulkan.c b/test/test_vulkan.c
index 45c57ae..f95b85d 100644
--- a/test/test_vulkan.c
+++ b/test/test_vulkan.c
@@ -166,7 +166,7 @@ main(int argc, char** argv)
assert(!createInstance(&test));
// Create window
- puglSetClassName(test.world, "Pugl Vulkan Test");
+ puglSetClassName(test.world, "PuglTest");
puglSetHandle(test.view, &test);
puglSetBackend(test.view, puglVulkanBackend());
puglSetEventFunc(test.view, onEvent);