TEST_OBJECTS = \
test_test.o \
test_arrays.o \
- test_datetime.o \
- test_fileconf.o \
- test_filename.o \
- test_filesys.o \
- test_fontmap.o \
- test_formatconverter.o \
+ test_datetimetest.o \
+ test_fileconftest.o \
+ test_filenametest.o \
+ test_filesystest.o \
+ test_fontmaptest.o \
+ test_formatconvertertest.o \
test_hashes.o \
- test_longlong.o \
- test_main.o \
- test_regex.o \
- test_wxregex.o \
+ test_longlongtest.o \
+ test_mbconvtest.o \
+ test_regextest.o \
+ test_wxregextest.o \
test_strings.o \
test_stdstrings.o \
test_unicode.o \
@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test$(EXEEXT)
@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
+COND_MONOLITHIC_0___WXLIB_NET_p = \
+ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
+@COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
COND_MONOLITHIC_0___WXLIB_BASE_p = \
-lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
test$(EXEEXT): $(TEST_OBJECTS)
- $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
+ $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
$(__test___mac_setfilecmd)
$(SAMPLES_RPATH_POSTLINK)
test_arrays.o: $(srcdir)/arrays/arrays.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_datetime.o: $(srcdir)/datetime/datetime.cpp
+test_datetimetest.o: $(srcdir)/datetime/datetimetest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_fileconf.o: $(srcdir)/fileconf/fileconf.cpp
+test_fileconftest.o: $(srcdir)/fileconf/fileconftest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_filename.o: $(srcdir)/filename/filename.cpp
+test_filenametest.o: $(srcdir)/filename/filenametest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_filesys.o: $(srcdir)/filesys/filesys.cpp
+test_filesystest.o: $(srcdir)/filesys/filesystest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_fontmap.o: $(srcdir)/fontmap/fontmap.cpp
+test_fontmaptest.o: $(srcdir)/fontmap/fontmaptest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_formatconverter.o: $(srcdir)/formatconverter/formatconverter.cpp
+test_formatconvertertest.o: $(srcdir)/formatconverter/formatconvertertest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
test_hashes.o: $(srcdir)/hashes/hashes.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_longlong.o: $(srcdir)/longlong/longlong.cpp
+test_longlongtest.o: $(srcdir)/longlong/longlongtest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_main.o: $(srcdir)/mbconv/main.cpp
+test_mbconvtest.o: $(srcdir)/mbconv/mbconvtest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_regex.o: $(srcdir)/regex/regex.cpp
+test_regextest.o: $(srcdir)/regex/regextest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
-test_wxregex.o: $(srcdir)/regex/wxregex.cpp
+test_wxregextest.o: $(srcdir)/regex/wxregextest.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
test_strings.o: $(srcdir)/strings/strings.cpp
TEST_OBJECTS = \
$(OBJS)\test_test.obj \
$(OBJS)\test_arrays.obj \
- $(OBJS)\test_datetime.obj \
- $(OBJS)\test_fileconf.obj \
- $(OBJS)\test_filename.obj \
- $(OBJS)\test_filesys.obj \
- $(OBJS)\test_fontmap.obj \
- $(OBJS)\test_formatconverter.obj \
+ $(OBJS)\test_datetimetest.obj \
+ $(OBJS)\test_fileconftest.obj \
+ $(OBJS)\test_filenametest.obj \
+ $(OBJS)\test_filesystest.obj \
+ $(OBJS)\test_fontmaptest.obj \
+ $(OBJS)\test_formatconvertertest.obj \
$(OBJS)\test_hashes.obj \
- $(OBJS)\test_longlong.obj \
- $(OBJS)\test_main.obj \
- $(OBJS)\test_regex.obj \
- $(OBJS)\test_wxregex.obj \
+ $(OBJS)\test_longlongtest.obj \
+ $(OBJS)\test_mbconvtest.obj \
+ $(OBJS)\test_regextest.obj \
+ $(OBJS)\test_wxregextest.obj \
$(OBJS)\test_strings.obj \
$(OBJS)\test_stdstrings.obj \
$(OBJS)\test_unicode.obj \
__DLLFLAG_p = -DWXUSINGDLL
!endif
!if "$(MONOLITHIC)" == "0"
+__WXLIB_NET_p = \
+ wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
+!endif
+!if "$(MONOLITHIC)" == "0"
__WXLIB_BASE_p = \
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
!endif
$(OBJS)\test.exe: $(TEST_OBJECTS)
ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&|
- c0x32.obj $(TEST_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
+ c0x32.obj $(TEST_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
|
data:
$(OBJS)\test_arrays.obj: .\arrays\arrays.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_datetime.obj: .\datetime\datetime.cpp
+$(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_fileconf.obj: .\fileconf\fileconf.cpp
+$(OBJS)\test_fileconftest.obj: .\fileconf\fileconftest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_filename.obj: .\filename\filename.cpp
+$(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_filesys.obj: .\filesys\filesys.cpp
+$(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_fontmap.obj: .\fontmap\fontmap.cpp
+$(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_formatconverter.obj: .\formatconverter\formatconverter.cpp
+$(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
$(OBJS)\test_hashes.obj: .\hashes\hashes.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_longlong.obj: .\longlong\longlong.cpp
+$(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_main.obj: .\mbconv\main.cpp
+$(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_regex.obj: .\regex\regex.cpp
+$(OBJS)\test_regextest.obj: .\regex\regextest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_wxregex.obj: .\regex\wxregex.cpp
+$(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
$(OBJS)\test_strings.obj: .\strings\strings.cpp
TEST_OBJECTS = \
$(OBJS)\test_test.o \
$(OBJS)\test_arrays.o \
- $(OBJS)\test_datetime.o \
- $(OBJS)\test_fileconf.o \
- $(OBJS)\test_filename.o \
- $(OBJS)\test_filesys.o \
- $(OBJS)\test_fontmap.o \
- $(OBJS)\test_formatconverter.o \
+ $(OBJS)\test_datetimetest.o \
+ $(OBJS)\test_fileconftest.o \
+ $(OBJS)\test_filenametest.o \
+ $(OBJS)\test_filesystest.o \
+ $(OBJS)\test_fontmaptest.o \
+ $(OBJS)\test_formatconvertertest.o \
$(OBJS)\test_hashes.o \
- $(OBJS)\test_longlong.o \
- $(OBJS)\test_main.o \
- $(OBJS)\test_regex.o \
- $(OBJS)\test_wxregex.o \
+ $(OBJS)\test_longlongtest.o \
+ $(OBJS)\test_mbconvtest.o \
+ $(OBJS)\test_regextest.o \
+ $(OBJS)\test_wxregextest.o \
$(OBJS)\test_strings.o \
$(OBJS)\test_stdstrings.o \
$(OBJS)\test_unicode.o \
__DLLFLAG_p = -DWXUSINGDLL
endif
ifeq ($(MONOLITHIC),0)
+__WXLIB_NET_p = \
+ -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net
+endif
+ifeq ($(MONOLITHIC),0)
__WXLIB_BASE_p = \
-lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
endif
-if exist $(OBJS)\test.exe del $(OBJS)\test.exe
$(OBJS)\test.exe: $(TEST_OBJECTS)
- $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
+ $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
data:
if not exist $(OBJS) mkdir $(OBJS)
$(OBJS)\test_arrays.o: ./arrays/arrays.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_datetime.o: ./datetime/datetime.cpp
+$(OBJS)\test_datetimetest.o: ./datetime/datetimetest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_fileconf.o: ./fileconf/fileconf.cpp
+$(OBJS)\test_fileconftest.o: ./fileconf/fileconftest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_filename.o: ./filename/filename.cpp
+$(OBJS)\test_filenametest.o: ./filename/filenametest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_filesys.o: ./filesys/filesys.cpp
+$(OBJS)\test_filesystest.o: ./filesys/filesystest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_fontmap.o: ./fontmap/fontmap.cpp
+$(OBJS)\test_fontmaptest.o: ./fontmap/fontmaptest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_formatconverter.o: ./formatconverter/formatconverter.cpp
+$(OBJS)\test_formatconvertertest.o: ./formatconverter/formatconvertertest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
$(OBJS)\test_hashes.o: ./hashes/hashes.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_longlong.o: ./longlong/longlong.cpp
+$(OBJS)\test_longlongtest.o: ./longlong/longlongtest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_main.o: ./mbconv/main.cpp
+$(OBJS)\test_mbconvtest.o: ./mbconv/mbconvtest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_regex.o: ./regex/regex.cpp
+$(OBJS)\test_regextest.o: ./regex/regextest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_wxregex.o: ./regex/wxregex.cpp
+$(OBJS)\test_wxregextest.o: ./regex/wxregextest.cpp
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
$(OBJS)\test_strings.o: ./strings/strings.cpp
TEST_OBJECTS = \
$(OBJS)\test_test.obj \
$(OBJS)\test_arrays.obj \
- $(OBJS)\test_datetime.obj \
- $(OBJS)\test_fileconf.obj \
- $(OBJS)\test_filename.obj \
- $(OBJS)\test_filesys.obj \
- $(OBJS)\test_fontmap.obj \
- $(OBJS)\test_formatconverter.obj \
+ $(OBJS)\test_datetimetest.obj \
+ $(OBJS)\test_fileconftest.obj \
+ $(OBJS)\test_filenametest.obj \
+ $(OBJS)\test_filesystest.obj \
+ $(OBJS)\test_fontmaptest.obj \
+ $(OBJS)\test_formatconvertertest.obj \
$(OBJS)\test_hashes.obj \
- $(OBJS)\test_longlong.obj \
- $(OBJS)\test_main.obj \
- $(OBJS)\test_regex.obj \
- $(OBJS)\test_wxregex.obj \
+ $(OBJS)\test_longlongtest.obj \
+ $(OBJS)\test_mbconvtest.obj \
+ $(OBJS)\test_regextest.obj \
+ $(OBJS)\test_wxregextest.obj \
$(OBJS)\test_strings.obj \
$(OBJS)\test_stdstrings.obj \
$(OBJS)\test_unicode.obj \
__DLLFLAG_p = /DWXUSINGDLL
!endif
!if "$(MONOLITHIC)" == "0"
+__WXLIB_NET_p = \
+ wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
+!endif
+!if "$(MONOLITHIC)" == "0"
__WXLIB_BASE_p = \
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
!endif
$(OBJS)\test.exe: $(TEST_OBJECTS)
link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) @<<
- $(TEST_OBJECTS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
+ $(TEST_OBJECTS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
<<
data:
$(OBJS)\test_arrays.obj: .\arrays\arrays.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_datetime.obj: .\datetime\datetime.cpp
+$(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_fileconf.obj: .\fileconf\fileconf.cpp
+$(OBJS)\test_fileconftest.obj: .\fileconf\fileconftest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_filename.obj: .\filename\filename.cpp
+$(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_filesys.obj: .\filesys\filesys.cpp
+$(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_fontmap.obj: .\fontmap\fontmap.cpp
+$(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_formatconverter.obj: .\formatconverter\formatconverter.cpp
+$(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
$(OBJS)\test_hashes.obj: .\hashes\hashes.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_longlong.obj: .\longlong\longlong.cpp
+$(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_main.obj: .\mbconv\main.cpp
+$(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_regex.obj: .\regex\regex.cpp
+$(OBJS)\test_regextest.obj: .\regex\regextest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
-$(OBJS)\test_wxregex.obj: .\regex\wxregex.cpp
+$(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
$(OBJS)\test_strings.obj: .\strings\strings.cpp
!ifeq SHARED 1
__DLLFLAG_p = -dWXUSINGDLL
!endif
+__WXLIB_NET_p =
+!ifeq MONOLITHIC 0
+__WXLIB_NET_p = &
+ wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
+!endif
__WXLIB_BASE_p =
!ifeq MONOLITHIC 0
__WXLIB_BASE_p = &
TEST_OBJECTS = &
$(OBJS)\test_test.obj &
$(OBJS)\test_arrays.obj &
- $(OBJS)\test_datetime.obj &
- $(OBJS)\test_fileconf.obj &
- $(OBJS)\test_filename.obj &
- $(OBJS)\test_filesys.obj &
- $(OBJS)\test_fontmap.obj &
- $(OBJS)\test_formatconverter.obj &
+ $(OBJS)\test_datetimetest.obj &
+ $(OBJS)\test_fileconftest.obj &
+ $(OBJS)\test_filenametest.obj &
+ $(OBJS)\test_filesystest.obj &
+ $(OBJS)\test_fontmaptest.obj &
+ $(OBJS)\test_formatconvertertest.obj &
$(OBJS)\test_hashes.obj &
- $(OBJS)\test_longlong.obj &
- $(OBJS)\test_main.obj &
- $(OBJS)\test_regex.obj &
- $(OBJS)\test_wxregex.obj &
+ $(OBJS)\test_longlongtest.obj &
+ $(OBJS)\test_mbconvtest.obj &
+ $(OBJS)\test_regextest.obj &
+ $(OBJS)\test_wxregextest.obj &
$(OBJS)\test_strings.obj &
$(OBJS)\test_stdstrings.obj &
$(OBJS)\test_unicode.obj &
@%append $(OBJS)\test.lbc option caseexact
@%append $(OBJS)\test.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS)
@for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i
- @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib) do @%append $(OBJS)\test.lbc library %i
+ @for %i in ( $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib) do @%append $(OBJS)\test.lbc library %i
@%append $(OBJS)\test.lbc
wlink @$(OBJS)\test.lbc
$(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_datetime.obj : .AUTODEPEND .\datetime\datetime.cpp
+$(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_fileconf.obj : .AUTODEPEND .\fileconf\fileconf.cpp
+$(OBJS)\test_fileconftest.obj : .AUTODEPEND .\fileconf\fileconftest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_filename.obj : .AUTODEPEND .\filename\filename.cpp
+$(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_filesys.obj : .AUTODEPEND .\filesys\filesys.cpp
+$(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_fontmap.obj : .AUTODEPEND .\fontmap\fontmap.cpp
+$(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_formatconverter.obj : .AUTODEPEND .\formatconverter\formatconverter.cpp
+$(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
$(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_longlong.obj : .AUTODEPEND .\longlong\longlong.cpp
+$(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_main.obj : .AUTODEPEND .\mbconv\main.cpp
+$(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_regex.obj : .AUTODEPEND .\regex\regex.cpp
+$(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
-$(OBJS)\test_wxregex.obj : .AUTODEPEND .\regex\wxregex.cpp
+$(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
$(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "vc_mswd"
# PROP Intermediate_Dir "vc_mswd\test"
-# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Gm /GR /GX /Zi /Od /I ".\..\include" /I ".\..\lib\vc_lib\mswd" /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_CONSOLE" /Fd"vc_mswd\test.pdb" /FD /GZ /c
# ADD CPP /nologo /MDd /W4 /Gm /GR /GX /Zi /Od /I ".\..\include" /I ".\..\lib\vc_lib\mswd" /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_CONSOLE" /Fd"vc_mswd\test.pdb" /FD /GZ /c
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:".\..\lib\vc_lib"
-# ADD LINK32 wxbase25d.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:".\..\lib\vc_lib"
+# ADD LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:".\..\lib\vc_lib"
!ENDIF
# PROP Default_Filter ""
# Begin Source File
+SOURCE=.\arrays\arrays.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\streams\bstream.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\streams\bstream.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\strings\crt.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\datetime\datetimetest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\streams\ffilestream.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\fileconf\fileconftest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\filename\filenametest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\streams\filestream.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\filesys\filesystest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\fontmap\fontmaptest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\formatconverter\formatconvertertest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\hashes\hashes.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\longlong\longlongtest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\mbconv\mbconvtest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\streams\memstream.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\regex\regextest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\streams\sstream.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\strings\stdstrings.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\strings\strings.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\test.cpp
# End Source File
# Begin Source File
+SOURCE=.\strings\unicode.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\uris\uris.cpp
# End Source File
+# Begin Source File
+
+SOURCE=.\regex\wxregextest.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\streams\zlibstream.cpp
+# End Source File
# End Group
# End Target
# End Project
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
-
-Project: "base"=..\build\msw\wx_base.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "console"=..\samples\console\console.dsp - Package Owner=<4>
+Project: "test"=test.dsp - Package Owner=<4>
Package=<5>
{{{
Package=<4>
{{{
+Begin Project Dependency
+Project_Dep_Name base
+End Project Dependency
}}}
###############################################################################
-Project: "net"=..\build\msw\wx_net.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "test"=.\test.dsp - Package Owner=<4>
+Project: "base"=..\build\msw\wx_base.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name base
- End Project Dependency
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
{{{
}}}
#include "wx/cppunit.h"
// Test wxURL & wxURI compat?
-#define TEST_URL ( 1 && wxUSE_URL )
+#define TEST_URL ( 0 && wxUSE_URL )
// ----------------------------------------------------------------------------
// test class
#if TEST_URL
#include "wx/url.h"
+#include "wx/mimetype.h"
void URITestCase::URLCompat()
{
#if WXWIN_COMPATIBILITY_2_4
CPPUNIT_ASSERT( wxURL::ConvertFromURI(wxT("%20%41%20")) == wxT(" A ") );
#endif
+ CPPUNIT_ASSERT( wxURI::Unescape(wxT("%20%41%20")) == wxT(" A ") );
+
+ wxURI test(wxT("file:\"myf\"ile.txt"));
+
+ CPPUNIT_ASSERT( test.BuildURI() == wxT("file:%22myf%22ile.txt") );
+ CPPUNIT_ASSERT( test.GetScheme() == wxT("file") );
+ CPPUNIT_ASSERT( test.GetPath() == wxT("%22myf%22ile.txt") );
+// CPPUNIT_ASSERT( wxURI::Unescape(wxT("%22myf%22ile.txt")) );
+ wxPrintf(wxURI::Unescape(wxT("%22myf%22ile.txt")) );
}
#endif