基本语法测试用例由关键字组成,关键字的来源有三种:1从测试库引入;2从资源文件引入;3从关键字表中引入(自定义关键字)下面就是一个典型的测试用例组织形式。图中有2个测试用例“Valid Login” 和 “SettingVarriables”。第一列是用例名称,第二列是关键字,这些关键字来实现具体的...
分类:
其他好文 时间:
2015-06-26 00:18:19
阅读次数:
191
在做微信测试的时候,遇到测试失败的问题,如下图:token值没有问题,wx_sample.php部分代码在这种情况下出现配置失败。解决办法:在代码中修改一个地方,即保证代码:$wechatObj->valid();有执行即可修改后配置成功:
分类:
微信 时间:
2015-06-25 22:36:06
阅读次数:
2362
在iOS开发中经常遇到的一个错误是Undefined symbols for architecture arm64,这个错误表示工程某些地方不支持arm64指令集。那我们应该怎么解决这个问题了?我们不仅要解决这个问题,更要了解出现这个问题的根源.这样根本上杜绝这类问题发生.
对于iOS设备来说iOS的指令集有armv6、armv7、armv7s、arm64这样四种,不同型号的iOS设备使用不同的指令集,下面是各自的区别:...
分类:
其他好文 时间:
2015-06-25 19:42:49
阅读次数:
227
摘自:https://github.com/boot2docker/boot2docker/issues/824An error occurred trying to connect: Get https://192.168.59.103:2376/v1.19/containers/json: x5...
分类:
系统相关 时间:
2015-06-25 17:03:49
阅读次数:
333
#26 Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for ...
分类:
其他好文 时间:
2015-06-24 12:59:55
阅读次数:
121
No matching provisioning profiles found.No matching code signing identity found.Your account already has a valid iOS Distribution certificate.由于苹果只允许它...
分类:
移动开发 时间:
2015-06-23 17:24:45
阅读次数:
126
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:
其他好文 时间:
2015-06-23 15:50:51
阅读次数:
92
#14 Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings.
这个题求多个字符串的公共前缀,除了要考虑串空外,如果存在公共前缀,那么必定也是第一个串的前缀。
所以可以以第一个串为基准,比较其他串的前缀是否与第一个串相同。
c...
分类:
其他好文 时间:
2015-06-23 11:55:01
阅读次数:
129
在网上搜索很多解决方案,并不适用于我的问题,最后通过以下步骤解决:
1. 更新软件源(防止build-essential不能 安装),然后安装build-essential和linu-headers-$(uname -r)(其中$(uname -r)是你的Linux内核版本号)
sudo apt-get update
sudo apt-get install build-essential l...
分类:
其他好文 时间:
2015-06-23 10:14:56
阅读次数:
180
DATE_ADD和DATE_SUB函数可以用INTERVAL关键字标识的时间间隔进行加减操作.1.更新表中有效期valid_time字段值都增加一天UPDATE cqh_activity SET valid_time=DATE_ADD(valid_time,INTERVAL 1 DAY);2.更新表...
分类:
数据库 时间:
2015-06-22 14:54:13
阅读次数:
221