码迷,mamicode.com
首页 >  
搜索关键字:android androidtestcase 单元测试 android junit test    ( 138460个结果
select 语句的基础语法
授权语法sql 一.用户的创建与使用 在管理员登录后可创建用户 --创建qfplan用户-create user qfplan identified by qfplan; --用户基本权限授权grant create session, connect ,resource to qfplan; --给 ...
分类:其他好文   时间:2021-06-02 11:00:18    阅读次数:0
Spring的AntPathMatcher(路径匹配)
import org.springframework.util.AntPathMatcher; import org.springframework.util.PathMatcher; import junit.framework.TestCase; public class AntPathMatc ...
分类:编程语言   时间:2021-06-02 10:29:46    阅读次数:0
判断手机端和pc端
//判断pc和手机 browserRedirect() { var sUserAgent = navigator.userAgent.toLowerCase(); if (/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mo ...
分类:移动开发   时间:2021-05-25 18:31:07    阅读次数:0
打印5行正三角形
public class TestDemo { public static void main(String[] args) { //打印三角形 for (int i = 1; i <= 5; i++) {![](https://img2020.cnblogs.com/blog/2406104/20 ...
分类:其他好文   时间:2021-05-25 17:53:28    阅读次数:0
Mockito (十四)
Mockito 使用 doThrow 让方法抛出异常 如果一个对象的方法的返回值是 void,那么不能用 when .. thenThrow 让该方法抛出异常 如果没有返回值, 下面这种写法是错误的: import org.junit.Test; import org.mockito.Mock; i ...
分类:其他好文   时间:2021-05-25 17:50:29    阅读次数:0
fastjson将java对象与json字符串相互转换
1、pom.xml文件添加依赖 <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.62</version> </dependency> 2、将对象转为json格式的字符 ...
分类:编程语言   时间:2021-05-25 17:44:13    阅读次数:0
Android.21.Retrofit
01. Retrofit的认识 A type-safe Http client for Android and Java. 封装了OkHttp, 也是由square公司贡献的一个处理网络请求的开源项目 https:///github.com/square/retrofit 02. 在gradle中配 ...
分类:移动开发   时间:2021-05-25 17:39:26    阅读次数:0
Test类添加后 报错:程序包org.junit不存在解决
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.7</version> <!-- 作用域范围为test --> <scope>test</scope> </dependency> 将<sc ...
分类:其他好文   时间:2021-05-24 17:22:10    阅读次数:0
docker中安装docker
环境说明 安装环境:基于虚拟机上Docker启动centos,在该centos上安装Docker 准备环节 1、docker run运行一个centos环境 > docker run -it --name mycentos --privileged=true centos:latest /sbin/ ...
分类:其他好文   时间:2021-05-24 17:17:30    阅读次数:0
zabbix_api 接口调用
import requests from requests import request import json from collections import OrderedDict url = 'https://zabbix-xn.test.bestpay.net/api_jsonrpc.php ...
分类:Windows程序   时间:2021-05-24 17:05:19    阅读次数:0
138460条   上一页 1 ... 23 24 25 26 27 ... 13846 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!