Ejemplo n.º 1
0
        private void rootMailboxFolderToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var propObject          = new NameIdMap(_pst.DatabaseAccessor);
            var namedPropertiesForm = new NamedPropertiesForm(propObject);

            namedPropertiesForm.ShowDialog(this);
        }
Ejemplo n.º 2
0
        public void PropertyCountTest()
        {
            IDBAccessor database = null;                    // TODO: Initialize to an appropriate value
            NameIdMap   target   = new NameIdMap(database); // TODO: Initialize to an appropriate value
            int         actual;

            actual = target.PropertyCount;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Ejemplo n.º 3
0
        public void NamedPropertiesTest()
        {
            IDBAccessor database = null;                    // TODO: Initialize to an appropriate value
            NameIdMap   target   = new NameIdMap(database); // TODO: Initialize to an appropriate value
            IEnumerable <INamedProperty> actual;

            actual = target.NamedProperties;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Ejemplo n.º 4
0
        public void PropertyExistsTest()
        {
            IDBAccessor database = null;                    // TODO: Initialize to an appropriate value
            NameIdMap   target   = new NameIdMap(database); // TODO: Initialize to an appropriate value
            PropId      id       = new PropId();            // TODO: Initialize to an appropriate value
            bool        expected = false;                   // TODO: Initialize to an appropriate value
            bool        actual;

            actual = target.PropertyExists(id);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Ejemplo n.º 5
0
        public void LookupTest1()
        {
            IDBAccessor    database      = null;                    // TODO: Initialize to an appropriate value
            NameIdMap      target        = new NameIdMap(database); // TODO: Initialize to an appropriate value
            INamedProperty namedProperty = null;                    // TODO: Initialize to an appropriate value
            PropId         expected      = new PropId();            // TODO: Initialize to an appropriate value
            PropId         actual;

            actual = target.Lookup(namedProperty);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Ejemplo n.º 6
0
        public void NameExistsTest()
        {
            IDBAccessor database = null;                    // TODO: Initialize to an appropriate value
            NameIdMap   target   = new NameIdMap(database); // TODO: Initialize to an appropriate value
            Guid        guid     = new Guid();              // TODO: Initialize to an appropriate value
            string      name     = string.Empty;            // TODO: Initialize to an appropriate value
            bool        expected = false;                   // TODO: Initialize to an appropriate value
            bool        actual;

            actual = target.NameExists(guid, name);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Ejemplo n.º 7
0
        public NamedPropertiesForm(NameIdMap nameIdMap)
        {
            InitializeComponent();

            _nameIdMap = nameIdMap;
        }