示例#1
0
        public void IsNamedDefined_ExistingName_True()
        {
            OpenTsdbFactory.Instance(TsdbOptions.New("http://localhost"), "test");

            Assert.IsTrue(OpenTsdbFactory.IsInstanceDefined("test"));
        }
示例#2
0
 public void IsNamedDefined_NonExistingName_False()
 {
     Assert.IsFalse(OpenTsdbFactory.IsInstanceDefined("test"));
 }
示例#3
0
 public void IsNamedDefined_InvalidName_False(string nameInput)
 {
     Assert.IsFalse(OpenTsdbFactory.IsInstanceDefined(nameInput));
 }