mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-09 20:05:57 +02:00
* Patch from Noel Duffy to implement DNS over TCP and test
git-svn-id: trunk@48455 -
This commit is contained in:
parent
4bec57702f
commit
a90315c3a0
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -3836,6 +3836,8 @@ packages/fcl-net/src/sslsockets.pp svneol=native#text/plain
|
|||||||
packages/fcl-net/src/ssockets.pp svneol=native#text/plain
|
packages/fcl-net/src/ssockets.pp svneol=native#text/plain
|
||||||
packages/fcl-net/src/unix/resolve.inc svneol=native#text/plain
|
packages/fcl-net/src/unix/resolve.inc svneol=native#text/plain
|
||||||
packages/fcl-net/src/win/resolve.inc svneol=native#text/plain
|
packages/fcl-net/src/win/resolve.inc svneol=native#text/plain
|
||||||
|
packages/fcl-net/tests/netdbtest.pp svneol=native#text/plain
|
||||||
|
packages/fcl-net/tests/tresolvertests.pp svneol=native#text/plain
|
||||||
packages/fcl-passrc/Makefile svneol=native#text/plain
|
packages/fcl-passrc/Makefile svneol=native#text/plain
|
||||||
packages/fcl-passrc/Makefile.fpc svneol=native#text/plain
|
packages/fcl-passrc/Makefile.fpc svneol=native#text/plain
|
||||||
packages/fcl-passrc/Makefile.fpc.fpcmake svneol=native#text/plain
|
packages/fcl-passrc/Makefile.fpc.fpcmake svneol=native#text/plain
|
||||||
|
File diff suppressed because it is too large
Load Diff
4615
packages/fcl-net/tests/netdbtest.pp
Normal file
4615
packages/fcl-net/tests/netdbtest.pp
Normal file
File diff suppressed because it is too large
Load Diff
28
packages/fcl-net/tests/tresolvertests.pp
Normal file
28
packages/fcl-net/tests/tresolvertests.pp
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
program tresolvertests;
|
||||||
|
|
||||||
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
|
uses
|
||||||
|
Classes, consoletestrunner, netdbtest;
|
||||||
|
|
||||||
|
type
|
||||||
|
|
||||||
|
{ TMyTestRunner }
|
||||||
|
|
||||||
|
TMyTestRunner = class(TTestRunner)
|
||||||
|
protected
|
||||||
|
// override the protected methods of TTestRunner to customize its behavior
|
||||||
|
end;
|
||||||
|
|
||||||
|
var
|
||||||
|
Application: TMyTestRunner;
|
||||||
|
|
||||||
|
begin
|
||||||
|
DefaultFormat:=fPlain;
|
||||||
|
DefaultRunAllTests:=True;
|
||||||
|
Application := TMyTestRunner.Create(nil);
|
||||||
|
Application.Initialize;
|
||||||
|
Application.Title:='resolvertests';
|
||||||
|
Application.Run;
|
||||||
|
Application.Free;
|
||||||
|
end.
|
@ -2423,7 +2423,7 @@ LOGEXT=.testlog .tbslog .tbflog .webtbslog .webtbflog
|
|||||||
TESTUNITDIRS=system dos crt objects strings sysutils math sharemem strutils matrix lineinfo ucomplex fpwidestring cpu fmtbcd windows classes character dateutil fpcunit softfpu variants sortbase sortalgs linux unixutil types nullable
|
TESTUNITDIRS=system dos crt objects strings sysutils math sharemem strutils matrix lineinfo ucomplex fpwidestring cpu fmtbcd windows classes character dateutil fpcunit softfpu variants sortbase sortalgs linux unixutil types nullable
|
||||||
TESTDIRECTDIRS=
|
TESTDIRECTDIRS=
|
||||||
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
|
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
|
||||||
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2
|
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2 fcl-net
|
||||||
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
|
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
|
||||||
TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry
|
TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry
|
||||||
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
|
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
|
||||||
|
@ -162,7 +162,7 @@ LOGEXT=.testlog .tbslog .tbflog .webtbslog .webtbflog
|
|||||||
TESTUNITDIRS=system dos crt objects strings sysutils math sharemem strutils matrix lineinfo ucomplex fpwidestring cpu fmtbcd windows classes character dateutil fpcunit softfpu variants sortbase sortalgs linux unixutil types nullable
|
TESTUNITDIRS=system dos crt objects strings sysutils math sharemem strutils matrix lineinfo ucomplex fpwidestring cpu fmtbcd windows classes character dateutil fpcunit softfpu variants sortbase sortalgs linux unixutil types nullable
|
||||||
TESTDIRECTDIRS=
|
TESTDIRECTDIRS=
|
||||||
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
|
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
|
||||||
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2
|
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2 fcl-net
|
||||||
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
|
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
|
||||||
TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry
|
TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry
|
||||||
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
|
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
|
||||||
|
Loading…
Reference in New Issue
Block a user