mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Moved jid.c
This commit is contained in:
parent
c23506f453
commit
1c5efaeb58
@ -2,7 +2,7 @@ core_sources = \
|
||||
src/xmpp/contact.c src/xmpp/contact.h src/log.c src/common.c \
|
||||
src/log.h src/profanity.c src/common.h \
|
||||
src/profanity.h src/xmpp/chat_session.c \
|
||||
src/xmpp/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.c \
|
||||
src/xmpp/chat_session.h src/muc.c src/muc.h src/xmpp/jid.h src/xmpp/jid.c \
|
||||
src/xmpp/chat_state.h src/xmpp/chat_state.c \
|
||||
src/resource.c src/resource.h \
|
||||
src/roster_list.c src/roster_list.h \
|
||||
@ -60,7 +60,7 @@ unittest_sources = \
|
||||
src/xmpp/contact.c src/xmpp/contact.h src/common.c \
|
||||
src/log.h src/profanity.c src/common.h \
|
||||
src/profanity.h src/xmpp/chat_session.c \
|
||||
src/xmpp/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.c \
|
||||
src/xmpp/chat_session.h src/muc.c src/muc.h src/xmpp/jid.h src/xmpp/jid.c \
|
||||
src/resource.c src/resource.h \
|
||||
src/xmpp/chat_state.h src/xmpp/chat_state.c \
|
||||
src/roster_list.c src/roster_list.h \
|
||||
|
@ -60,7 +60,7 @@
|
||||
#include "config/scripts.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "roster_list.h"
|
||||
#include "jid.h"
|
||||
#include "xmpp/jid.h"
|
||||
#include "log.h"
|
||||
#include "muc.h"
|
||||
#include "plugins/plugins.h"
|
||||
|
@ -62,7 +62,7 @@
|
||||
#include "config/scripts.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "roster_list.h"
|
||||
#include "jid.h"
|
||||
#include "xmpp/jid.h"
|
||||
#include "log.h"
|
||||
#include "muc.h"
|
||||
#ifdef HAVE_LIBOTR
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "jid.h"
|
||||
#include "xmpp/jid.h"
|
||||
#include "config/account.h"
|
||||
#include "common.h"
|
||||
#include "log.h"
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "common.h"
|
||||
#include "config/account.h"
|
||||
#include "config/conflists.h"
|
||||
#include "jid.h"
|
||||
#include "xmpp/jid.h"
|
||||
#include "log.h"
|
||||
#include "tools/autocomplete.h"
|
||||
#include "xmpp/xmpp.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
#include "xmpp/contact.h"
|
||||
#include "common.h"
|
||||
#include "jid.h"
|
||||
#include "xmpp/jid.h"
|
||||
#include "tools/autocomplete.h"
|
||||
#include "ui/ui.h"
|
||||
#include "window_list.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <glib.h>
|
||||
|
||||
#include "xmpp/contact.h"
|
||||
#include "jid.h"
|
||||
#include "xmpp/jid.h"
|
||||
#include "tools/autocomplete.h"
|
||||
#include "ui/win_types.h"
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "roster_list.h"
|
||||
#include "resource.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "jid.h"
|
||||
#include "xmpp/jid.h"
|
||||
#include "tools/autocomplete.h"
|
||||
#include "config/preferences.h"
|
||||
|
||||
|
@ -62,7 +62,7 @@
|
||||
#include "config/theme.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "roster_list.h"
|
||||
#include "jid.h"
|
||||
#include "xmpp/jid.h"
|
||||
#include "log.h"
|
||||
#include "muc.h"
|
||||
#ifdef HAVE_LIBOTR
|
||||
|
@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef JID_H
|
||||
#define JID_H
|
||||
#ifndef XMPP_JID_H
|
||||
#define XMPP_JID_H
|
||||
|
||||
#include <glib.h>
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <cmocka.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "jid.h"
|
||||
#include "xmpp/jid.h"
|
||||
|
||||
void create_jid_from_null_returns_null(void **state)
|
||||
{
|
||||
@ -182,4 +182,4 @@ void returns_barejid_when_fulljid_not_exists(void **state)
|
||||
char *result = jid_fulljid_or_barejid(jid);
|
||||
|
||||
assert_string_equal("localpart@domainpart", result);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user