Settings.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using Microsoft.CmdPal.Ext.Bookmarks.Persistence;
 6  
 7  namespace Microsoft.CmdPal.Ext.Bookmarks.UnitTests;
 8  
 9  public static class Settings
10  {
11      public static BookmarksData CreateDefaultBookmarks()
12      {
13          var bookmarks = new BookmarksData();
14  
15          // Add some test bookmarks
16          bookmarks.Data.Add(new BookmarkData
17          {
18              Name = "Microsoft",
19              Bookmark = "https://www.microsoft.com",
20          });
21  
22          bookmarks.Data.Add(new BookmarkData
23          {
24              Name = "GitHub",
25              Bookmark = "https://github.com",
26          });
27  
28          return bookmarks;
29      }
30  }