zoukankan      html  css  js  c++  java
  • RF判断列表、字典、整数、字符串类型是否相同方法

     

    ${d} create list shk shsh
    ${w} create list
    ${e} evaluate type(${d})
    ${t} evaluate type(${w})
    should be equal ${e} ${t}
    ${d} create dictionary 1 shsh
    ${w} create dictionary
    ${e} evaluate type(${d})
    ${t} evaluate type(${w})
    should be equal ${e} ${t}
    ${d} set variable 1
    ${w} set variable 2
    ${e} evaluate type(${d})
    ${t} evaluate type(${w})
    should be equal ${e} ${t}
    ${d} set variable 'ddhs'
    ${w} set variable 'dd'
    ${e} evaluate type(${d})
    ${t} evaluate type(${w})
    should be equal ${e} ${t}

    Starting test: ZXJF.清结算 一期.测试.测试
    20170714 10:56:53.482 :  INFO : ${d} = [u'shk', u'shsh']
    20170714 10:56:53.482 :  INFO : ${w} = []
    20170714 10:56:53.482 :  INFO : ${e} = <type 'list'>
    20170714 10:56:53.482 :  INFO : ${t} = <type 'list'>
    20170714 10:56:53.498 :  INFO : 
    Argument types are:
    <type 'type'>
    <type 'type'>
    20170714 10:56:53.498 :  INFO : ${d} = {u'1': u'shsh'}
    20170714 10:56:53.498 :  INFO : ${w} = {}
    20170714 10:56:53.498 :  INFO : ${e} = <type 'dict'>
    20170714 10:56:53.498 :  INFO : ${t} = <type 'dict'>
    20170714 10:56:53.498 :  INFO : 
    Argument types are:
    <type 'type'>
    <type 'type'>
    20170714 10:56:53.498 :  INFO : ${d} = 1
    20170714 10:56:53.498 :  INFO : ${w} = 2
    20170714 10:56:53.514 :  INFO : ${e} = <type 'int'>
    20170714 10:56:53.514 :  INFO : ${t} = <type 'int'>
    20170714 10:56:53.514 :  INFO : 
    Argument types are:
    <type 'type'>
    <type 'type'>
    20170714 10:56:53.514 :  INFO : ${d} = 'ddhs'
    20170714 10:56:53.514 :  INFO : ${w} = 'dd'
    20170714 10:56:53.514 :  INFO : ${e} = <type 'str'>
    20170714 10:56:53.514 :  INFO : ${t} = <type 'str'>
    20170714 10:56:53.514 :  INFO : 
    Argument types are:
    <type 'type'>
    <type 'type'>
    Ending test:   ZXJF.清结算 一期.测试.测试
  • 相关阅读:
    微博个人中心效果
    微博弹性按钮
    ios9 3dtouch 博客
    去掉导航栏阴影
    模态全屏模式,实现半透明效果
    剪切图片
    修改push动画的方向
    数据库链接池终于搞对了,直接从100ms到3ms
    如何在Java代码中去掉烦人的“!=null”
    面试官:请讲下接口具体怎么优化!
  • 原文地址:https://www.cnblogs.com/apple2016/p/7168934.html
Copyright © 2011-2022 走看看