Mercurial > hg > orthanc
diff UnitTestsSources/ServerIndexTests.cpp @ 1134:ba9fd42284d0
preparing storage plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Sep 2014 12:53:49 +0200 |
parents | 790ff7a5b3bf |
children | 8f9d49192815 |
line wrap: on
line diff
--- a/UnitTestsSources/ServerIndexTests.cpp Tue Sep 09 10:45:14 2014 +0200 +++ b/UnitTestsSources/ServerIndexTests.cpp Tue Sep 09 12:53:49 2014 +0200 @@ -573,7 +573,8 @@ Toolbox::RemoveFile(path + "/index"); FilesystemStorage storage(path); - ServerContext context(storage, ":memory:"); // The SQLite DB is in memory + ServerContext context(":memory:"); // The SQLite DB is in memory + context.SetStorageArea(storage); ServerIndex& index = context.GetIndex(); index.SetMaximumStorageSize(10);