Esempio n. 1
0
    public void relayUnknownPreservedAsBase(IRelayPrx r, Current current)
    {
        IRelayPrx p = current.Connection.CreateProxy(r.Identity, IRelayPrx.Factory);

        p.unknownPreservedAsBase();
        test(false);
    }
Esempio n. 2
0
    public void relayUnknownPreservedAsBase(IRelayPrx r, Ice.Current current)
    {
        IRelayPrx p = IRelayPrx.UncheckedCast(current.Connection.createProxy(r.Identity));

        p.unknownPreservedAsBase();
        test(false);
    }
Esempio n. 3
0
File: TestAMDI.cs Progetto: yzun/ice
    relayUnknownPreservedAsBaseAsync(IRelayPrx r, Ice.Current current)
    {
        IRelayPrx p = current.Connection.CreateProxy(r.Identity, IRelayPrx.Factory);

        p.unknownPreservedAsBase();
        test(false);
        return(null);
    }
Esempio n. 4
0
    public void relayUnknownPreservedAsBase(IRelayPrx?r, Current current)
    {
        TestHelper.Assert(r != null);
        IRelayPrx p = current.Connection !.CreateProxy(r.Identity, IRelayPrx.Factory);

        try
        {
            p.unknownPreservedAsBase();
        }
        catch (RemoteException ex)
        {
            TestHelper.Assert(ex.ConvertToUnhandled);
            ex.ConvertToUnhandled = false;
            throw;
        }
        TestHelper.Assert(false);
    }
Esempio n. 5
0
    public void relayUnknownPreservedAsBase(IRelayPrx?r, Current current)
    {
        TestHelper.Assert(r != null);
        IRelayPrx p = r.Clone(fixedConnection: current.Connection);

        try
        {
            p.unknownPreservedAsBase();
        }
        catch (RemoteException ex)
        {
            TestHelper.Assert(ex.ConvertToUnhandled);
            ex.ConvertToUnhandled = false;
            throw;
        }
        TestHelper.Assert(false);
    }
Esempio n. 6
0
    relayUnknownPreservedAsBaseAsync(IRelayPrx?r, Current current)
    {
        TestHelper.Assert(r != null);
        IRelayPrx p = r.Clone(fixedConnection: current.Connection);

        try
        {
            p.unknownPreservedAsBase();
        }
        catch (RemoteException ex)
        {
            TestHelper.Assert(ex.ConvertToUnhandled);
            ex.ConvertToUnhandled = false;
            throw;
        }
        TestHelper.Assert(false);
        return(new ValueTask(Task.CompletedTask));
    }
Esempio n. 7
0
    relayUnknownPreservedAsBaseAsync(IRelayPrx?r, Ice.Current current)
    {
        Debug.Assert(r != null);
        IRelayPrx p = current.Connection.CreateProxy(r.Identity, IRelayPrx.Factory);

        try
        {
            p.unknownPreservedAsBase();
        }
        catch (RemoteException ex)
        {
            test(ex.ConvertToUnhandled);
            ex.ConvertToUnhandled = false;
            throw;
        }
        test(false);
        return(new ValueTask(Task.CompletedTask));
    }