Пример #1
0
 public override void checkPBSUnknown2WithGraph_async(AMD_TestIntf_checkPBSUnknown2WithGraph cb, Preserved p,
                                                      Ice.Current current)
 {
     if (current.encoding.Equals(Ice.Util.Encoding_1_0))
     {
         test(!(p is PSUnknown2));
         test(p.pi == 5);
         test(p.ps.Equals("preserved"));
     }
     else
     {
         PSUnknown2 pu = p as PSUnknown2;
         test(pu.pi == 5);
         test(pu.ps.Equals("preserved"));
         test(pu.pb == pu);
         pu.pb = null; // Break the cycle.
     }
     cb.ice_response();
 }
Пример #2
0
 public override void checkPBSUnknown2WithGraph_async(AMD_TestIntf_checkPBSUnknown2WithGraph cb, Preserved p,
                                                      Ice.Current current)
 {
     if(current.encoding.Equals(Ice.Util.Encoding_1_0))
     {
         test(!(p is PSUnknown2));
         test(p.pi == 5);
         test(p.ps.Equals("preserved"));
     }
     else
     {
         PSUnknown2 pu = p as PSUnknown2;
         test(pu.pi == 5);
         test(pu.ps.Equals("preserved"));
         test(pu.pb == pu);
         pu.pb = null; // Break the cycle.
     }
     cb.ice_response();
 }