Mercurial > hg > orthanc
comparison UnitTestsSources/UnitTestsMain.cpp @ 2933:4a38d7d4f0e0
new class: OrthancConfiguration
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 27 Nov 2018 17:08:48 +0100 |
parents | 0a4428aad512 |
children | db8f360fcb41 |
comparison
equal
deleted
inserted
replaced
2931:89f2c302fc37 | 2933:4a38d7d4f0e0 |
---|---|
497 ASSERT_EQ("Helloworld", Toolbox::ConvertToAscii("Hello\r\tworld")); | 497 ASSERT_EQ("Helloworld", Toolbox::ConvertToAscii("Hello\r\tworld")); |
498 } | 498 } |
499 | 499 |
500 | 500 |
501 #if defined(__linux__) | 501 #if defined(__linux__) |
502 TEST(OrthancInitialization, AbsoluteDirectory) | 502 TEST(Toolbox, AbsoluteDirectory) |
503 { | 503 { |
504 ASSERT_EQ("/tmp/hello", Configuration::InterpretRelativePath("/tmp", "hello")); | 504 ASSERT_EQ("/tmp/hello", SystemToolbox::InterpretRelativePath("/tmp", "hello")); |
505 ASSERT_EQ("/tmp", Configuration::InterpretRelativePath("/tmp", "/tmp")); | 505 ASSERT_EQ("/tmp", SystemToolbox::InterpretRelativePath("/tmp", "/tmp")); |
506 } | 506 } |
507 #endif | 507 #endif |
508 | 508 |
509 | 509 |
510 | 510 |