public void TestAddToStart() { _TestSingleTon.Instance._SetupForLayoutPanelTests(); FakeLayoutDatabase layout = new FakeLayoutDatabase("DeleteMe"); // LayoutPanel layoutPanel = new LayoutPanel (CoreUtilities.Constants.BLANK, false); layout.SaveTo(); NoteDataXML test = new NoteDataXML(); test.GuidForNote = CoreUtilities.Links.LinkTable.STICKY_TABLE; layout.AddToStart(test); }
public void TestInvalidAddToStart() { _TestSingleTon.Instance._SetupForLayoutPanelTests(); FakeLayoutDatabase layout = new FakeLayoutDatabase("DeleteMe"); //LayoutPanel layoutPanel = new LayoutPanel (CoreUtilities.Constants.BLANK, false); //layoutPanel.NewLayout("testguid", true, null); layout.SaveTo(); NoteDataXML test = new NoteDataXML(); test.GuidForNote = "boo"; layout.AddToStart(test); }
public void TestInvalidAddToStart() { _TestSingleTon.Instance._SetupForLayoutPanelTests(); FakeLayoutDatabase layout = new FakeLayoutDatabase ("DeleteMe"); //LayoutPanel layoutPanel = new LayoutPanel (CoreUtilities.Constants.BLANK, false); //layoutPanel.NewLayout("testguid", true, null); layout.SaveTo (); NoteDataXML test = new NoteDataXML(); test.GuidForNote = "boo"; layout.AddToStart(test); }
public void TestAddToStart() { _TestSingleTon.Instance._SetupForLayoutPanelTests(); FakeLayoutDatabase layout = new FakeLayoutDatabase ("DeleteMe"); // LayoutPanel layoutPanel = new LayoutPanel (CoreUtilities.Constants.BLANK, false); layout.SaveTo (); NoteDataXML test = new NoteDataXML(); test.GuidForNote = CoreUtilities.Links.LinkTable.STICKY_TABLE; layout.AddToStart(test); }
public void SaveTo_BlankGUID() { FakeLayoutDatabase layout = new FakeLayoutDatabase(""); layout.SaveTo (); }
public void SaveTo_BlankGUID() { FakeLayoutDatabase layout = new FakeLayoutDatabase(""); layout.SaveTo(); }