libpurple/tests/meson.build

Tue, 24 Aug 2021 04:52:14 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 24 Aug 2021 04:52:14 -0500
changeset 41034
fe203b2245fb
parent 40583
28964322556c
child 41040
4be2eda9548a
permissions
-rw-r--r--

Remove all of the current smiley support as it currently isn't used and needs to be completely overhauled for the new emoji api when we write it.

Testing Done:
Ran the unit tests, `ninja pidgin-pot doc`, ran pidgin3, opened the preferences page, verified the `custom smileys menu was removed`, sent messages over xmpp with text smileys and verified that pidgin 2 still rendered them.

Reviewed at https://reviews.imfreedom.org/r/852/

38534
28747a3cea35 Switch GnuTLS/NSS for Nettle in Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38492
diff changeset
1 PROGS = [
39974
cea80de2f5ac Add some unit tests around purple_account_option_copy
Gary Kramlich <grim@reaperworld.com>
parents: 39484
diff changeset
2 'account_option',
38860
4af13de1fee2 Finish up the unit tests for the attention cleanup
Gary Kramlich <grim@reaperworld.com>
parents: 38848
diff changeset
3 'attention_type',
39975
f691f3812205 Add some unit tests for the circular buffer.. they're not great, was just trying to test somethings
Gary Kramlich <grim@reaperworld.com>
parents: 39484
diff changeset
4 'circular_buffer',
40583
28964322556c Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents: 40564
diff changeset
5 'credential_manager',
40548
42556c49e1e2 Add PurpleCredentialProvider as the first piece to replace the existing keyring api.
Gary Kramlich <grim@reaperworld.com>
parents: 40351
diff changeset
6 'credential_provider',
38534
28747a3cea35 Switch GnuTLS/NSS for Nettle in Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38492
diff changeset
7 'image',
40351
79cbdc5c5989 Add some unit tests for key value pairs
Gary Kramlich <grim@reaperworld.com>
parents: 39979
diff changeset
8 'keyvaluepair',
40564
2c5b4dc2e86a Pull the purple_markup_* api out of util.[ch] to purplemarkup.[ch]. No code was changed just moved it from one file to the other.
Gary Kramlich <grim@reaperworld.com>
parents: 40548
diff changeset
9 'markup',
39974
cea80de2f5ac Add some unit tests around purple_account_option_copy
Gary Kramlich <grim@reaperworld.com>
parents: 39484
diff changeset
10 'protocol_action',
38860
4af13de1fee2 Finish up the unit tests for the attention cleanup
Gary Kramlich <grim@reaperworld.com>
parents: 38848
diff changeset
11 'protocol_attention',
38829
2be373489ef1 Start of unit tests for the PurpleProtocolXferInterface
Gary Kramlich <grim@reaperworld.com>
parents: 38534
diff changeset
12 'protocol_xfer',
39166
7119cb1afdb8 tests: Add tests for PurpleQueuedOutputStream
Mike Ruprecht <cmaiku@gmail.com>
parents: 38937
diff changeset
13 'queued_output_stream',
38534
28747a3cea35 Switch GnuTLS/NSS for Nettle in Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38492
diff changeset
14 'trie',
28747a3cea35 Switch GnuTLS/NSS for Nettle in Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38492
diff changeset
15 'util',
28747a3cea35 Switch GnuTLS/NSS for Nettle in Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38492
diff changeset
16 'xmlnode'
28747a3cea35 Switch GnuTLS/NSS for Nettle in Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38492
diff changeset
17 ]
38831
d260f3b61831 The start of a ui for unit testing
Gary Kramlich <grim@reaperworld.com>
parents: 38830
diff changeset
18
38832
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
19 test_ui = static_library(
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
20 'test-ui',
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
21 'test_ui.c',
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
22 'test_ui.h',
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
23 c_args: [
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
24 '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir())
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
25 ],
39354
db17ba548304 libpurple: Drop DBus API bindings
Mike Ruprecht <cmaiku@gmail.com>
parents: 39166
diff changeset
26 dependencies: [libpurple_dep, glib]
38832
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
27 )
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
28
38534
28747a3cea35 Switch GnuTLS/NSS for Nettle in Meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38492
diff changeset
29 foreach prog : PROGS
38848
22e32372b906 Fix a few typos and cleanup some whitespace
Gary Kramlich <grim@reaperworld.com>
parents: 38832
diff changeset
30 e = executable('test_' + prog, 'test_@0@.c'.format(prog),
22e32372b906 Fix a few typos and cleanup some whitespace
Gary Kramlich <grim@reaperworld.com>
parents: 38832
diff changeset
31 c_args : [
22e32372b906 Fix a few typos and cleanup some whitespace
Gary Kramlich <grim@reaperworld.com>
parents: 38832
diff changeset
32 '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir())
22e32372b906 Fix a few typos and cleanup some whitespace
Gary Kramlich <grim@reaperworld.com>
parents: 38832
diff changeset
33 ],
39354
db17ba548304 libpurple: Drop DBus API bindings
Mike Ruprecht <cmaiku@gmail.com>
parents: 39166
diff changeset
34 dependencies : [libpurple_dep, glib],
38832
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
35 link_with: test_ui,
7ad7854d8e60 Create a very basic ui for testing
Gary Kramlich <grim@reaperworld.com>
parents: 38831
diff changeset
36 )
38848
22e32372b906 Fix a few typos and cleanup some whitespace
Gary Kramlich <grim@reaperworld.com>
parents: 38832
diff changeset
37 test(prog, e)
38439
03f1a1642a68 Add meson build for libpurple only.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
38 endforeach

mercurial