Ejemplo n.º 1
0
        public void TestTypeOfValueTypePassed()
        {
            TestSerializableClassB2Impl arg = new TestSerializableClassB2Impl();

            arg.Msg = "msg";
            TestSerializableClassB2 result = m_test.TestChangeSerializableB2(arg, arg.DetailedMsg);

            Assertion.AssertEquals(result.Msg, arg.Msg);
        }
Ejemplo n.º 2
0
        public void TestValueTypeInheritance()
        {
            TestSerializableClassB2 arg = new TestSerializableClassB2Impl();

            arg.Msg = "msg";
            System.String           newDetail = "new detail";
            TestSerializableClassB2 result    = m_test.TestChangeSerializableB2(arg, newDetail);

            Assertion.AssertEquals(newDetail, result.DetailedMsg);
            Assertion.AssertEquals(arg.Msg, result.Msg);
        }