Пример #1
0
        public void TestCheckValidVariables01()
        {
            string statement = string.Empty;
            string str       = TrendViewerHelper.CheckValidVariables(statement);

            statement = "aaa";
            str       = TrendViewerHelper.CheckValidVariables(statement);

            statement = "a::b";
            str       = TrendViewerHelper.CheckValidVariables(statement);
            statement = "::a::b";
            str       = TrendViewerHelper.CheckValidVariables(statement);
            statement = "::a";
            str       = TrendViewerHelper.CheckValidVariables(statement);
        }
Пример #2
0
 public void TestCheckValidVariables02()
 {
     string statement = "::a";
     string str       = TrendViewerHelper.CheckValidVariables(statement);
     //for exception caught:
 }