Mercurial > hg > orthanc
comparison UnitTestsSources/RestApiTests.cpp @ 2187:ad72fbd700b7
move of third party downloads to the main server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 29 Nov 2016 12:28:09 +0100 |
parents | fd5875662670 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2186:8b51b133bb8b | 2187:ad72fbd700b7 |
---|---|
64 c.SetVerbose(false); | 64 c.SetVerbose(false); |
65 ASSERT_FALSE(c.IsVerbose()); | 65 ASSERT_FALSE(c.IsVerbose()); |
66 | 66 |
67 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1 | 67 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1 |
68 Json::Value v; | 68 Json::Value v; |
69 c.SetUrl("http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/Configuration.json"); | 69 c.SetUrl("http://www.orthanc-server.com/downloads/third-party/Product.json"); |
70 c.Apply(v); | 70 c.Apply(v); |
71 ASSERT_TRUE(v.isMember("StorageDirectory")); | 71 ASSERT_TRUE(v.type() == Json::objectValue); |
72 ASSERT_TRUE(v.isMember("Description")); | |
72 #endif | 73 #endif |
73 } | 74 } |
74 | 75 |
75 | 76 |
76 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1 && ORTHANC_ENABLE_SSL == 1 | 77 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1 && ORTHANC_ENABLE_SSL == 1 |