示例#1
0
        /// <summary> Runs the test.
        /// </summary>
        public virtual void  runTest()
        {
            /*
             *  simply log something and see if we get it.
             */

            logString = null;

            System.String testString = "This is a test.";

            ve.warn(testString);

            if (logString == null || !logString.Equals(VelocityEngine.WARN_PREFIX + testString))
            {
                fail("Didn't recieve log message.");
            }
        }