From 494f66361066a400026f572215e7d6d2038c9bc2 Mon Sep 17 00:00:00 2001
From: Julien Bonjean <julien@bonjean.info>
Date: Wed, 4 Aug 2010 11:34:25 -0400
Subject: [PATCH] [#3376] Updated tests

---
 sflphone-common/test/Makefile.am | 4 +---
 sflphone-common/test/constants.h | 2 +-
 sflphone-common/test/main.cpp    | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/sflphone-common/test/Makefile.am b/sflphone-common/test/Makefile.am
index 41ab80fea2..9da8e2f603 100644
--- a/sflphone-common/test/Makefile.am
+++ b/sflphone-common/test/Makefile.am
@@ -26,9 +26,7 @@ test_SOURCES = \
 	rtptest.h \
 	rtptest.cpp \
 	sdesnegotiatortest.h \
-	sdesnegotiatortest.cpp \
-	ringtonetest.h \
-	ringtonetest.cpp
+	sdesnegotiatortest.cpp
 
 LLIBS=$(CPPUNIT_LIBS) \
 	../src/sflphoned-logger.o \
diff --git a/sflphone-common/test/constants.h b/sflphone-common/test/constants.h
index 5b3d0884f4..15bcd85860 100644
--- a/sflphone-common/test/constants.h
+++ b/sflphone-common/test/constants.h
@@ -35,7 +35,7 @@
 #define NO_STR "0"
 #define HISTORY_SAMPLE  "history-sample"
 #define HISTORY_SAMPLE_SIZE     3
-#define CONFIG_SAMPLE   "sflphonedrc-sample"
+#define CONFIG_SAMPLE   "sflphoned-sample.yml"
 #define HUGE_HISTORY_LIMIT      20000
 
 #endif /* CONSTANTS_H_ */
diff --git a/sflphone-common/test/main.cpp b/sflphone-common/test/main.cpp
index 0823891c59..1ce3b6b4e7 100644
--- a/sflphone-common/test/main.cpp
+++ b/sflphone-common/test/main.cpp
@@ -30,8 +30,7 @@
 
 #include <logger.h>
 #include <manager.h>
-
-#define CONFIG_SAMPLE   "sflphonedrc-sample"
+#include <constants.h>
 
 #include <cppunit/CompilerOutputter.h>
 #include <cppunit/extensions/TestFactoryRegistry.h>
-- 
GitLab