Mercurial > hg > orthanc
diff UnitTests/main.cpp @ 26:6ba765ecf3db
compiling openssl
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 28 Aug 2012 15:10:02 +0200 |
parents | 166664f0f860 |
children | 042ac60f5bf9 |
line wrap: on
line diff
--- a/UnitTests/main.cpp Tue Aug 28 11:20:49 2012 +0200 +++ b/UnitTests/main.cpp Tue Aug 28 15:10:02 2012 +0200 @@ -273,6 +273,14 @@ ASSERT_EQ("SGVsbG8gd29ybGQ=", Toolbox::EncodeBase64("Hello world")); } +TEST(tutu, tata) +{ + HttpClient c; + c.SetUrl("https://localhost:8000/instances"); + std::string s; + ASSERT_TRUE(c.Apply(s)); +} + int main(int argc, char **argv) {