- 华为APP UI自动化测试岗面试真题,真实面试经历。
自动化测试君
自动化测试接口测试软件测试ui面试职场和发展经验分享软件测试
1.AndroidAPP内存不足时,如何获得内存?系统优先结束被挂起(暂停)的进程,释放内存。2.APP测试常见问题有哪些?原因有哪些?常见的有crash、ANR(应用无响应、卡死),一般由设备碎片化、网络波动大、内存泄漏、代码编写错误。3.APP自动化测试工具开放性问题,带点主观意见:对比其他熟悉的自动化工具的优缺点;自动化的简要方案(简要的同时关键内容请具体)。4.Android与web测试区
- APP测试流程梳理
秃头老码农
1APP测试基本流程1.1流程图1.2测试周期测试周期可按项目的开发周期来确定测试时间,一般测试时间为两三周(即15个工作日),根据项目情况以及版本质量可适当缩短或延长测试时间。1.3测试资源测试任务开始前,检查各项测试资源。--产品功能需求文档;--产品原型图;--产品效果图;--测试设备;--其他。1.4日报及产品上线报告(内部报告机制)1)测试人员每天需对所测项目发送测试日报。(也就是我这边
- 2024APP测试面试题汇总!
自动化测试薰儿
软件测试面试软件测试面试软件测试面试软件测试面试
一、基础篇1、请介绍一下,APP测试流程?APP测试流程与web测试流程类似,分为如下七个阶段:1.根据需求说明书编写测试计划;2.制定测试方案,主要是测试任务、测试人员和测试时间的分配;3.测试准备,包括搭建测试环境,准备测试数据,确定测试方法;4.测试用例的设计与编写,进行用例评审及补充完善;5.执行测试时首先进行冒烟测试,然后对主功能流程进行测试,包括客户端的单个功能模块,及功能业务逻辑功能
- 2.5 项目讲解流程
王守谦26
项目资料数据库
一、项目讲解1、自我介绍2、项目流程-===============================二、自我介绍(一)、学员自我介绍,讲解存在的问题比如:讲解年份、卡顿、重点学历、忘记(二)自我规则内容1、开场白:礼貌用语2、时间:自我介绍1-2分钟以内3、内容:姓名、籍贯、毕业院校、(拉进面试官距离)4、技能:功能测试、接口测试、自动化测试、app测试、性能测试、安全测试黑盒测试、白盒测试、灰盒
- App测试中ios和Android有哪些区别呢?
测试涛叔
技术分享软件测试自动化测试iosandroidcocoa
App测试中,大家最常问到的问题就是:ios和Android有什么区别呢?在Android端,我们经常会使用JavaScript、HTML、CSS等技术来编写一些简单的UI界面。而iOS端,我们经常会使用到UI设计、界面布局、代码结构、API等技术来开发一款App。那究竟有什么区别呢?作为一名开发者,应该了解一些基础知识,这样在开发的时候才不会迷失方向。本文将为大家详细介绍下iOS和Android
- 2019-05-15
伽蓝214
图片发自App【每日清单】915/1000次记录,2019/5/15,闷热【三件事】1.[]app测试30%2.[]跟进会议反馈情况3.[]每天听本书x35月底完成(175/300)【小确幸】第10关【昨日感悟】信息沟通中的不对称会让成员对优先级产生分歧,重要的信息不能简单的重复说明,还要变着方式、场景来说明。【昨日跟进-三件事】1.[x]WLWK讲解2.[x]app测试>30%3.[x]每天听本
- APP测试
猫大白Mk
1.安装和卸载应用的安装和卸载在任何一款APP中都属于最基本功能。一旦出错,就属于优先级为紧要Critical的缺陷。因此APP的安装和卸载应作为一个测试点多加重视。主要关注以下几个方面:验证App是否能正确安装、运行、卸载、以及操作过程和操作前后对系统资源的使用情况1.1、安装1)应用是否可以正常安装(命令行安装;豌豆荚/手机助手等第三方软件安装;apk/ipa安装包安装)2)应用是否可以在iO
- web测试与app测试的区别
FixedStarHaHa
软件测试基础功能测试
WEB测试和app应用测试从流程上来说,没有区别。都需要经历测试计划方案,用例设计,测试执行,缺陷管理,测试报告等相关活动。从技术上来说,WEB测试和APP测试其测试类型也基本相似,都需要进行功能测试,性能测试,安全性测试,GUI测试等测试类型。一、架构不同web项目是B/S架构,是浏览器-服务器架构,不需要下载客户端,只要更新了服务器端,客户端就会同步会更新。而且客户端是可以保证每一个用户的客户
- APP测试怎么测?你如何开展测试工作?
yoyo小小汐~
软件测试程序员接口测试自动化测试测试工程师
前言APP测试实际上依然属于软件测试的范畴,是软件测试的一个真子集,所以经典软件测试理论,依然是在APP测试中有效的,只是需要针对APP的特殊情况进行一定的增补和额外覆盖。对于APP测试,一般采用的是黑盒测试思想,也会在必要的时候进行自动化测试以及性能测试,并且对于APP还会有专项测试,例如内存,流量以及耗电量测试。在APP测试中,因为牵扯的预备条件比传统软件更多些,更需要额外精力进行事先准备。在
- android手机设置域名ip映射关系
Lily走起
手机测试安卓macandroid
背景:公司内网域名与内网ip连通性尚未打通。app测试包h5连接地址为内网域名的话,报404.。处理方法:1.android手机和mac电脑都在内网。2.android手机设置代理ip(此ip为mac电脑本机ip。端口随意,我设置的8888,方便charles抓包)3.mac电脑,访达--偏好设置--高级--显示所有文件扩展名,访达右键--前往文件夹--/etc,打开hosts文件,将h5内网ip
- 利用Appium对Android App进行测试
零一森林
androidapp软件测试
文章目录前言一、软件二、环境配置1.安装node.js(Appium1.11以上版本不需要安装此环境)2.Android虚拟手机和Java环境3.安装Appium4.测试项目的创建5.连接设备6.编写测试代码总结前言最近要参加测试岗位的实习面试,复习一下之前学过的App测试一、软件IDEA雷电模拟器Appium以及一堆jar包二、环境配置1.安装node.js(Appium1.11以上版本不需要安
- 一文1000字彻底搞懂Web测试与App测试的区别
咖啡加剁椒..
软件测试前端功能测试软件测试自动化测试程序人生职场和发展
总结分享一些项目需要结合Web测试和App测试的工作经验给大家:从功能测试区分,Web测试与App测试在测试用例设计和测试流程上没什么区别。而两者的主要区别体现在如下几个方面:1系统结构方面Web项目,B/S架构,基于浏览器的;Web测试过程中,客户端会随服务器端同步更新,所以只需更新服务器端即可App项目,C/S架构,基于客户端的;App测试过程中,只要修改了服务端,那么客户端用户所有核心版本都
- 测试架构师修炼之道-灵魂篇
robot_test_boy
图片发自App测试核心:制定总体测试策略,阶段测试策略,版本测试策略,在产品质量评估过程中发现问题,及时修正测试策略,让测试策略在团队中顺利落地。测试9剑谱:四步测试策略制定法,软件质量评估模型,四步测试设计制定法,测试方法车轮图和两份checklist(风险分析checklist和老功能checklist),测试覆盖度评估,测试过程评估,风险分析技术,缺陷分析技术。测试6魂力:魂力1:测试架构师
- Web测试与App测试的区别
爱学习的执念
软件测试技术分享前端
总结分享一些项目需要结合Web测试和App测试的工作经验给大家:从功能测试区分,Web测试与App测试在测试用例设计和测试流程上没什么区别。而两者的主要区别体现在如下几个方面:1系统结构方面Web项目,B/S架构,基于浏览器的;Web测试过程中,客户端会随服务器端同步更新,所以只需更新服务器端即可App项目,C/S架构,基于客户端的;App测试过程中,只要修改了服务端,那么客户端用户所有核心版本都
- App测试方法总结
nayli
本文转自网络一、安全测试1.软件权限1)扣费风险:包括短信、拨打电话、连接网络等。2)隐私泄露风险:包括访问手机信息、访问联系人信息等。3)对App的输入有效性校验、认证、授权、数据加密等方面进行检测4)限制/允许使用手机功能接入互联网5)限制/允许使用手机发送接收信息功能6)限制或使用本地连接7)限制/允许使用手机拍照或录音8)限制/允许使用手机读取用户数据9)限制/允许使用手机写入用户数据10
- Android --- 夜神模拟器中没有图片怎么办?夜神模拟器中怎么导入图片?
梁同学与Android
Android项目开发笔记夜神模拟器中没有图片怎么办夜神模拟器中怎么导入图片?androidandroidstudio
问题:夜神模拟器中没有图片怎么办?夜神模拟器中怎么导入图片?解决:1.点击右侧文件助手2.点击“打开电脑文件夹”3.弹出如下文件夹4.点击imageShare5.点击Screenshots(这个是截图文件夹)6.将你准备好的图片导入这个目录下7.重启夜神模拟器(一般不重启等一会就会显示了)8.通过app测试打开相册看看能不能选择图片
- 怎么做移动APP测试,移动应用测试有哪些?
深圳市卓越软件评测
自动化测试单元测试压力测试测试工具
移动app行业正在以前所未有的速度蓬勃发展,这导致可供最终用户下载的app数量显著增加。移动app对人们工作、交流、购物的方式产生了许多变化。但是,随着用户每天下载的app增多,你的app很难脱颖而出。移动app开发行业竞争激烈,公司需要努力为其最终用户提供出色的体验。DAU、MAU、粘性、应用参与度、平均应用会话持续时间等是应用开发人员需要定期跟踪的一些指标。因此,你不能发布有错误的app。严重
- 如何使用postman进行接口自动化测试?
学掌门
软件测试程序员ITpostman测试工具
1、什么是自动化测试?把人对软件的测试行为转化为由机器执行测试行为的一种实践。例如GUI自动化测试,模拟人去操作软件界面,把人从简单重复的劳动中解放出来,本质是用代码去测试另一段代码,属于一种软件开发工作,已经开发完成的用例还必须随着被测试对象的改变而更新,因此,还有额外的维护成本。2、自动化测试有哪些分类?按测试目的分类功能自动化测试性能自动化测试按测试对象分类Web应用测试APP测试接口测试单
- App测试中ios和Android有哪些区别呢?
咖啡加 剁椒
软件测试iosandroidcocoa软件测试功能测试自动化测试程序人生
App测试中,大家最常问到的问题就是:ios和Android有什么区别呢?在Android端,我们经常会使用JavaScript、HTML、CSS等技术来编写一些简单的UI界面。而iOS端,我们经常会使用到UI设计、界面布局、代码结构、API等技术来开发一款App。那究竟有什么区别呢?作为一名开发者,应该了解一些基础知识,这样在开发的时候才不会迷失方向。本文将为大家详细介绍下iOS和Android
- Eggplant—HMI自动化测试软件
经纬恒润
研发工具Eggplant
产品概述Eggplant是英国TestPlant公司推出的创新性自动化测试工具。通过VNC或RDP通讯技术远程桌面连接被测对象,基于图像和文字识别算法进行对象定位,进而驱动和确认被测HMI设备的响应,能够实现自动化的HMI操作测试,较大提高HMI的功能测试效率。对于车机车辆网、T-BOX等功能,需要面对大量web网页测试、手机APP测试、手机—车机功能一致性测试等任务,采用Eggplant可方便地
- APP测试要点有哪些?本文已经给你梳理好了!
咖啡加剁椒..
软件测试功能测试软件测试单元测试自动化测试程序人生职场和发展
我们日常购物、旅游、支付等活动都离不开手机,由此衍生了很多APP。比如每天使用频率非常高的微信、支付宝、微博、抖音、王者荣耀等等。APP测试主要进行功能测试、性能测试、自动化测试、安全性测试、兼容性测试、专项测试。01APP测试流程APP测试流程与web测试流程类似,分为如下七个阶段:1.根据需求说明书编写测试计划;2.制定测试方案,主要是测试任务、测试人员和测试时间的分配;3.测试准备,包括搭建
- RK3326系统中集成思必驰音频适配文件
青春给了狗
音视频
前言最近本人在RK33268.1系统上做定制化,需要对接思必驰平台音频相关接口,同时在系统中集成音频适配文件,踩了很多坑,写这篇文章记录一下。一、为什么要集成音频适配文件?当APP(集成了思必驰aar库)内置到系统中,重新编译固件,烧录固件后开机,发现前端声学会一直占用录音通道,当使用其它录音APP测试时,录出来的音频没有声音(需要修改成音频复用,否则直接报错,音频复用在文章后面会说到),需要集成
- 怎么测试app?app的测试技巧是什么?
咖啡 加剁椒
软件测试软件测试自动化测试功能测试程序人生职场和发展
前言今天笔者想和大家来唠唠app测试,现在的app有非常的多,这些app都是需要经过测试之后才能发布到应用市场中,app已经成为了我们日常生活中不可或缺的一部分了,但它的功能必须强大,才能受到消费者的重视,并在开发越来越多应用程序的市场中保持高度竞争力。所以作为一名测试人员,你需要付出大量的努力来确保公司app的质量。而app测试也有一些关键的问题需要处理。什么是app测试?app测试是使用手动或
- APP测试常问问题及答案
niuniu_666
appium测试工具webapp功能测试压力测试
1.什么是activity?Activity是Android组件中最基本、最重要的一种组件,它表示一个单独的界面。2.Activity的生命周期是什么?Activity的生命周期包括onCreate、onStart、onResume、onPause、onStop和onDestroy六个状态。3.Android四大组件是什么?Android四大组件包括Activity、Service、Broadca
- 移动应用测试:挑战,类型和最佳实践
FunTester
随着智能手机的普及,移动app测试越来越重要。现在很多互联网都把注意精力放在了移动端,移动app尽量提供完美的用户体验。但是诸如崩溃,冻结问题,加载时间慢,不直观的导航以及侵犯隐私之类的严重错误可能会触发用户立即卸载应用程序。现在,移动应用程序已成为我们日常微时刻不可或缺的一部分,人们平均每天花费3-4个小时。移动应用在职业和个人生活中对每个人都起着关键作用。因此,手机移动端测试在构建移动应用程序
- 【Android】移动App测试实战
题典通
本书由三位国内顶级互联网企业软件测试工程师联手打造,根据移动产品的特点,深入讲解了移动App测试的最佳实践,从移动互联网产品测试的准备工作到产品发布后的质量管理方法,涉及移动产品的整个研发流程,介绍了产业界著名互联网公司的实际经验,为提升移动App质量、打造卓越产品提供了有价值的参考。下载地址:http://www.firstxueba.com/thread-281-1-1.html
- Postman如何做接口自动化测试?
咖啡加剁椒
软件测试postman测试工具软件测试自动化测试功能测试程序人生职场和发展
前言什么是自动化测试把人对软件的测试行为转化为由机器执行测试行为的一种实践。例如GUI自动化测试,模拟人去操作软件界面,把人从简单重复的劳动中解放出来。本质是用代码去测试另一段代码,属于一种软件开发工作,已经开发完成的用例还必须随着被测试对象的改变而更新,因此,还有额外的维护成本。自动化测试有哪些分类按测试目的分类功能自动化测试性能自动化测试按测试对象分类Web应用测试APP测试接口测试单元测试为
- 浅谈手机APP测试(流程)
秦玖
智能手机单元测试测试用例测试工具postman功能测试selenium
前言APP测试是一个广泛的概念,根据每个app的应用场景不一样,测试的方向也略微的不同,在测试过程中需要灵活应用自身所知的测试手段。今天就跟大家简单聊聊手机APP测试的一些相关内容。APP开发流程(1)拿到需求分析需求(2)开需求评审会议(3)开发做设计,测试做测试设计(4)开发设计评审(5)测试补充用例(6)用例评审(7)开发提测,测试搭建测试环境(8)冒烟测试(9)执行测试用例(10)发现bu
- python+appium 环境搭建和Appium_Python_Client包版本注意事项
A-jjdxm
appiumpython
引言Appium是一个开源、跨平台(测试程序跨平台、支持多平台上的app测试)、多语言支持的(开发语言)移动应用自动化工具。对于appium的环境搭建可以参考这篇文章https://blog.csdn.net/weixin_42617600/article/details/114111785?ops_request_misc=%257B%2522request%255Fid%2522%253A%2
- APP测试基本流程以及APP测试要点梳理,保证您看了不后悔!
程.序员二黑
python压力测试单元测试测试工具测试用例功能测试
交流讨论:欢迎加入我们一起学习!资源分享:耗时200+小时精选的「软件测试」资料包教程推荐:火遍全网的《软件测试》教程欢迎点赞收藏⭐留言如有错误敬请指正!前言:相信很多刚刚步入测试行业的小伙伴对于APP测试不是很熟悉,这次我为大家提供一篇宝藏文章,希望大家喜欢,谢谢!一、APP测试基本流程1、流程图2、测试周期测试周期可按项目的开发周期来确定测试时间,一般测试时间为两三周(即15个工作日),根据项
- 怎么样才能成为专业的程序员?
cocos2d-x小菜
编程PHP
如何要想成为一名专业的程序员?仅仅会写代码是不够的。从团队合作去解决问题到版本控制,你还得具备其他关键技能的工具包。当我们询问相关的专业开发人员,那些必备的关键技能都是什么的时候,下面是我们了解到的情况。
关于如何学习代码,各种声音很多,然后很多人就被误导为成为专业开发人员懂得一门编程语言就够了?!呵呵,就像其他工作一样,光会一个技能那是远远不够的。如果你想要成为
- java web开发 高并发处理
BreakingBad
javaWeb并发开发处理高
java处理高并发高负载类网站中数据库的设计方法(java教程,java处理大量数据,java高负载数据) 一:高并发高负载类网站关注点之数据库 没错,首先是数据库,这是大多数应用所面临的首个SPOF。尤其是Web2.0的应用,数据库的响应是首先要解决的。 一般来说MySQL是最常用的,可能最初是一个mysql主机,当数据增加到100万以上,那么,MySQL的效能急剧下降。常用的优化措施是M-S(
- mysql批量更新
ekian
mysql
mysql更新优化:
一版的更新的话都是采用update set的方式,但是如果需要批量更新的话,只能for循环的执行更新。或者采用executeBatch的方式,执行更新。无论哪种方式,性能都不见得多好。
三千多条的更新,需要3分多钟。
查询了批量更新的优化,有说replace into的方式,即:
replace into tableName(id,status) values
- 微软BI(3)
18289753290
微软BI SSIS
1)
Q:该列违反了完整性约束错误;已获得 OLE DB 记录。源:“Microsoft SQL Server Native Client 11.0” Hresult: 0x80004005 说明:“不能将值 NULL 插入列 'FZCHID',表 'JRB_EnterpriseCredit.dbo.QYFZCH';列不允许有 Null 值。INSERT 失败。”。
A:一般这类问题的存在是
- Java中的List
g21121
java
List是一个有序的 collection(也称为序列)。此接口的用户可以对列表中每个元素的插入位置进行精确地控制。用户可以根据元素的整数索引(在列表中的位置)访问元素,并搜索列表中的元素。
与 set 不同,列表通常允许重复
- 读书笔记
永夜-极光
读书笔记
1. K是一家加工厂,需要采购原材料,有A,B,C,D 4家供应商,其中A给出的价格最低,性价比最高,那么假如你是这家企业的采购经理,你会如何决策?
传统决策: A:100%订单 B,C,D:0%
&nbs
- centos 安装 Codeblocks
随便小屋
codeblocks
1.安装gcc,需要c和c++两部分,默认安装下,CentOS不安装编译器的,在终端输入以下命令即可yum install gccyum install gcc-c++
2.安装gtk2-devel,因为默认已经安装了正式产品需要的支持库,但是没有安装开发所需要的文档.yum install gtk2*
3. 安装wxGTK
yum search w
- 23种设计模式的形象比喻
aijuans
设计模式
1、ABSTRACT FACTORY—追MM少不了请吃饭了,麦当劳的鸡翅和肯德基的鸡翅都是MM爱吃的东西,虽然口味有所不同,但不管你带MM去麦当劳或肯德基,只管向服务员说“来四个鸡翅”就行了。麦当劳和肯德基就是生产鸡翅的Factory 工厂模式:客户类和工厂类分开。消费者任何时候需要某种产品,只需向工厂请求即可。消费者无须修改就可以接纳新产品。缺点是当产品修改时,工厂类也要做相应的修改。如:
- 开发管理 CheckLists
aoyouzi
开发管理 CheckLists
开发管理 CheckLists(23) -使项目组度过完整的生命周期
开发管理 CheckLists(22) -组织项目资源
开发管理 CheckLists(21) -控制项目的范围开发管理 CheckLists(20) -项目利益相关者责任开发管理 CheckLists(19) -选择合适的团队成员开发管理 CheckLists(18) -敏捷开发 Scrum Master 工作开发管理 C
- js实现切换
百合不是茶
JavaScript栏目切换
js主要功能之一就是实现页面的特效,窗体的切换可以减少页面的大小,被门户网站大量应用思路:
1,先将要显示的设置为display:bisible 否则设为none
2,设置栏目的id ,js获取栏目的id,如果id为Null就设置为显示
3,判断js获取的id名字;再设置是否显示
代码实现:
html代码:
<di
- 周鸿祎在360新员工入职培训上的讲话
bijian1013
感悟项目管理人生职场
这篇文章也是最近偶尔看到的,考虑到原博客发布者可能将其删除等原因,也更方便个人查找,特将原文拷贝再发布的。“学东西是为自己的,不要整天以混的姿态来跟公司博弈,就算是混,我觉得你要是能在混的时间里,收获一些别的有利于人生发展的东西,也是不错的,看你怎么把握了”,看了之后,对这句话记忆犹新。 &
- 前端Web开发的页面效果
Bill_chen
htmlWebMicrosoft
1.IE6下png图片的透明显示:
<img src="图片地址" border="0" style="Filter.Alpha(Opacity)=数值(100),style=数值(3)"/>
或在<head></head>间加一段JS代码让透明png图片正常显示。
2.<li>标
- 【JVM五】老年代垃圾回收:并发标记清理GC(CMS GC)
bit1129
垃圾回收
CMS概述
并发标记清理垃圾回收(Concurrent Mark and Sweep GC)算法的主要目标是在GC过程中,减少暂停用户线程的次数以及在不得不暂停用户线程的请夸功能,尽可能短的暂停用户线程的时间。这对于交互式应用,比如web应用来说,是非常重要的。
CMS垃圾回收针对新生代和老年代采用不同的策略。相比同吞吐量垃圾回收,它要复杂的多。吞吐量垃圾回收在执
- Struts2技术总结
白糖_
struts2
必备jar文件
早在struts2.0.*的时候,struts2的必备jar包需要如下几个:
commons-logging-*.jar Apache旗下commons项目的log日志包
freemarker-*.jar  
- Jquery easyui layout应用注意事项
bozch
jquery浏览器easyuilayout
在jquery easyui中提供了easyui-layout布局,他的布局比较局限,类似java中GUI的border布局。下面对其使用注意事项作简要介绍:
如果在现有的工程中前台界面均应用了jquery easyui,那么在布局的时候最好应用jquery eaysui的layout布局,否则在表单页面(编辑、查看、添加等等)在不同的浏览器会出
- java-拷贝特殊链表:有一个特殊的链表,其中每个节点不但有指向下一个节点的指针pNext,还有一个指向链表中任意节点的指针pRand,如何拷贝这个特殊链表?
bylijinnan
java
public class CopySpecialLinkedList {
/**
* 题目:有一个特殊的链表,其中每个节点不但有指向下一个节点的指针pNext,还有一个指向链表中任意节点的指针pRand,如何拷贝这个特殊链表?
拷贝pNext指针非常容易,所以题目的难点是如何拷贝pRand指针。
假设原来链表为A1 -> A2 ->... -> An,新拷贝
- color
Chen.H
JavaScripthtmlcss
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD>&nbs
- [信息与战争]移动通讯与网络
comsci
网络
两个坚持:手机的电池必须可以取下来
光纤不能够入户,只能够到楼宇
建议大家找这本书看看:<&
- oracle flashback query(闪回查询)
daizj
oracleflashback queryflashback table
在Oracle 10g中,Flash back家族分为以下成员:
Flashback Database
Flashback Drop
Flashback Table
Flashback Query(分Flashback Query,Flashback Version Query,Flashback Transaction Query)
下面介绍一下Flashback Drop 和Flas
- zeus持久层DAO单元测试
deng520159
单元测试
zeus代码测试正紧张进行中,但由于工作比较忙,但速度比较慢.现在已经完成读写分离单元测试了,现在把几种情况单元测试的例子发出来,希望有人能进出意见,让它走下去.
本文是zeus的dao单元测试:
1.单元测试直接上代码
package com.dengliang.zeus.webdemo.test;
import org.junit.Test;
import o
- C语言学习三printf函数和scanf函数学习
dcj3sjt126com
cprintfscanflanguage
printf函数
/*
2013年3月10日20:42:32
地点:北京潘家园
功能:
目的:
测试%x %X %#x %#X的用法
*/
# include <stdio.h>
int main(void)
{
printf("哈哈!\n"); // \n表示换行
int i = 10;
printf
- 那你为什么小时候不好好读书?
dcj3sjt126com
life
dady, 我今天捡到了十块钱, 不过我还给那个人了
good girl! 那个人有没有和你讲thank you啊
没有啦....他拉我的耳朵我才把钱还给他的, 他哪里会和我讲thank you
爸爸, 如果地上有一张5块一张10块你拿哪一张呢....
当然是拿十块的咯...
爸爸你很笨的, 你不会两张都拿
爸爸为什么上个月那个人来跟你讨钱, 你告诉他没
- iptables开放端口
Fanyucai
linuxiptables端口
1,找到配置文件
vi /etc/sysconfig/iptables
2,添加端口开放,增加一行,开放18081端口
-A INPUT -m state --state NEW -m tcp -p tcp --dport 18081 -j ACCEPT
3,保存
ESC
:wq!
4,重启服务
service iptables
- Ehcache(05)——缓存的查询
234390216
排序ehcache统计query
缓存的查询
目录
1. 使Cache可查询
1.1 基于Xml配置
1.2 基于代码的配置
2 指定可搜索的属性
2.1 可查询属性类型
2.2 &
- 通过hashset找到数组中重复的元素
jackyrong
hashset
如何在hashset中快速找到重复的元素呢?方法很多,下面是其中一个办法:
int[] array = {1,1,2,3,4,5,6,7,8,8};
Set<Integer> set = new HashSet<Integer>();
for(int i = 0
- 使用ajax和window.history.pushState无刷新改变页面内容和地址栏URL
lanrikey
history
后退时关闭当前页面
<script type="text/javascript">
jQuery(document).ready(function ($) {
if (window.history && window.history.pushState) {
- 应用程序的通信成本
netkiller.github.com
虚拟机应用服务器陈景峰netkillerneo
应用程序的通信成本
什么是通信
一个程序中两个以上功能相互传递信号或数据叫做通信。
什么是成本
这是是指时间成本与空间成本。 时间就是传递数据所花费的时间。空间是指传递过程耗费容量大小。
都有哪些通信方式
全局变量
线程间通信
共享内存
共享文件
管道
Socket
硬件(串口,USB) 等等
全局变量
全局变量是成本最低通信方法,通过设置
- 一维数组与二维数组的声明与定义
恋洁e生
二维数组一维数组定义声明初始化
/** * */ package test20111005; /** * @author FlyingFire * @date:2011-11-18 上午04:33:36 * @author :代码整理 * @introduce :一维数组与二维数组的初始化 *summary: */ public c
- Spring Mybatis独立事务配置
toknowme
mybatis
在项目中有很多地方会使用到独立事务,下面以获取主键为例
(1)修改配置文件spring-mybatis.xml <!-- 开启事务支持 --> <tx:annotation-driven transaction-manager="transactionManager" /> &n
- 更新Anadroid SDK Tooks之后,Eclipse提示No update were found
xp9802
eclipse
使用Android SDK Manager 更新了Anadroid SDK Tooks 之后,
打开eclipse提示 This Android SDK requires Android Developer Toolkit version 23.0.0 or above, 点击Check for Updates
检测一会后提示 No update were found