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.清结算 一期.测试.测试
  • 相关阅读:
    sklearn 数据预处理1: StandardScaler
    Gitlab利用Webhook实现Push代码后的Jenkins自动构建
    Shell脚本-自动化部署WEB
    Jenkins可用环境变量以及使用方法
    Docker常用命令
    nginx中root和alias的区别
    gitlab+jenkins=自动化构建
    Spring Boot2.0:使用Docker部署Spring Boot
    Maven内置属性、POM属性
    navicat连接mysql出现Client does not support authentication protocol requested by server解决方案
  • 原文地址:https://www.cnblogs.com/apple2016/p/7168934.html
Copyright © 2011-2022 走看看