X-Git-Url: https://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/2160e352fae550a6a25bc37c68c251214cb7119f..43a709ff25b9973a83327a06a6ecc94b09e7787b:/tests/gui.at diff --git a/tests/gui.at b/tests/gui.at new file mode 100644 index 0000000..95d33fd --- /dev/null +++ b/tests/gui.at @@ -0,0 +1,162 @@ +# Copyright © 2022 Nick Bowler +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +AT_SETUP([_NET_WM_ICON tiles (16x16)]) + +AT_CHECK([ewmhicon 16x16], [0], [dnl +....%+....%+.... +....%+....%+.... +....%+....%+.... +....%+....%+.... +%%%%%+%%%%%+%%%% +++++++++++++++++ +....%+....%+.... +....%+....%+.... +....%+....%+.... +....%+....%+.... +%%%%%+%%%%%+%%%% +++++++++++++++++ +....%+....%+.... +....%+....%+.... +....%+....%+.... +....%+....%+.... +]) + +AT_CLEANUP + +AT_SETUP([_NET_WM_ICON tiles (24x24)]) + +AT_CHECK([ewmhicon 24x24], [0], [dnl +++++++++++++++++++++++++ ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++%%%%%%%+%%%%%%%+%%%%%%% +++++++++++++++++++++++++ ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++%%%%%%%+%%%%%%%+%%%%%%% +++++++++++++++++++++++++ ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++......%+......%+......% ++%%%%%%%+%%%%%%%+%%%%%%% +]) + +AT_CLEANUP + +AT_SETUP([_NET_WM_ICON tiles (32x32)]) + +AT_CHECK([ewmhicon 32x32], [0], [dnl +++++++++++++++++++++++++++++++++ ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++%%%%%%%%%%+%%%%%%%%%+%%%%%%%%%% +++++++++++++++++++++++++++++++++ ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++%%%%%%%%%%+%%%%%%%%%+%%%%%%%%%% +++++++++++++++++++++++++++++++++ ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++.........%+........%+.........% ++%%%%%%%%%%+%%%%%%%%%+%%%%%%%%%% +]) + +AT_CLEANUP + +AT_SETUP([_NET_WM_ICON tiles (48x48)]) + +AT_CHECK([ewmhicon 48x48], [0], [dnl +++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++%+++++++++++++++%+++++++++++++++% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++%%%%%%%%%%%%%%++%%%%%%%%%%%%%%++%%%%%%%%%%%%%% ++%%%%%%%%%%%%%%%+%%%%%%%%%%%%%%%+%%%%%%%%%%%%%%% +++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++%+++++++++++++++%+++++++++++++++% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++%%%%%%%%%%%%%%++%%%%%%%%%%%%%%++%%%%%%%%%%%%%% ++%%%%%%%%%%%%%%%+%%%%%%%%%%%%%%%+%%%%%%%%%%%%%%% +++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++%+++++++++++++++%+++++++++++++++% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++............%%++............%%++............%% +++%%%%%%%%%%%%%%++%%%%%%%%%%%%%%++%%%%%%%%%%%%%% ++%%%%%%%%%%%%%%%+%%%%%%%%%%%%%%%+%%%%%%%%%%%%%%% +]) + +AT_CLEANUP