Exemple #1
0
 public override void checkPBSUnknown_async(AMD_TestIntf_checkPBSUnknown cb, Preserved p, Ice.Current current)
 {
     if (current.encoding.Equals(Ice.Util.Encoding_1_0))
     {
         test(!(p is PSUnknown));
         test(p.pi == 5);
         test(p.ps.Equals("preserved"));
     }
     else
     {
         PSUnknown pu = p as PSUnknown;
         test(pu.pi == 5);
         test(pu.ps.Equals("preserved"));
         test(pu.psu.Equals("unknown"));
         test(pu.graph == null);
         test(pu.cl != null && pu.cl.i == 15);
     }
     cb.ice_response();
 }
Exemple #2
0
 public override void checkPBSUnknown_async(AMD_TestIntf_checkPBSUnknown cb, Preserved p, Ice.Current current)
 {
     if(current.encoding.Equals(Ice.Util.Encoding_1_0))
     {
         test(!(p is PSUnknown));
         test(p.pi == 5);
         test(p.ps.Equals("preserved"));
     }
     else
     {
         PSUnknown pu = p as PSUnknown;
         test(pu.pi == 5);
         test(pu.ps.Equals("preserved"));
         test(pu.psu.Equals("unknown"));
         test(pu.graph == null);
         test(pu.cl != null && pu.cl.i == 15);
     }
     cb.ice_response();
 }