示例#1
0
        public void Setup()
        {
            mocks   = new MockRepository();
            stream  = mocks.DynamicMock <XmppStream>();
            tracker = mocks.DynamicMock <IIQTracker>();
            doc     = new XmlDocument();

            jid = new JID("test.example.com");
        }
        public void setup()
        {
            mocks   = new MockRepository();
            stream  = mocks.DynamicMock <XmppStream>();
            tracker = mocks.DynamicMock <IIQTracker>();
            cm      = null;

            doc = new XmlDocument();
        }
        public void Setup()
        {
            mocks = new MockRepository();
            stream = mocks.DynamicMock<XmppStream>();
            tracker = mocks.DynamicMock<IIQTracker>();
            doc = new XmlDocument();

            jid = new JID("test.example.com");
        }
        public void setup()
        {
            mocks = new MockRepository();
            stream = mocks.DynamicMock<XmppStream>();
            tracker = mocks.DynamicMock<IIQTracker>();
            cm = null;

            doc = new XmlDocument();
        }
示例#5
0
        public void setup()
        {
            mocks = new MockRepository();
            dm    = new DiscoManager();

            stream    = mocks.DynamicMock <XmppStream>();
            tracker   = mocks.DynamicMock <IIQTracker>();
            dm.Stream = stream;

            doc = new XmlDocument();
        }
示例#6
0
        public void setup()
        {
            mocks = new MockRepository();
            dm = new DiscoManager();

            stream = mocks.DynamicMock<XmppStream>();
            tracker = mocks.DynamicMock<IIQTracker>();
            dm.Stream = stream;

            doc = new XmlDocument();
        }