示例#1
0
        public void testGetTrackings_F()
        {
            ParametersTracking param5 = new ParametersTracking();
            param5.addField(FieldTracking.tracking_number);
            //param5.setLimit(50);

            List<Tracking> totalOutDelivery3 = connection.getTrackings(param5);
            Assert.AreEqual(null, totalOutDelivery3[0].title);
        }
示例#2
0
        public void testGetTrackings_G()
        {
            ParametersTracking param6 = new ParametersTracking();
            param6.addField(FieldTracking.tracking_number);
            param6.addField(FieldTracking.title);
            param6.addField(FieldTracking.checkpoints);
            param6.addField(FieldTracking.order_id);
            param6.addField(FieldTracking.tag);
            param6.addField(FieldTracking.order_id);
            //param6.setLimit(50);

            List<Tracking> totalOutDelivery4 = connection.getTrackings(param6);
            Assert.AreEqual(null, totalOutDelivery4[0].slug);
        }
示例#3
0
        public void testGetTrackings_E()
        {
            ParametersTracking param4 = new ParametersTracking();
            param4.keyword = "title";
            param4.addField(FieldTracking.title);
            param4.limit = 50;

            List<Tracking> totalOutDelivery2 = connection.getTrackings(param4);
            //  Assert.AreEqual( 2, totalOutDelivery2.Count);
            Assert.AreEqual("this title", totalOutDelivery2[0].title);
        }