mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 06:25:56 +03:00
encoding_tests: No more iconv
This commit is contained in:
parent
6ae88514d8
commit
cdce7f2044
1 changed files with 0 additions and 18 deletions
|
@ -29,30 +29,12 @@
|
|||
|
||||
static void setup(void **state)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
(void) state; /* unused */
|
||||
|
||||
#ifdef HAVE_ICONV
|
||||
#ifdef __APPLE__
|
||||
/* this test only works on apple because linux does not know the
|
||||
* UTF-8-MAC encoding that we use here. */
|
||||
rc = c_setup_iconv("UTF-8-MAC");
|
||||
#endif
|
||||
#endif
|
||||
assert_int_equal(rc, 0);
|
||||
}
|
||||
|
||||
static void teardown(void **state)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
(void) state; /* unused */
|
||||
#ifdef HAVE_ICONV
|
||||
// this must never crash
|
||||
rc = c_close_iconv();
|
||||
#endif
|
||||
assert_int_equal(rc, 0);
|
||||
}
|
||||
|
||||
static void check_iconv_to_native_normalization(void **state)
|
||||
|
|
Loading…
Reference in a new issue