aboutsummaryrefslogtreecommitdiff
path: root/c/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/test.cpp')
-rw-r--r--c/test.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/c/test.cpp b/c/test.cpp
index b8cf20a..92644ba 100644
--- a/c/test.cpp
+++ b/c/test.cpp
@@ -152,6 +152,21 @@ TESTS
}
//DeleteFile(L"tmp.dat");
}
+
+ // TEST(MigrateCfg)
+ // {
+ // FileView<CfgA> fva{L"cfga.dat", 1};
+ // FileView<CfgB> fvb = FileView<CfgB>::Initialized(L"cfgb.dat", 1);
+ // fvb->bViewWatched = fva->bViewWatched;
+ // fvb->bViewTVOriginal = fva->bViewTVOriginal;
+ // fvb->iSortCol = fva->iSortCol;
+ // fvb->iFocus = fva->iFocus;
+ // fvb->heightDlv = fva->heightDlv;
+ // Wcscpy(fvb->limitScreenwriter, fva->limitScreenwriter);
+ // Wcscpy(fvb->root, fva->root);
+ // Wcscpy(fvb->glob, fva->glob);
+ // Wcscpy(fvb->url, fva->url);
+ // }
};
int RunTests()
@@ -163,6 +178,7 @@ int RunTests()
IO{},
//MigrateElvDataFromPrologToDisk{},
SampleConfigurationToDisk{},
+ //MigrateCfg{}
};
printf("Results (%llu tests):\n", sizeof(tests)/sizeof(*tests));