// (*nix version) Setup an initial connection (with a valid
// SSL certificate).
+
+ CalDAV CalDAVNormal;
+ CalDAVNormal.SetupConnectionData(&ConnNormal);
+
+ // Verify that the settings match with the CalDAVConnectionData
+ // passed.
+
+ CalDAVStatus CalDAVNormalStatus = CalDAVNormal.GetConnectionData();
+ ASSERT_EQ(CalDAVNormalStatus.Hostname, ConnNormal.Hostname);
+ ASSERT_EQ(CalDAVNormalStatus.Username, ConnNormal.Username);
+ ASSERT_EQ(CalDAVNormalStatus.Port, ConnNormal.Port);
+ ASSERT_EQ(CalDAVNormalStatus.Prefix, ConnNormal.Prefix);
+ ASSERT_EQ(CalDAVNormalStatus.UseSSL, ConnNormal.UseSSL);
+
// Verify that the connection was successful (with a valid
// SSL certificate).