コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 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);
 }
コード例 #4
0
 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);
 }
コード例 #5
0
 public void SaveTo_BlankGUID()
 {
     FakeLayoutDatabase layout = new FakeLayoutDatabase("");
     layout.SaveTo ();
 }
コード例 #6
0
        public void  SaveTo_BlankGUID()
        {
            FakeLayoutDatabase layout = new FakeLayoutDatabase("");

            layout.SaveTo();
        }