diff --git a/Freeswitch.2017.sln b/Freeswitch.2017.sln
index 0326ffac12..7952b11478 100644
--- a/Freeswitch.2017.sln
+++ b/Freeswitch.2017.sln
@@ -556,6 +556,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_switch_ivr_originate",
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_switch_core_codec", "tests\unit\test_switch_core_codec.2017.vcxproj", "{589A07E7-5DE5-49FD-A62C-27795B806AFB}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_tts_format", "tests\unit\test_tts_format.2017.vcxproj", "{3745B86B-6BE8-3E67-FCB9-BE62A6131D67}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_test", "src\mod\applications\mod_test\mod_test.2017.vcxproj", "{E9FF8127-D5F0-2398-59EB-702CE55F7800}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
All|Win32 = All|Win32
@@ -2530,6 +2534,30 @@ Global
{589A07E7-5DE5-49FD-A62C-27795B806AFB}.Release|Win32.Build.0 = Release|Win32
{589A07E7-5DE5-49FD-A62C-27795B806AFB}.Release|x64.ActiveCfg = Release|x64
{589A07E7-5DE5-49FD-A62C-27795B806AFB}.Release|x64.Build.0 = Release|x64
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.All|Win32.ActiveCfg = Debug|Win32
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.All|Win32.Build.0 = Debug|Win32
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.All|x64.ActiveCfg = Debug|x64
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.All|x64.Build.0 = Debug|x64
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.Debug|Win32.Build.0 = Debug|Win32
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.Debug|x64.ActiveCfg = Debug|x64
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.Debug|x64.Build.0 = Debug|x64
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.Release|Win32.ActiveCfg = Release|Win32
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.Release|Win32.Build.0 = Release|Win32
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.Release|x64.ActiveCfg = Release|x64
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}.Release|x64.Build.0 = Release|x64
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.All|Win32.ActiveCfg = Debug|Win32
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.All|Win32.Build.0 = Debug|Win32
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.All|x64.ActiveCfg = Debug|x64
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.All|x64.Build.0 = Debug|x64
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.Debug|Win32.ActiveCfg = Debug|Win32
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.Debug|Win32.Build.0 = Debug|Win32
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.Debug|x64.ActiveCfg = Debug|x64
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.Debug|x64.Build.0 = Debug|x64
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.Release|Win32.ActiveCfg = Release|Win32
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.Release|Win32.Build.0 = Release|Win32
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.Release|x64.ActiveCfg = Release|x64
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -2729,6 +2757,8 @@ Global
{580675D7-C1C9-4197-AAC5-00F64FAFDE78} = {9388C266-C3FC-468A-92EF-0CBC35941412}
{69A7464A-9B0D-4804-A108-835229DACF58} = {9388C266-C3FC-468A-92EF-0CBC35941412}
{589A07E7-5DE5-49FD-A62C-27795B806AFB} = {9388C266-C3FC-468A-92EF-0CBC35941412}
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67} = {9388C266-C3FC-468A-92EF-0CBC35941412}
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {09840DE7-9208-45AA-9667-1A71EE93BD1E}
diff --git a/src/mod/applications/mod_test/mod_test.2017.vcxproj b/src/mod/applications/mod_test/mod_test.2017.vcxproj
new file mode 100644
index 0000000000..c378c54ec6
--- /dev/null
+++ b/src/mod/applications/mod_test/mod_test.2017.vcxproj
@@ -0,0 +1,139 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ mod_test
+ mod_test
+ Win32Proj
+ {E9FF8127-D5F0-2398-59EB-702CE55F7800}
+
+
+
+ DynamicLibrary
+ MultiByte
+ $(DefaultPlatformToolset)
+
+
+ DynamicLibrary
+ MultiByte
+ $(DefaultPlatformToolset)
+
+
+ DynamicLibrary
+ MultiByte
+ $(DefaultPlatformToolset)
+
+
+ DynamicLibrary
+ MultiByte
+ $(DefaultPlatformToolset)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+
+
+
+
+
+ 4306;6340;6246;6011;6387;%(DisableSpecificWarnings)
+
+
+ false
+
+
+
+
+
+
+ X64
+
+
+
+
+ 4306;6340;6246;6011;6387;%(DisableSpecificWarnings)
+
+
+ false
+
+
+ MachineX64
+
+
+
+
+
+
+ 4306;6340;6246;6011;6387;%(DisableSpecificWarnings)
+
+
+ false
+
+
+
+
+
+
+ X64
+
+
+
+
+ 4306;6340;6246;6011;6387;%(DisableSpecificWarnings)
+
+
+ false
+
+
+ MachineX64
+
+
+
+
+
+
+
+ {202d7a4e-760d-4d0e-afa1-d7459ced30ff}
+ false
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/mod/formats/mod_ssml/Makefile.am b/src/mod/formats/mod_ssml/Makefile.am
index c3a6d83710..9da6a7cce1 100644
--- a/src/mod/formats/mod_ssml/Makefile.am
+++ b/src/mod/formats/mod_ssml/Makefile.am
@@ -15,15 +15,6 @@ mod_ssml_la_CFLAGS = $(AM_CFLAGS) -I$(IKS_DIR)/include
mod_ssml_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(IKS_LA)
mod_ssml_la_LDFLAGS = -avoid-version -module -no-undefined -shared
-noinst_PROGRAMS = test/test_tts_format
-
-test_test_tts_format_SOURCES = test/test_tts_format.c
-test_test_tts_format_CFLAGS = $(AM_CFLAGS) -I. -DSWITCH_TEST_BASE_DIR_FOR_CONF=\"${abs_builddir}/test\" -DSWITCH_TEST_BASE_DIR_OVERRIDE=\"${abs_builddir}/test\"
-test_test_tts_format_LDFLAGS = $(AM_LDFLAGS) -avoid-version -no-undefined $(freeswitch_LDFLAGS) $(switch_builddir)/libfreeswitch.la $(CORE_LIBS) $(APR_LIBS)
-test_test_tts_format_LDADD = libssmlmod.la $(IKS_LA)
-
-TESTS = $(noinst_PROGRAMS)
-
BUILT_SOURCES=$(IKS_LA)
$(IKS_LA): $(IKS_BUILDDIR) $(IKS_DIR) $(IKS_DIR)/.update
diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am
index e2cec69089..719152d6df 100644
--- a/tests/unit/Makefile.am
+++ b/tests/unit/Makefile.am
@@ -3,7 +3,7 @@ include $(top_srcdir)/build/modmake.rulesam
noinst_PROGRAMS = switch_event switch_hash switch_ivr_originate switch_utils switch_core switch_console switch_vpx switch_core_file \
switch_ivr_play_say switch_core_codec switch_rtp switch_xml
noinst_PROGRAMS += switch_core_video switch_core_db switch_vad switch_packetizer switch_core_session test_sofia switch_ivr_async switch_core_asr switch_log
-
+noinst_PROGRAMS += test_tts_format
noinst_PROGRAMS+= switch_hold switch_sip
if HAVE_PCAP
diff --git a/src/mod/formats/mod_ssml/test/freeswitch.xml b/tests/unit/conf_tts_format/freeswitch.xml
similarity index 100%
rename from src/mod/formats/mod_ssml/test/freeswitch.xml
rename to tests/unit/conf_tts_format/freeswitch.xml
diff --git a/tests/unit/test_tts_format.2017.vcxproj b/tests/unit/test_tts_format.2017.vcxproj
new file mode 100644
index 0000000000..ddaf9a02f9
--- /dev/null
+++ b/tests/unit/test_tts_format.2017.vcxproj
@@ -0,0 +1,204 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ test_tts_format
+ test_tts_format
+ Win32Proj
+ 10.0
+ {3745B86B-6BE8-3E67-FCB9-BE62A6131D67}
+
+
+
+ Application
+ MultiByte
+ $(DefaultPlatformToolset)
+
+
+ Application
+ MultiByte
+ $(DefaultPlatformToolset)
+
+
+ Application
+ MultiByte
+ $(DefaultPlatformToolset)
+
+
+ Application
+ MultiByte
+ $(DefaultPlatformToolset)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ $(SolutionDir)$(PlatformName)\$(Configuration)\
+ $(PlatformName)\$(Configuration)\$(ProjectName)\
+ false
+ $(SolutionDir)$(PlatformName)\$(Configuration)\
+ $(Platform)\$(Configuration)\$(ProjectName)\
+ false
+ $(SolutionDir)$(PlatformName)\$(Configuration)\
+ $(PlatformName)\$(Configuration)\$(ProjectName)\
+ false
+ $(SolutionDir)$(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\$(ProjectName)\
+ false
+
+
+
+ $(SolutionDir)src\include;%(AdditionalIncludeDirectories)
+ SWITCH_TEST_BASE_DIR_FOR_CONF="..\\..\\tests\\unit\\";%(PreprocessorDefinitions)
+
+
+
+
+
+ Disabled
+ WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level4
+ ProgramDatabase
+ true
+ 6031;6340;6246;6011;6387;%(DisableSpecificWarnings)
+
+
+ $(OutDir);%(AdditionalLibraryDirectories)
+ true
+ Console
+ true
+
+
+ MachineX86
+
+
+
+
+
+ X64
+
+
+ Disabled
+ WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level4
+ ProgramDatabase
+ true
+ 6031;6340;6246;6011;6387;%(DisableSpecificWarnings)
+
+
+ $(OutDir);%(AdditionalLibraryDirectories)
+ true
+ Console
+ true
+
+
+ MachineX64
+
+
+
+
+
+ WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+
+
+ Level4
+ ProgramDatabase
+ 6031;6340;6246;6011;6387;%(DisableSpecificWarnings)
+
+
+ $(OutDir);%(AdditionalLibraryDirectories)
+ false
+ Console
+ true
+ true
+ true
+
+
+ MachineX86
+
+
+
+
+
+ X64
+
+
+ WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+
+
+ Level4
+ ProgramDatabase
+ 6031;6340;6246;6011;6387;%(DisableSpecificWarnings)
+
+
+ $(OutDir);%(AdditionalLibraryDirectories)
+ false
+ Console
+ true
+ true
+ true
+
+
+ MachineX64
+
+
+
+
+
+
+
+ {202d7a4e-760d-4d0e-afa1-d7459ced30ff}
+ false
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/mod/formats/mod_ssml/test/test_tts_format.c b/tests/unit/test_tts_format.c
similarity index 96%
rename from src/mod/formats/mod_ssml/test/test_tts_format.c
rename to tests/unit/test_tts_format.c
index d3edaf6300..f7c801ec2e 100644
--- a/src/mod/formats/mod_ssml/test/test_tts_format.c
+++ b/tests/unit/test_tts_format.c
@@ -31,9 +31,8 @@
#include
#include
-FST_CORE_BEGIN(".")
-
-FST_MODULE_BEGIN(mod_ssml, test_tts_format)
+FST_CORE_BEGIN("./conf_tts_format")
+FST_SUITE_BEGIN(test_tts_format)
FST_SETUP_BEGIN()
{
@@ -61,6 +60,5 @@ FST_SESSION_BEGIN(tts_channel_uuid)
}
FST_SESSION_END()
-FST_MODULE_END()
-
+FST_SUITE_END()
FST_CORE_END()