Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added unit tests to connect to a SSL server with a valid certificate.
[xestiacalendar/.git]
/
source
/
tests
/
xestiacalendar_caldav.h
diff --git
a/source/tests/xestiacalendar_caldav.h
b/source/tests/xestiacalendar_caldav.h
index
fbb8968
..
a8e0aee
100644
(file)
--- a/
source/tests/xestiacalendar_caldav.h
+++ b/
source/tests/xestiacalendar_caldav.h
@@
-201,6
+201,12
@@
TEST(CalDAV, BasicTests){
// Verify that the connection was successful (with a valid
// SSL certificate).
// Verify that the connection was successful (with a valid
// SSL certificate).
+ ConnResult = CalDAVNormal.Connect();
+
+ ASSERT_EQ(CALDAVQUERYRESULT_OK, ConnResult.Result);
+ ASSERT_EQ(200, ConnResult.HTTPCode);
+ ASSERT_EQ(CURLE_OK, ConnResult.Code);
+
// (*nix version) Setup an initial connection on a server that
// will fail due to having an invalid SSL certificate.
// (*nix version) Setup an initial connection on a server that
// will fail due to having an invalid SSL certificate.
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy