comparison UnitTestsSources/ServerIndexTests.cpp @ 803:4689e400e0fa

directory to store the results of the unit tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 May 2014 09:29:11 +0200
parents c60743fadd4e
children 3d6f9b7d0add
comparison
equal deleted inserted replaced
802:82b07ab959f4 803:4689e400e0fa
521 521
522 522
523 523
524 TEST(ServerIndex, AttachmentRecycling) 524 TEST(ServerIndex, AttachmentRecycling)
525 { 525 {
526 const std::string path = "OrthancStorageUnitTests"; 526 const std::string path = "UnitTestsStorage";
527 Toolbox::RemoveFile(path + "/index"); 527 Toolbox::RemoveFile(path + "/index");
528 ServerContext context(path, ":memory:"); // The SQLite DB is in memory 528 ServerContext context(path, ":memory:"); // The SQLite DB is in memory
529 ServerIndex& index = context.GetIndex(); 529 ServerIndex& index = context.GetIndex();
530 530
531 index.SetMaximumStorageSize(10); 531 index.SetMaximumStorageSize(10);