Ejemplo n.º 1
0
 public override void checkPBSUnknownWithGraph_async(AMD_TestIntf_checkPBSUnknownWithGraph 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 != pu.graph.next);
         test(pu.graph.next != pu.graph.next.next);
         test(pu.graph.next.next.next == pu.graph);
         pu.graph.next.next.next = null;          // Break the cycle.
     }
     cb.ice_response();
 }
Ejemplo n.º 2
0
 public override void checkPBSUnknownWithGraph_async(AMD_TestIntf_checkPBSUnknownWithGraph 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 != pu.graph.next);
         test(pu.graph.next != pu.graph.next.next);
         test(pu.graph.next.next.next == pu.graph);
         pu.graph.next.next.next = null;          // Break the cycle.
     }
     cb.ice_response();
 }