public void RepairDatabaseControlInfo() { if (!TestHelper.GetDlcPath(out string dlcPath)) { return; } var ope = new UoeDatabaseOperator(dlcPath); var tgtDb = GetDb("repair"); ope.Create(tgtDb); Assert.IsTrue(tgtDb.Exists()); var stPath = Path.Combine(TestFolder, "repair.st"); File.WriteAllText(stPath, $"b .\nd \"Schema Area\" \"{TestFolder}\""); ope.RepairDatabaseControlInfo(tgtDb); File.WriteAllText(stPath, "b .\nd \"Schema Area\" ."); File.Delete(tgtDb.FullPath); ope.RepairDatabaseControlInfo(tgtDb); tgtDb.ThrowIfNotExist(); }