diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-17 18:23:06 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-17 18:23:06 +0200 |
commit | 853a598befbb8823c5868c792f51cda3466fada1 (patch) | |
tree | e9f90a29b74106119cb0da1043c91945bc6f4f3d /c/test.cpp | |
parent | 91f56e45665e0ae940553acc1d0013adec970712 (diff) | |
download | EpisodeBrowser-853a598befbb8823c5868c792f51cda3466fada1.tar.gz |
Add cEp to CfgA.
Diffstat (limited to 'c/test.cpp')
-rw-r--r-- | c/test.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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)); |