示例#1
0
        public void TestBaseTypeNonSerializableParam()
        {
            TestSerializableClassCImpl arg = new TestSerializableClassCImpl();

            arg.Msg = "test";
            TestSerializableClassC result = m_testService.TestEchoSerializableC(arg);

            Assertion.AssertEquals(arg.Msg, result.Msg);
            // check method implementation called
            Assertion.AssertEquals(result.Msg, result.Format());
        }
示例#2
0
 public TestSerializableClassC TestEchoSerializableC(TestSerializableClassC arg) {
     return arg;
 }
示例#3
0
 public TestSerializableClassC TestEchoSerializableC(TestSerializableClassC arg)
 {
     return(arg);
 }
示例#4
0
 public void TestBaseTypeNonSerializableParam() {
     TestSerializableClassC arg = new TestSerializableClassC();
     arg.Msg = "test";
     TestSerializableClassC result = m_testService.TestEchoSerializableC(arg);
     Assert.AreEqual(arg.Msg, result.Msg);
 }
示例#5
0
 public void TestNonSerilizableFormalParam() {
     TestNonSerializableBaseClass arg = new TestSerializableClassC();
     TestNonSerializableBaseClass result = m_testService.TestAbstractValueTypeEcho(arg);
     Assert.AreEqual(typeof(TestSerializableClassC), result.GetType());
 }