Robert Shearman
8bfc85957a
wininet: More tests for InternetCreateUrl.
...
Fix an InternetCreateUrl test so that it correctly sets the scheme
length and add tests which show the behaviour when the lengths are set
to zero and when the https scheme is used.
2006-03-06 20:00:08 +01:00
Dmitry Timoshkov
03434c728e
wininet: Fix InternetQueryOption test to pass under Windows.
2006-02-06 20:59:21 +01:00
Vijay Kiran Kamuju
7660614b0d
wininet: Add tests for InternetQueryOption.
2006-02-06 14:12:22 +01:00
Eric Pouech
e66e227dbe
Fixes for missing prototypes warnings.
2006-02-06 13:13:28 +01:00
Aric Stewart
1e946d3e14
wininet: HTTP headers reworking.
...
Redo how headers are handled, eliminating the concept of Standard
Headers and allow all headers to be added multiple times.
Allow querying of headers with an index to get the multiple headers.
Respect response vs request headers in HttpQueryInfo.
Add a number of tests to extensively test header adding and replacing.
2005-12-13 17:07:41 +01:00
Robert Shearman
03aea8c1b1
Test the behaviour of HttpSendRequestEx when putting data into the
...
lpvBuffer.
2005-11-30 12:31:38 +01:00
Robert Shearman
4350357634
HttpSendRequestExA/W doesn't touch lpBuffersIn->Next, so simplify the
...
code a bit.
Modify test case to demonstrate this.
2005-11-29 11:42:23 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Francois Gouget
6d442aeb34
Assorted spelling fixes.
2005-11-23 20:14:43 +01:00
Aric Stewart
9e68c651d6
Fix some logic to allow HTTP_ADDREQ_FLAG_ADD to replace existing
...
headers. Also adding a test for some header adding flags.
2005-11-22 14:53:30 +00:00
Robert Shearman
dece43d880
Test the sizes of some of the parameters passed into the callback.
2005-11-22 11:59:16 +00:00
Aric Stewart
be918f48b6
Implement HttpSendRequestEx and HttpEndRequest. Restructure, breaking
...
some things out of HTTP_SendRequestW to avoid duplicate code.
2005-11-21 15:17:55 +00:00
Robert Shearman
f5af18f05f
- Improve callback to give context sensitive information about the
...
different statuses and print the thread ID that it was called from.
- Replace the busy waiting on the "goon" flag with an event.
- Replace hard coded numbers with more informative constants
throughout the InternetReadFile test.
- Add tests for InternetReadFileExA.
- Fix the error value from calling InternetReadFile with a NULL handle
as indicated by the test.
2005-11-16 11:21:41 +00:00
Saulius Krasuckas
bc52612f77
Fix a test for InternetCreateUrlA as no Windows platform sets last
...
error here. Make InternetCreateUrlA pass the test.
2005-11-14 11:23:02 +00:00
James Hawkins
1928ee8804
Implement InternetCreateUrlW and test cases.
2005-10-31 14:06:35 +00:00
Vincent Béron
a0c185ee1b
Cast the result of strlen() to DWORD and print it via %ld to get rid
...
of warnings with gcc 3.2.
2005-09-29 10:33:20 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Saulius Krasuckas
69cf6a28f5
Correct failing test and transform it into a bunch of another tests.
2005-08-17 09:53:57 +00:00
Saulius Krasuckas
43e93117e3
Move repetitive code to two helper functions.
2005-08-16 15:56:42 +00:00
Francois Gouget
bcd56fe0e5
Assorted spelling fixes.
2005-08-12 18:22:06 +00:00
Mike McCormack
b8fc783be2
Avoid warnings in generated tests by casting sizeof(x) to an int.
2005-07-03 11:23:30 +00:00
Alexandre Julliard
9c80ef3d85
Added missing LGPL header.
2005-06-30 20:49:27 +00:00
Mike McCormack
9b95bb526d
Fix some warnings.
2005-06-13 19:05:42 +00:00
Uwe Bonnes
29db8816b2
Handle more Escape situations.
2005-05-24 11:43:35 +00:00
Jason Edmeades
2f30d307df
Ensure A->W version of InternetCrackURL passes correct length values,
...
and associated tests.
2005-04-11 16:10:50 +00:00
Jakob Eriksson
461c830745
Eliminate HeapAlloc casts.
2005-03-22 18:26:06 +00:00
Hans Leidekker
e82731a3c7
Add more tests and fix InternetTimeToSystemTimeW accordingly.
2005-03-17 18:55:41 +00:00
Jakob Eriksson
b9fddc05de
Test failed before on 98, NT4, 2000 and XP.
2005-03-16 20:17:31 +00:00
Hans Leidekker
e9856f166b
Implement and test InternetTime{From,To}SystemTime{A,W}.
...
Correct spelling in InternetCheckConnectionA.
2005-01-18 11:43:40 +00:00
Rein Klazes
3714a39867
Correct cases where arguments of ok() calls depend on the order in
...
which they are evaluated.
2004-12-27 17:26:37 +00:00
Jakob Eriksson
2d54019bbd
Supposedly fix http test on Windows.
2004-10-28 21:01:04 +00:00
Robert Shearman
12df80a748
- Don't crash on double InternetCloseHandle.
...
- Test case for this.
2004-09-23 22:53:04 +00:00
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Francois Gouget
20b8b56d5f
Enable the disabled tests in tests.data or add a comment describing
...
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget
0cc262c5bf
Fix compilation of the wininet generated tests with the Windows
...
headers.
2004-08-13 23:19:37 +00:00
Mike McCormack
c62317989a
Add another test for InternetCrackUrlW.
2004-08-06 18:58:04 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Francois Gouget
72323cb6a9
Add trailing '\n's to ok() calls.
...
Fix a couple of spelling errors.
2004-01-23 22:44:26 +00:00
Sylvain Petreolle
a53c884986
winehq.com -> winehq.org
2004-01-23 20:49:05 +00:00
Francois Gouget
7494b5b980
Add trailing '\n's to ok() calls.
...
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Mike Hearn
f3957f52cd
Change URL used in http tests to be a #define so it can be changed
...
easily in future, and make it point to winehq.
2004-01-16 02:03:16 +00:00
Alexandre Julliard
b83789fdc3
Updated some of the generated tests.
2003-10-24 04:45:35 +00:00
Jon Griffiths
90535ce905
Various test fixes for XP/msvc.
2003-09-25 20:29:40 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
d8c5f2bd4b
Use trace() instead of printf().
2003-07-22 03:16:47 +00:00
Uwe Bonnes
1cd00dae50
InternetOpenUrlA (http/s case): Use client for HttpOpenRequestA, don't
...
insert HOST: twice.
HttpAddRequestHeadersA: allow lpszHeader == NULL.
2003-02-25 03:57:59 +00:00
Alexandre Julliard
3121fdac41
Fixed warnings.
2002-12-17 21:03:33 +00:00
Alexandre Julliard
ba2f2acc86
Fixed the list of accepted types passed to HttpOpenRequestA.
2002-12-06 23:21:35 +00:00
Patrik Stridvall
9398d9c129
Updated the generated tests.
2002-11-12 01:13:10 +00:00
Patrik Stridvall
fc832f0fcf
Fixed tests to compile with MS C on Windows.
2002-10-29 21:24:35 +00:00
Patrik Stridvall
137fa2be84
Fixed test to not fail behind firewalls or without an internet
...
connection.
2002-10-09 18:12:20 +00:00
Francois Gouget
5e5f7bbb02
Change the #include order so that these tests compile on Windows.
2002-09-17 00:04:35 +00:00
Alexandre Julliard
edeee89c3e
Create separate makefiles for tests for more flexibility.
2002-08-09 01:22:40 +00:00
Aric Stewart
ff9b9d4ef8
Reworking of http and asyncronous calls to get IE6 to install.
...
Added a version resource.
Added unit test for http.
2002-06-21 23:59:49 +00:00