예제 #1
0
        public void addTest(OgnlTestCase testCase)
        {
            if (cases == null)
            {
                cases = new ArrayList();
            }

            cases.Add(testCase);
        }
예제 #2
0
        public override bool Equals(object other)
        {
            bool result = false;

            if (other is Simple)
            {
                Simple os = (Simple)other;

                result = OgnlTestCase.isEqual(os.getStringValue(), getStringValue()) && (os.getIntValue() == getIntValue());
            }
            return(result);
        }