/***
This file is part of systemd.
Copyright 2013 Dave Reisner
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "alloc-util.h"
#include "string-util.h"
#include "utf8.h"
#include "util.h"
static void test_utf8_is_printable(void) {
}
static void test_utf8_is_valid(void) {
}
static void test_ascii_is_valid(void) {
}
static void test_utf8_encoded_valid_unichar(void) {
}
static void test_utf8_escaping(void) {
}
static void test_utf8_escaping_printable(void) {
}
static void test_utf16_to_utf8(void) {
char *a = NULL;
const uint16_t utf16[] = { htole16('a'), htole16(0xd800), htole16('b'), htole16(0xdc00), htole16('c'), htole16(0xd801), htole16(0xdc37) };
assert_se(a);
free(a);
}
return 0;
}