public void GetTerm() { if (!ContextSharePoint.VerifyServer(Site)) Assert.Inconclusive(); Taxonomy = new Taxonomy(this.Site, this.Logger, "Managed Metadata Service", "Test"); Assert.IsTrue(Taxonomy.GetAllTerms().Any()); Assert.IsTrue(Taxonomy.GetTerms("Test").Any()); Assert.IsTrue(Taxonomy.GetSubTerms("Test","Adrian").Count==0); }
public void AddTerm() { if (!ContextSharePoint.VerifyServer(Site)) Assert.Inconclusive(); Taxonomy = new Taxonomy(this.Site, this.Logger, "Managed Metadata Service","Test"); Assert.IsTrue(Taxonomy.AddTerms("Adrian")); }
public void AddGroupFail() { if (!ContextSharePoint.VerifyServer(Site)) Assert.Inconclusive(); Taxonomy = new Taxonomy(this.Site, this.Logger, string.Empty); Assert.IsFalse(Taxonomy.AddGroup("Test")); }