Class MediaTest


  • public class MediaTest
    extends TokenTest
    媒体上传下载测试
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    • Constructor Detail

      • MediaTest

        public MediaTest()
    • Method Detail

      • init

        public void init()
      • upload1

        public void upload1()
                     throws IOException,
                            com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        IOException
        com.foxinmy.weixin4j.exception.WeixinException
      • download1

        public void download1()
                       throws com.foxinmy.weixin4j.exception.WeixinException,
                              IOException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
        IOException
      • upload2

        public void upload2()
                     throws IOException,
                            com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        IOException
        com.foxinmy.weixin4j.exception.WeixinException
      • uploadMaterialVideo

        public void uploadMaterialVideo()
                                 throws IOException,
                                        com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        IOException
        com.foxinmy.weixin4j.exception.WeixinException
      • uploadMaterialArticle

        public void uploadMaterialArticle()
                                   throws com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
      • downloadArticle

        public void downloadArticle()
                             throws com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
      • deleteMaterialMedia

        public void deleteMaterialMedia()
                                 throws com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
      • updateMaterialArticle

        public void updateMaterialArticle()
                                   throws com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
      • countMaterialMedia

        public void countMaterialMedia()
                                throws com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
      • listMaterialMedia

        public void listMaterialMedia()
                               throws com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
      • listAllMaterialMedia

        public void listAllMaterialMedia()
                                  throws com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException