Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
77b689ef
Commit
77b689ef
authored
Sep 03, 2010
by
Alexandre Savard
Browse files
[#3963] Add libxpat1 in CFLAGS and LDFLAGS and run an instantiation test
parent
14f7a2ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/Makefile.am
View file @
77b689ef
...
...
@@ -85,7 +85,8 @@ libsflphone_la_LDFLAGS = \
@SAMPLERATE_LIBS@
\
@libssl_LIBS@
\
@UUID_LIBS@
\
@yaml_LIBS@
@yaml_LIBS@
\
@xml_LIBS@
libsflphone_la_CFLAGS
=
\
@CCGNU2_CFLAGS@
\
...
...
@@ -98,7 +99,8 @@ libsflphone_la_CFLAGS = \
@SAMPLERATE_CFLAGS@
\
@libssl_CFLAGS@
\
@UUID_CFLAGS@
\
@yaml_CFLAGS@
@yaml_CFLAGS@
\
@xml_CFLAGS@
libsflphone_la_SOURCES
=
...
...
sflphone-common/test/instantmessagingtest.cpp
View file @
77b689ef
...
...
@@ -34,6 +34,8 @@
#include
"instantmessagingtest.h"
#include
"expat.h"
#define MAXIMUM_SIZE 10
#define DELIMITER_CHAR "\n\n"
...
...
@@ -139,6 +141,12 @@ void InstantMessagingTest::testSplitMessage ()
CPPUNIT_ASSERT
(
messages
[
size
-
1
]
==
very_long_message
.
substr
(
maxSize
*
(
size
-
1
)));
}
void
InstantMessagingTest
::
testUriListParsing
()
{
XML_Parser
parser
=
XML_ParserCreate
(
NULL
);
XML_ParserFree
(
parser
);
}
void
InstantMessagingTest
::
tearDown
()
{
delete
_im
;
...
...
sflphone-common/test/instantmessagingtest.h
View file @
77b689ef
...
...
@@ -56,6 +56,7 @@ class InstantMessagingTest : public CppUnit::TestCase {
CPPUNIT_TEST
(
testSaveSingleMessage
);
CPPUNIT_TEST
(
testSaveMultipleMessage
);
CPPUNIT_TEST
(
testSplitMessage
);
CPPUNIT_TEST
(
testUriListParsing
);
CPPUNIT_TEST_SUITE_END
();
public:
...
...
@@ -78,6 +79,8 @@ class InstantMessagingTest : public CppUnit::TestCase {
void
testSaveMultipleMessage
();
void
testSplitMessage
();
void
testUriListParsing
();
private:
sfl
::
InstantMessaging
*
_im
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment