mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2026-03-23 07:16:17 +00:00
Bidouille pour compat bookmarks, à revoir
This commit is contained in:
parent
f4deb95771
commit
851ad3e4af
5 changed files with 40 additions and 16 deletions
|
|
@ -1,6 +1,7 @@
|
|||
using AideDeJeu.ViewModels;
|
||||
using AideDeJeuLib;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AideDeJeuUnitTest
|
||||
|
|
@ -11,8 +12,9 @@ namespace AideDeJeuUnitTest
|
|||
[TestMethod]
|
||||
public async Task TestMethod1()
|
||||
{
|
||||
var allItems = new Dictionary<string, Item>();
|
||||
var store = new StoreViewModel();
|
||||
var item = store.ToItem(null, AideDeJeu.Tools.Helpers.GetResourceString($"AideDeJeu.Data.sandbox.md"));
|
||||
var item = store.ToItem(null, AideDeJeu.Tools.Helpers.GetResourceString($"AideDeJeu.Data.sandbox.md"), allItems);
|
||||
var md = item.Markdown;
|
||||
var children = await item.GetChildrenAsync();
|
||||
foreach(var iitem in children)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue