コード例 #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();
 }
コード例 #2
0
ファイル: TestAMDI.cs プロジェクト: Crysty-Yui/ice
 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();
 }