.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@10001 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-07-03 08:38:33 +00:00
parent cc063f6738
commit ea8e8d71c6
2 changed files with 4 additions and 4 deletions

View file

@ -59,7 +59,9 @@ void CheckType(const T& x, bool checkhash = false)
Value tt = x;
bool isvoid = tt.IsVoid();
if(!isvoid) {
fn = ConfigFile(AsString(tt.GetType()) + ":" + AsString(x));
fn = ConfigFile(AsString(tt.GetType()) + "#"
+ Filter(AsString(x), [](int c) { return IsAlNum(c) ? c : 0; }));
DDUMP(fn);
if(FileExists(fn)) {
LoadFromFile(vf, fn);
if(IsValueMap(tt)) {

View file

@ -1,7 +1,5 @@
description "Value unit testing\377";
optimize_speed;
uses
Core,
Painter,
@ -12,7 +10,7 @@ file
SvoValue2.cpp,
Checks.cpp,
Raw.cpp,
SvoValue.cpp optimize_speed;
SvoValue.cpp;
mainconfig
"" = "";