Mercurial > hg > orthanc
comparison UnitTests/main.cpp @ 429:09b3c6265a94
unit test for fedora 18 problem
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 08 May 2013 15:13:01 +0200 |
parents | d2c69150a979 |
children | f746592d8301 |
comparison
equal
deleted
inserted
replaced
428:6f00823be12a | 429:09b3c6265a94 |
---|---|
333 Toolbox::UrlDecode(s); | 333 Toolbox::UrlDecode(s); |
334 ASSERT_EQ("(2000,00A4) Other", s); | 334 ASSERT_EQ("(2000,00A4) Other", s); |
335 } | 335 } |
336 | 336 |
337 | 337 |
338 #if defined(__linux) | |
339 TEST(OrthancInitialization, AbsoluteDirectory) | |
340 { | |
341 ASSERT_EQ("/tmp/coucou", InterpretRelativePath("/tmp", "coucou")); | |
342 } | |
343 #endif | |
344 | |
345 | |
338 int main(int argc, char **argv) | 346 int main(int argc, char **argv) |
339 { | 347 { |
340 // Initialize Google's logging library. | 348 // Initialize Google's logging library. |
341 FLAGS_logtostderr = true; | 349 FLAGS_logtostderr = true; |
342 FLAGS_minloglevel = 0; | 350 FLAGS_minloglevel = 0; |