code stringlengths 1 1.49M | vector listlengths 0 7.38k | snippet listlengths 0 7.38k |
|---|---|---|
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
3,
0,
0.6429,
0.7321,
0,
0.66,
0,
225,
0,
7,
0,
0,
186,
0,
15
],
[
8,
1,
0.3036,
0.0179,
1,
0.8,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
2,
1,
0.3571,
0.0536,
1,
0.8,
... | [
"class DataExtractor(object):\n \"\"\"Transforms table of a parsed test data file into a list of rows.\"\"\"\n\n def __init__(self, want_name_on_first_row=None):\n self._want_name_on_first_row = want_name_on_first_row or \\\n (lambda t,n: False)\n\n def rows_fro... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.7955,
0.2727,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
1,
0.0455,
0,
0.66,
1,
962,
0,
1,
0,
0,
962,
0,
0
]
] | [
"\"\"\"Implements writing of parsed test data to files.\n\nThis functionality is used by :py:meth:`robot.parsing.model.TestCaseFile.save`.\n\nThis package is considered stable.\n\"\"\"",
"from .datafilewriter import DataFileWriter"
] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1154,
0.0077,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.1308,
0.0077,
0,
0.66,
0.125,
735,
0,
1,
0,
0,
735,
0,
0
],
[
1,
0,
0.1462,
0.0077,
0,
0... | [
"import re",
"from robot import utils",
"from .formatters import _DataFileFormatter",
"class HtmlFormatter(_DataFileFormatter):\n _split_multiline_doc = False\n\n def _format_row(self, row, table=None):\n row = self._pad(self._escape_consecutive_whitespace(row), table)\n if self._is_docume... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.122,
0.0081,
0,
0.66,
0,
777,
0,
1,
0,
0,
777,
0,
0
],
[
1,
0,
0.1301,
0.0081,
0,
0.66,
0.2,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.1463,
0.0081,
0,
0.66... | [
"from __future__ import with_statement",
"import os",
"from robot.errors import DataError",
"from .filewriters import FileWriter",
"class DataFileWriter(object):\n \"\"\"Object to write parsed test data file objects back to disk.\"\"\"\n\n def __init__(self, **options):\n \"\"\"\n :param... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2381,
0.0159,
0,
0.66,
0,
701,
0,
1,
0,
0,
701,
0,
0
],
[
3,
0,
0.3889,
0.2222,
0,
0.66,
0.25,
255,
0,
3,
0,
0,
186,
0,
4
],
[
2,
1,
0.3254,
0.0317,
1,
0.... | [
"from .dataextractor import DataExtractor",
"class _Aligner(object):\n\n def __init__(self, widths=None):\n self._widths = widths or []\n\n def align_rows(self, rows):\n return [self.align_row(r) for r in rows]",
" def __init__(self, widths=None):\n self._widths = widths or []",
... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
7,
0,
0.1104,
0.0325,
0,
0.66,
0,
0,
0,
1,
0,
0,
0,
0,
0
],
[
1,
1,
0.1039,
0.0065,
1,
0.89,
0,
312,
0,
1,
0,
0,
312,
0,
0
],
[
14,
1,
0.1234,
0.0065,
1,
0.89,
... | [
"try:\n import csv\nexcept ImportError:\n # csv module is missing from IronPython < 2.7.1\n csv = None",
" import csv",
" csv = None",
"from robot import utils",
"from .formatters import TsvFormatter, TxtFormatter, PipeFormatter",
"from .htmlformatter import HtmlFormatter",
"from .htmltem... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2542,
0.0169,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.2712,
0.0169,
0,
0.66,
0.0909,
220,
0,
1,
0,
0,
220,
0,
0
],
[
1,
0,
0.2881,
0.0169,
0,
... | [
"import sys",
"import codecs",
"from contextlib import contextmanager",
"from .encodingsniffer import get_output_encoding, get_system_encoding",
"from .unic import unic",
"OUTPUT_ENCODING = get_output_encoding()",
"SYSTEM_ENCODING = get_system_encoding()",
"def decode_output(string):\n \"\"\"Decode... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1765,
0.0118,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.1882,
0.0118,
0,
0.66,
0.0833,
688,
0,
1,
0,
0,
688,
0,
0
],
[
14,
0,
0.2235,
0.0118,
0,
... | [
"import sys",
"import os",
"UNIXY = os.sep == '/'",
"JYTHON = sys.platform.startswith('java')",
"if UNIXY:\n DEFAULT_SYSTEM_ENCODING = 'UTF-8'\n DEFAULT_OUTPUT_ENCODING = 'UTF-8'\nelse:\n DEFAULT_SYSTEM_ENCODING = 'cp1252'\n DEFAULT_OUTPUT_ENCODING = 'cp437'",
" DEFAULT_SYSTEM_ENCODING = 'U... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0761,
0.0051,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.0812,
0.0051,
0,
0.66,
0.0833,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0863,
0.0051,
0,
... | [
"import re",
"import sys",
"import traceback",
"from robot.errors import RobotError",
"from .unic import unic",
"RERAISED_EXCEPTIONS = (KeyboardInterrupt, SystemExit, MemoryError)",
"if sys.platform.startswith('java'):\n from java.io import StringWriter, PrintWriter\n from java.lang import Throwab... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.3,
0.02,
0,
0.66,
0,
177,
0,
1,
0,
0,
177,
0,
0
],
[
1,
0,
0.32,
0.02,
0,
0.66,
0.3333,
509,
0,
1,
0,
0,
509,
0,
0
],
[
2,
0,
0.39,
0.04,
0,
0.66,
0.6... | [
"import base64",
"import sys",
"def compress_text(text):\n return base64.b64encode(_compress(text.encode('UTF-8')))",
" return base64.b64encode(_compress(text.encode('UTF-8')))",
"if not sys.platform.startswith('java'):\n\n import zlib\n\n def _compress(text):\n return zlib.compress(text,... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1376,
0.0092,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.1468,
0.0092,
0,
0.66,
0.125,
614,
0,
1,
0,
0,
614,
0,
0
],
[
1,
0,
0.1651,
0.0092,
0,
0... | [
"import os",
"import urllib",
"from .encoding import decode_from_system",
"if os.sep == '\\\\':\n CASE_INSENSITIVE_FILESYSTEM = True\nelse:\n try:\n CASE_INSENSITIVE_FILESYSTEM = os.listdir('/tmp') == os.listdir('/TMP')\n except OSError:\n CASE_INSENSITIVE_FILESYSTEM = False",
" CA... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1456,
0.0097,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.165,
0.0097,
0,
0.66,
0.2,
420,
0,
3,
0,
0,
420,
0,
0
],
[
3,
0,
0.4417,
0.5049,
0,
0.66... | [
"import os",
"from .markuputils import html_escape, xml_escape, attribute_escape",
"class _MarkupWriter(object):\n\n def __init__(self, output, line_separator=os.linesep, encoding=None):\n \"\"\"\n :param output: Either an opened, file like object, or a path to the\n desired output f... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.15,
0.01,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.16,
0.01,
0,
0.66,
0.0625,
733,
0,
1,
0,
0,
733,
0,
0
],
[
1,
0,
0.17,
0.01,
0,
0.66,
0.... | [
"from unic import unic",
"from misc import seq2str2",
"from charwidth import get_char_width",
"_MAX_ASSIGN_LENGTH = 200",
"_MAX_ERROR_LINES = 40",
"_MAX_ERROR_LINE_LENGTH = 78",
"_ERROR_CUT_EXPLN = (' [ Message content over the limit has been removed. ]')",
"def cut_long_message(msg):\n lines = ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1376,
0.0092,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.1468,
0.0092,
0,
0.66,
0.1429,
79,
0,
1,
0,
0,
79,
0,
0
],
[
1,
0,
0.156,
0.0092,
0,
0.6... | [
"import sys",
"import os.path",
"from StringIO import StringIO",
"_IRONPYTHON = sys.platform == 'cli'",
"_ERROR = 'No valid ElementTree XML parser module found'",
"if not _IRONPYTHON:\n try:\n from xml.etree import cElementTree as ET\n except ImportError:\n try:\n import cEl... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0352,
0.0023,
0,
0.66,
0,
654,
0,
1,
0,
0,
654,
0,
0
],
[
1,
0,
0.0376,
0.0023,
0,
0.66,
0.0303,
426,
0,
1,
0,
0,
426,
0,
0
],
[
1,
0,
0.0423,
0.0023,
0,
... | [
"import time",
"import datetime",
"from .normalizing import normalize",
"from .misc import plural_or_not",
"def _get_timetuple(epoch_secs=None):\n if epoch_secs is None: # can also be 0 (at least in unit tests)\n epoch_secs = time.time()\n secs, millis = _float_secs_to_secs_and_millis(epoch_se... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2273,
0.0152,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
14,
0,
0.2727,
0.0152,
0,
0.66,
0.25,
44,
3,
1,
0,
0,
821,
10,
1
],
[
14,
0,
0.2879,
0.0152,
0,
... | [
"import re",
"_ESCAPE_RE = re.compile(r'(\\\\+)([^\\\\]{0,2})') # escapes and nextchars",
"_SEQS_TO_BE_ESCAPED = ('\\\\', '${', '@{', '%{', '&{', '*{' , '=')",
"def escape(item):\n if not isinstance(item, basestring):\n return item\n for seq in _SEQS_TO_BE_ESCAPED:\n if seq in item:\n ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.12,
0.008,
0,
0.66,
0,
878,
0,
1,
0,
0,
878,
0,
0
],
[
1,
0,
0.128,
0.008,
0,
0.66,
0.1,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.144,
0.008,
0,
0.66,
... | [
"import inspect",
"import sys",
"from .unic import unic",
"def printable_name(string, code_style=False):\n \"\"\"Generates and returns printable name from the given string.\n\n Examples:\n 'simple' -> 'Simple'\n 'name with spaces' -> 'Name With Spaces'\n 'more spaces' -> 'More Sp... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.163,
0.1159,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
2,
0,
0.2536,
0.0507,
0,
0.66,
0.25,
601,
0,
1,
1,
0,
0,
0,
3
],
[
14,
1,
0.2391,
0.0072,
1,
0.75,
... | [
"\"\"\"A module to handle different character widths on the console.\n\nSome East Asian characters have width of two on console, and combining\ncharacters themselves take no extra space.\n\nSee issue 604 [1] for more details about East Asian characters. The issue also\ncontains `generate_wild_chars.py` script that ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2,
0.0133,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.2133,
0.0133,
0,
0.66,
0.1,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.24,
0.0133,
0,
0.66,
... | [
"import os",
"import sys",
"from .encoding import decode_from_system, encode_to_system",
"from .unic import unic",
"def get_env_var(name, default=None):\n value = _get_env_var_from_java(name)\n if value is not None:\n return value\n try:\n value = os.environ[_encode(name)]\n except... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.3191,
0.0213,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.3617,
0.0213,
0,
0.66,
0.1,
715,
0,
2,
0,
0,
715,
0,
0
],
[
14,
0,
0.4255,
0.0213,
0,
0.... | [
"import re",
"from .htmlformatters import LinkFormatter, HtmlFormatter",
"_format_url = LinkFormatter().format_url",
"_generic_escapes = (('&', '&'), ('<', '<'), ('>', '>'))",
"_attribute_escapes = _generic_escapes \\\n + (('\"', '"'), ('\\n', ' '), ('\\r', ' '), ('\\t', '	... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1724,
0.0115,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
4,
0,
0.3908,
0.2184,
0,
0.66,
0.1667,
0,
3,
0,
0,
0,
0,
0,
9
],
[
1,
1,
0.2989,
0.0115,
1,
0.1,... | [
"import sys",
"if sys.platform.startswith('java'):\n from java.lang import Object, Class\n def unic(item, *args):\n # http://bugs.jython.org/issue1564\n if isinstance(item, Object) and not isinstance(item, Class):\n try:\n item = item.toString() # http://bugs.jython.... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0843,
0.0056,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.0899,
0.0056,
0,
0.66,
0.1429,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0955,
0.0056,
0,
... | [
"import re",
"import sys",
"from UserDict import UserDict",
"_WHITESPACE_REGEXP = re.compile('\\s+')",
"def normalize(string, ignore=(), caseless=True, spaceless=True):\n \"\"\"Normalizes given string according to given spec.\n\n By default string is turned to lower case and all whitespace is removed.... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.3208,
0.0943,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.3962,
0.0189,
0,
0.66,
0.0435,
215,
0,
1,
0,
0,
215,
0,
0
],
[
1,
0,
0.4151,
0.0189,
0,
0.66... | [
"\"\"\"Various generic utility classes and functions.\n\nProvided utilities are generally stable, but absolute backwards compatibility\nbetween major versions is not guaranteed.\n\"\"\"",
"from .argumentparser import ArgumentParser",
"from .application import Application",
"from .compress import compress_text... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.054,
0.0036,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.0576,
0.0036,
0,
0.66,
0.0769,
711,
0,
1,
0,
0,
711,
0,
0
],
[
1,
0,
0.0612,
0.0036,
0,
0... | [
"import re",
"from functools import partial",
"from itertools import cycle",
"class LinkFormatter(object):\n _image_exts = ('.jpg', '.jpeg', '.png', '.gif', '.bmp')\n _link = re.compile('\\[(.+?\\|.*?)\\]')\n _url = re.compile('''\n((^|\\ ) [\"'\\(\\[]*) # begin of line or space and opt. an... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1181,
0.0079,
0,
0.66,
0,
901,
0,
1,
0,
0,
901,
0,
0
],
[
3,
0,
0.5157,
0.7559,
0,
0.66,
0.5,
797,
0,
9,
0,
0,
0,
0,
17
],
[
8,
1,
0.189,
0.0709,
1,
0.68,... | [
"from normalizing import NormalizedDict",
"class ConnectionCache:\n\n \"\"\"Connection cache for different Robot test libraries that use connections.\n\n This cache stores connections and allows switching between them using\n generated indexes or user given aliases. Can be used for example by web\n te... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1648,
0.011,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.1758,
0.011,
0,
0.66,
0.1429,
711,
0,
1,
0,
0,
711,
0,
0
],
[
1,
0,
0.1978,
0.011,
0,
0.6... | [
"import re",
"from functools import partial",
"from .normalizing import normalize",
"def eq(str1, str2, ignore=(), caseless=True, spaceless=True):\n str1 = normalize(str1, ignore, caseless, spaceless)\n str2 = normalize(str2, ignore, caseless, spaceless)\n return str1 == str2",
" str1 = normaliz... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
3,
0,
0.5568,
0.4091,
0,
0.66,
0,
235,
0,
3,
0,
0,
186,
0,
4
],
[
2,
1,
0.4318,
0.0682,
1,
0.88,
0,
555,
0,
2,
0,
0,
0,
0,
0
],
[
14,
2,
0.4318,
0.0227,
2,
0.56,
... | [
"class setter(object):\n\n def __init__(self, method):\n self.method = method\n self.attr_name = '_setter__' + method.__name__\n\n def __get__(self, instance, owner):\n if instance is None:",
" def __init__(self, method):\n self.method = method\n self.attr_name = '_sett... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1339,
0.0089,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.1429,
0.0089,
0,
0.66,
0.1111,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.1607,
0.0089,
0,
... | [
"import os",
"import sys",
"from robot.errors import DataError",
"from robot.running import TestLibrary, UserLibrary",
"from robot.parsing import disable_curdir_processing",
"from robot import utils",
"from .model import LibraryDoc, KeywordDoc",
"class LibraryDocBuilder(object):\n _argument_separat... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2206,
0.0147,
0,
0.66,
0,
777,
0,
1,
0,
0,
777,
0,
0
],
[
1,
0,
0.25,
0.0147,
0,
0.66,
0.2,
417,
0,
1,
0,
0,
417,
0,
0
],
[
1,
0,
0.2794,
0.0147,
0,
0.66,... | [
"from __future__ import with_statement",
"from robot.utils import setter",
"from .writer import LibdocWriter",
"from .output import LibdocOutput",
"class LibraryDoc(object):\n\n def __init__(self, name='', doc='', version='', type='library',\n scope='', named_args=False, doc_format=''):\n... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1014,
0.0068,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.1081,
0.0068,
0,
0.66,
0.1111,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.1216,
0.0068,
0,
... | [
"import os",
"import re",
"from robot.errors import DataError",
"from robot.htmldata import HtmlFileWriter, ModelWriter, JsonWriter, LIBDOC",
"from robot import utils",
"class LibdocHtmlWriter(object):\n\n def write(self, libdoc, output):\n model_writer = LibdocModelWriter(output, libdoc)\n ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.4167,
0.0278,
0,
0.66,
0,
220,
0,
1,
0,
0,
220,
0,
0
],
[
1,
0,
0.4444,
0.0278,
0,
0.66,
0.5,
688,
0,
1,
0,
0,
688,
0,
0
],
[
3,
0,
0.7639,
0.5,
0,
0.66,
... | [
"import codecs",
"import os",
"class LibdocOutput(object):\n\n def __init__(self, output_path, format):\n self._output_path = output_path\n self._format = format.upper()\n self._output_file = None\n\n def __enter__(self):",
" def __init__(self, output_path, format):\n self... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.3571,
0.0238,
0,
0.66,
0,
417,
0,
2,
0,
0,
417,
0,
0
],
[
3,
0,
0.7143,
0.5952,
0,
0.66,
1,
163,
0,
2,
0,
0,
186,
0,
17
],
[
2,
1,
0.619,
0.3095,
1,
0.05,... | [
"from robot.utils import XmlWriter, get_timestamp",
"class LibdocXmlWriter(object):\n\n def write(self, libdoc, outfile):\n writer = XmlWriter(outfile, encoding='UTF-8')\n writer.start('keywordspec', {'name': libdoc.name, 'type': libdoc.type,\n 'format': libdoc... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1389,
0.0093,
0,
0.66,
0,
641,
0,
1,
0,
0,
641,
0,
0
],
[
1,
0,
0.1574,
0.0093,
0,
0.66,
0.25,
417,
0,
2,
0,
0,
417,
0,
0
],
[
1,
0,
0.1667,
0.0093,
0,
0.... | [
"import textwrap",
"from robot.utils import MultiMatcher, encode_output",
"from robot.errors import DataError",
"class ConsoleViewer(object):\n\n def __init__(self, libdoc):\n self._libdoc = libdoc\n self._keywords = KeywordMatcher(libdoc)\n\n @classmethod\n def handles(cls, command):",... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1402,
0.0093,
0,
0.66,
0,
299,
0,
1,
0,
0,
299,
0,
0
],
[
1,
0,
0.1495,
0.0093,
0,
0.66,
0.25,
735,
0,
1,
0,
0,
735,
0,
0
],
[
1,
0,
0.1682,
0.0093,
0,
0.... | [
"from robot.errors import DataError",
"from robot import utils",
"from .model import LibraryDoc, KeywordDoc",
"class JavaDocBuilder(object):\n\n def build(self, path):\n doc = ClassDoc(path)\n libdoc = LibraryDoc(name=doc.qualifiedName(),\n doc=self._get_doc(doc),\n... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.3889,
0.1333,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.4889,
0.0222,
0,
0.66,
0.2,
299,
0,
1,
0,
0,
299,
0,
0
],
[
1,
0,
0.5111,
0.0222,
0,
0.66,
... | [
"\"\"\"Implements `libdoc` tool.\n\nFor programmatic entry point, see :mod:`robot.libdoc`.\n\nThis package is considered stable.\n\"\"\"",
"from robot.errors import DataError",
"from robot.utils import get_error_message",
"from .builder import DocumentationBuilder",
"from .consoleviewer import ConsoleViewer... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.3947,
0.0263,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.4211,
0.0263,
0,
0.66,
0.1429,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.4737,
0.0263,
0,
... | [
"import sys",
"import os",
"from robot.parsing import VALID_EXTENSIONS as RESOURCE_EXTENSIONS",
"from robot.errors import DataError",
"from .robotbuilder import LibraryDocBuilder, ResourceDocBuilder",
"from .specbuilder import SpecDocBuilder",
"if sys.platform.startswith('java'):\n from .javabuilder ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.5556,
0.037,
0,
0.66,
0,
299,
0,
1,
0,
0,
299,
0,
0
],
[
1,
0,
0.6296,
0.037,
0,
0.66,
0.3333,
548,
0,
1,
0,
0,
548,
0,
0
],
[
1,
0,
0.6667,
0.037,
0,
0.6... | [
"from robot.errors import DataError",
"from .htmlwriter import LibdocHtmlWriter",
"from .xmlwriter import LibdocXmlWriter",
"def LibdocWriter(format=None):\n format = (format or 'HTML').upper()\n if format == 'HTML':\n return LibdocHtmlWriter()\n if format == 'XML':\n return LibdocXmlWr... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.25,
0.0167,
0,
0.66,
0,
777,
0,
1,
0,
0,
777,
0,
0
],
[
1,
0,
0.2667,
0.0167,
0,
0.66,
0.2,
79,
0,
1,
0,
0,
79,
0,
0
],
[
1,
0,
0.3,
0.0167,
0,
0.66,
... | [
"from __future__ import with_statement",
"import os.path",
"from robot.errors import DataError",
"from robot.utils import ET, ETSource",
"from .model import LibraryDoc, KeywordDoc",
"class SpecDocBuilder(object):\n\n def build(self, path):\n spec = self._parse_spec(path)\n libdoc = Librar... |
#!/usr/bin/env python
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | [
[
14,
0,
0.1818,
0.2136,
0,
0.66,
0,
952,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2955,
0.0045,
0,
0.66,
0.0588,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.3,
0.0045,
0,
0.66... | [
"USAGE = \"\"\"robot.testdoc -- Robot Framework test data documentation tool\n\nVersion: <VERSION>\n\nUsage: python -m robot.testdoc [options] data_sources output_file\n\nTestdoc generates a high level test documentation based on Robot Framework\ntest data. Generated documentation includes name, documentation and... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
14,
0,
0.5962,
0.0769,
0,
0.66,
0,
112,
0,
0,
0,
0,
0,
5,
0
],
[
3,
0,
0.8654,
0.3077,
0,
0.66,
1,
466,
0,
2,
0,
0,
186,
0,
2
],
[
14,
1,
0.7692,
0.0385,
1,
0.97,... | [
"RESERVED_KEYWORDS = ['for', 'while', 'break', 'continue', 'end',\n 'if', 'else', 'elif', 'else if', 'return']",
"class Reserved(object):\n ROBOT_LIBRARY_SCOPE = 'GLOBAL'\n\n def get_keyword_names(self):\n return RESERVED_KEYWORDS\n\n def run_keyword(self, name, args):\n ... |
# Copyright 2008-2013 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0408,
0.0029,
0,
0.66,
0,
777,
0,
1,
0,
0,
777,
0,
0
],
[
1,
0,
0.0466,
0.0029,
0,
0.66,
0.1,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.0496,
0.0029,
0,
0.6... | [
"from __future__ import with_statement",
"import os",
"import signal",
"import subprocess",
"import sys",
"import tempfile",
"from robot.utils import ConnectionCache",
"from robot.version import get_version",
"class Process(object):\n \"\"\"Robot Framework test library for running processes.\n\n ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
2,
0,
0.9167,
0.2222,
0,
0.66,
0,
93,
0,
1,
0,
0,
0,
0,
2
],
[
4,
1,
0.9167,
0.1111,
1,
0.35,
0,
0,
0,
0,
0,
0,
0,
0,
1
],
[
8,
1,
1,
0.0556,
1,
0.35,
1,
... | [
"def none_shall_pass(who):\n if who is not None:\n raise AssertionError('None shall pass!')\n print('*HTML* <object width=\"480\" height=\"385\"><param name=\"movie\" value=\"http://www.youtube.com/v/dhRUe-gz690&hl=en_US&fs=1&rel=0&color1=0x234900&color2=0x4e9e00\"></param><param name=\"allowFullScreen... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
3,
0,
0.407,
0.093,
0,
0.66,
0,
873,
0,
1,
0,
0,
0,
0,
1
],
[
2,
1,
0.4302,
0.0465,
1,
0.12,
0,
555,
0,
1,
0,
0,
0,
0,
1
],
[
3,
0,
0.5465,
0.093,
0,
0.66,
0.... | [
"class _AbstractWinformsDialog:\n\n def __init__(self):\n raise RuntimeError('This keyword is not yet implemented with IronPython')",
" def __init__(self):\n raise RuntimeError('This keyword is not yet implemented with IronPython')",
"class MessageDialog(_AbstractWinformsDialog):\n\n def ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.045,
0.003,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.048,
0.003,
0,
0.66,
0.1111,
688,
0,
1,
0,
0,
688,
0,
0
],
[
4,
0,
0.0841,
0.0691,
0,
0.66... | [
"import sys",
"import os",
"if sys.platform.startswith('java'):\n from java.awt import Toolkit, Robot, Rectangle\n from javax.imageio import ImageIO\n from java.io import File\nelif sys.platform == 'cli':\n import clr\n clr.AddReference('System.Windows.Forms')\n clr.AddReference('System.Drawin... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.2136,
0.1456,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.301,
0.0097,
0,
0.66,
0.1111,
509,
0,
1,
0,
0,
509,
0,
0
],
[
4,
0,
0.3447,
0.0583,
0,
0.66,... | [
"\"\"\"A test library providing dialogs for interacting with users.\n\n`Dialogs` is Robot Framework's standard library that provides means\nfor pausing the test execution and getting input from users. The\ndialogs are slightly different depending on are tests run on Python or\nJython but they provide the same funct... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0186,
0.0012,
0,
0.66,
0,
777,
0,
1,
0,
0,
777,
0,
0
],
[
1,
0,
0.0199,
0.0012,
0,
0.66,
0.1,
479,
0,
1,
0,
0,
479,
0,
0
],
[
1,
0,
0.0211,
0.0012,
0,
0.6... | [
"from __future__ import with_statement",
"from contextlib import contextmanager",
"import telnetlib",
"import time",
"import re",
"import inspect",
"from robot.api import logger",
"from robot.version import get_version",
"from robot import utils",
"class Telnet:\n \"\"\"A test library providing... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.3333,
0.0208,
0,
0.66,
0,
59,
0,
1,
0,
0,
59,
0,
0
],
[
14,
0,
0.375,
0.0208,
0,
0.66,
0.5,
308,
3,
0,
0,
0,
59,
10,
1
],
[
3,
0,
0.7083,
0.6042,
0,
0.66,... | [
"import OperatingSystem",
"OPSYS = OperatingSystem.OperatingSystem()",
"class DeprecatedOperatingSystem:\n ROBOT_LIBRARY_SCOPE = 'GLOBAL'\n\n delete_environment_variable = OPSYS.remove_environment_variable\n environment_variable_is_set = OPSYS.environment_variable_should_be_set\n environment_variabl... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1798,
0.0112,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.191,
0.0112,
0,
0.66,
0.2,
626,
0,
1,
0,
0,
626,
0,
0
],
[
1,
0,
0.2247,
0.0112,
0,
0.66... | [
"import re",
"import fnmatch",
"from robot.utils import asserts",
"import BuiltIn",
"BUILTIN = BuiltIn.BuiltIn()",
"class DeprecatedBuiltIn:\n ROBOT_LIBRARY_SCOPE = 'GLOBAL'\n\n integer = BUILTIN.convert_to_integer\n float = BUILTIN.convert_to_number\n string = BUILTIN.convert_to_string\n b... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0968,
0.0065,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.1032,
0.0065,
0,
0.66,
0.1429,
83,
0,
1,
0,
0,
83,
0,
0
],
[
1,
0,
0.1129,
0.0129,
0,
0.... | [
"import sys",
"from threading import currentThread",
"from Tkinter import (Tk, Toplevel, Frame, Listbox, Label, Button, Entry,\n BOTH, END, LEFT, W)",
"class _TkDialog(Toplevel):\n _left_button = 'OK'\n _right_button = 'Cancel'\n\n def __init__(self, message, value=None):\n ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.012,
0.0008,
0,
0.66,
0,
777,
0,
1,
0,
0,
777,
0,
0
],
[
1,
0,
0.0136,
0.0008,
0,
0.66,
0.0909,
739,
0,
1,
0,
0,
739,
0,
0
],
[
1,
0,
0.0144,
0.0008,
0,
0... | [
"from __future__ import with_statement",
"import copy",
"import re",
"from robot.api import logger",
"from robot.libraries.BuiltIn import BuiltIn",
"from robot.utils import asserts, ET, ETSource, plural_or_not as s",
"from robot.version import get_version",
"should_be_equal = asserts.assert_equals",
... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0297,
0.002,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.0317,
0.002,
0,
0.66,
0.1429,
626,
0,
1,
0,
0,
626,
0,
0
],
[
1,
0,
0.0337,
0.002,
0,
0.6... | [
"import re",
"from fnmatch import fnmatchcase",
"from random import randint",
"from string import ascii_lowercase, ascii_uppercase, digits",
"from robot.api import logger",
"from robot.utils import unic",
"from robot.version import get_version",
"class String:\n \"\"\"A test library for string mani... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
1,
0.0667,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
]
] | [
"\"\"\"Contains Robot Framework standard test libraries.\"\"\""
] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1807,
0.012,
0,
0.66,
0,
654,
0,
1,
0,
0,
654,
0,
0
],
[
1,
0,
0.1928,
0.012,
0,
0.66,
0.125,
828,
0,
1,
0,
0,
828,
0,
0
],
[
1,
0,
0.2108,
0.0241,
0,
0.6... | [
"import time",
"from javax.swing import JOptionPane",
"from javax.swing.JOptionPane import PLAIN_MESSAGE, UNINITIALIZED_VALUE, \\\n YES_NO_OPTION, OK_CANCEL_OPTION, DEFAULT_OPTION",
"class _SwingDialog(object):\n\n def __init__(self, pane):\n self._pane = pane\n\n def show(self):\n self... |
#!/usr/bin/env python
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | [
[
14,
0,
0.3936,
0.7117,
0,
0.66,
0,
952,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.7529,
0.0023,
0,
0.66,
0.0714,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.7551,
0.0023,
0,
0... | [
"USAGE = \"\"\"Robot Framework -- A generic test automation framework\n\nVersion: <VERSION>\n\nUsage: pybot|jybot|ipybot [options] data_sources\n or: python|jython|ipy -m robot.run [options] data_sources\n or: python|jython|ipy path/to/robot/run.py [options] data_sources\n or: java -jar robotframework.ja... |
#!/usr/bin/env python
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | [
[
14,
0,
0.209,
0.2948,
0,
0.66,
0,
952,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.3619,
0.0037,
0,
0.66,
0.0833,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.3657,
0.0037,
0,
0.... | [
"USAGE = \"\"\"robot.tidy -- Robot Framework test data clean-up tool\n\nVersion: <VERSION>\n\nUsage: python -m robot.tidy [options] inputfile\n or: python -m robot.tidy [options] inputfile [outputfile]\n or: python -m robot.tidy --inplace [options] inputfile [more input files]\n or: python -m robot.tidy ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0446,
0.003,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.0506,
0.003,
0,
0.66,
0.05,
122,
0,
2,
0,
0,
122,
0,
0
],
[
1,
0,
0.0536,
0.003,
0,
0.66,... | [
"import re",
"from .comments import CommentCache, Comments",
"from .settings import Documentation, MetadataList",
"class Populator(object):\n \"\"\"Explicit interface for all populators.\"\"\"\n\n def add(self, row):\n raise NotImplementedError\n\n def populate(self):\n raise NotImpleme... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0223,
0.0015,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.0238,
0.0015,
0,
0.66,
0.0323,
739,
0,
1,
0,
0,
739,
0,
0
],
[
1,
0,
0.0267,
0.0015,
0,
... | [
"import os",
"import copy",
"from robot.errors import DataError",
"from robot.variables import is_var",
"from robot.output import LOGGER",
"from robot import utils",
"from robot.writer import DataFileWriter",
"from .comments import Comment",
"from .populators import FromFilePopulator, FromDirectoryP... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.4412,
0.0294,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.5,
0.0294,
0,
0.66,
0.5,
276,
0,
1,
0,
0,
276,
0,
0
],
[
3,
0,
0.7941,
0.4412,
0,
0.66,
... | [
"import re",
"from .tsvreader import TsvReader",
"class TxtReader(TsvReader):\n _space_splitter = re.compile(' {2,}')\n _pipe_splitter = re.compile(' \\|(?= )')\n\n @classmethod\n def split_row(cls, row):\n if '\\t' in row:\n row = row.replace('\\t', ' ')",
" _space_splitter ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2941,
0.0196,
0,
0.66,
0,
220,
0,
1,
0,
0,
220,
0,
0
],
[
14,
0,
0.3529,
0.0196,
0,
0.66,
0.5,
635,
1,
0,
0,
0,
0,
3,
0
],
[
3,
0,
0.7059,
0.6078,
0,
0.66... | [
"from codecs import BOM_UTF8",
"NBSP = u'\\xA0'",
"class TsvReader:\n\n def read(self, tsvfile, populator):\n process = False\n for index, row in enumerate(tsvfile.readlines()):\n row = self._decode_row(row, index == 0)\n cells = [self._process(cell) for cell in self.split... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0462,
0.0031,
0,
0.66,
0,
122,
0,
1,
0,
0,
122,
0,
0
],
[
3,
0,
0.1477,
0.1877,
0,
0.66,
0.0588,
155,
0,
16,
0,
0,
186,
0,
16
],
[
2,
1,
0.0677,
0.0154,
1,
... | [
"from .comments import Comment",
"class Setting(object):\n\n def __init__(self, setting_name, parent=None, comment=None):\n self.setting_name = setting_name\n self.parent = parent\n self._set_initial_value()\n self._set_comment(comment)",
" def __init__(self, setting_name, pare... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
3,
0,
0.3559,
0.1864,
0,
0.66,
0,
861,
0,
3,
0,
0,
186,
0,
3
],
[
2,
1,
0.3136,
0.0339,
1,
0.87,
0,
555,
0,
1,
0,
0,
0,
0,
0
],
[
14,
2,
0.322,
0.0169,
2,
0.6,
... | [
"class CommentCache(object):\n\n def __init__(self):\n self._comments = []\n\n def add(self, comment):\n self._comments.append(comment)",
" def __init__(self):\n self._comments = []",
" self._comments = []",
" def add(self, comment):\n self._comments.append(comme... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1402,
0.0093,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
3,
0,
0.5841,
0.8411,
0,
0.66,
1,
207,
0,
19,
0,
0,
186,
0,
27
],
[
14,
1,
0.1776,
0.0093,
1,
0.... | [
"import re",
"class DataRow(object):\n _row_continuation_marker = '...'\n _whitespace_regexp = re.compile('\\s+')\n _ye_olde_metadata_prefix = 'meta:'\n\n def __init__(self, cells):\n self.cells, self.comments = self._parse(cells)",
" _row_continuation_marker = '...'",
" _whitespace_r... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.4904,
0.4231,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.7308,
0.0192,
0,
0.66,
0.25,
722,
0,
4,
0,
0,
722,
0,
0
],
[
1,
0,
0.75,
0.0192,
0,
0.66,
... | [
"\"\"\"Implements parsing of test data files.\n\nClasses :class:`~.model.TestCaseFile`, :class:`~.model.TestDataDirectory` and\n:class:`~.model.ResourceFile` represented parsed test data. These can be\nmodified and saved back to disk. In addition, a convenience factory function\n:func:`~.model.TestData` can be used... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2679,
0.0179,
0,
0.66,
0,
516,
0,
1,
0,
0,
516,
0,
0
],
[
1,
0,
0.2857,
0.0179,
0,
0.66,
0.25,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.3214,
0.0179,
0,
0.... | [
"import tempfile",
"import os",
"from robot.errors import DataError",
"from .htmlreader import HtmlReader",
"def RestReader():\n try:\n from docutils.core import publish_cmdline\n from docutils.parsers.rst import directives\n except ImportError:\n raise DataError(\"Using reStructu... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0847,
0.0053,
0,
0.66,
0,
217,
0,
1,
0,
0,
217,
0,
0
],
[
1,
0,
0.0899,
0.0053,
0,
0.66,
0.3333,
744,
0,
1,
0,
0,
744,
0,
0
],
[
14,
0,
0.1058,
0.0053,
0,
... | [
"import HTMLParser",
"from htmlentitydefs import entitydefs",
"NON_BREAKING_SPACE = u'\\xA0'",
"class HtmlReader(HTMLParser.HTMLParser):\n IGNORE = 0\n INITIAL = 1\n PROCESS = 2\n\n def __init__(self):\n HTMLParser.HTMLParser.__init__(self)\n self._encoding = 'ISO-8859-1'",
" IG... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1293,
0.0086,
0,
0.66,
0,
735,
0,
1,
0,
0,
735,
0,
0
],
[
1,
0,
0.1379,
0.0086,
0,
0.66,
0.5,
299,
0,
1,
0,
0,
299,
0,
0
],
[
3,
0,
0.5819,
0.8448,
0,
0.6... | [
"from robot import utils",
"from robot.errors import DataError",
"class SuiteConfigurer(object):\n\n def __init__(self, name=None, doc=None, metadata=None, set_tags=None,\n include_tags=None, exclude_tags=None, include_suites=None,\n include_tests=None, process_empty_suite=Fal... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.7895,
0.0526,
0,
0.66,
0,
735,
0,
1,
0,
0,
735,
0,
0
],
[
3,
0,
0.9737,
0.1053,
0,
0.66,
1,
6,
0,
0,
0,
0,
770,
0,
0
],
[
14,
1,
1,
0.0526,
1,
0.06,
0... | [
"from robot import model",
"class Message(model.Message):\n __slots__ = []",
" __slots__ = []"
] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.3409,
0.0227,
0,
0.66,
0,
275,
0,
1,
0,
0,
275,
0,
0
],
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0.3333,
417,
0,
1,
0,
0,
417,
0,
0
],
[
1,
0,
0.4091,
0.0227,
0,
... | [
"from robot.model import ItemList",
"from robot.utils import setter",
"from .message import Message",
"class ExecutionErrors(object):\n message_class = Message\n\n def __init__(self, messages=None):\n self.messages = messages\n\n @setter\n def messages(self, msgs):",
" message_class = ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0644,
0.0043,
0,
0.66,
0,
299,
0,
1,
0,
0,
299,
0,
0
],
[
3,
0,
0.1009,
0.0515,
0,
0.66,
0.0455,
877,
0,
3,
0,
0,
186,
0,
5
],
[
2,
1,
0.088,
0.0086,
1,
0... | [
"from robot.errors import DataError",
"class XmlElementHandler(object):\n\n def __init__(self, execution_result, root_handler=None):\n self._stack = [(execution_result, root_handler or RootHandler())]\n\n def start(self, elem):\n result, handler = self._stack[-1]\n self._stack.append(ha... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2727,
0.0182,
0,
0.66,
0,
735,
0,
2,
0,
0,
735,
0,
0
],
[
1,
0,
0.3091,
0.0182,
0,
0.66,
0.5,
635,
0,
1,
0,
0,
635,
0,
0
],
[
3,
0,
0.6818,
0.6545,
0,
0.6... | [
"from robot import model, utils",
"from .message import Message",
"class Keyword(model.Keyword):\n __slots__ = ['status', 'starttime', 'endtime', 'message']\n message_class = Message\n\n def __init__(self, name='', doc='', args=None, type='kw', timeout='',\n status='FAIL', starttime=Non... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2885,
0.0192,
0,
0.66,
0,
735,
0,
2,
0,
0,
735,
0,
0
],
[
1,
0,
0.3269,
0.0192,
0,
0.66,
0.5,
454,
0,
1,
0,
0,
454,
0,
0
],
[
3,
0,
0.6923,
0.6346,
0,
0.6... | [
"from robot import model, utils",
"from keyword import Keyword",
"class TestCase(model.TestCase):\n __slots__ = ['status', 'message', 'starttime', 'endtime']\n keyword_class = Keyword\n\n def __init__(self, name='', doc='', tags=None, timeout='', status='FAIL',\n message='', starttime=N... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1613,
0.0108,
0,
0.66,
0,
777,
0,
1,
0,
0,
777,
0,
0
],
[
1,
0,
0.1828,
0.0108,
0,
0.66,
0.1111,
299,
0,
1,
0,
0,
299,
0,
0
],
[
1,
0,
0.1935,
0.0108,
0,
... | [
"from __future__ import with_statement",
"from robot.errors import DataError",
"from robot.utils import ET, ETSource, get_error_message",
"from .suiteteardownfailed import SuiteTeardownFailureHandler",
"from .xmlelementhandlers import XmlElementHandler",
"from .executionresult import Result, CombinedResul... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1923,
0.0128,
0,
0.66,
0,
808,
0,
1,
0,
0,
808,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.1429,
275,
0,
1,
0,
0,
275,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"from itertools import chain",
"from robot.model import TotalStatisticsBuilder",
"from robot import model, utils",
"from .messagefilter import MessageFilter",
"from .keywordremover import KeywordRemover",
"from .keyword import Keyword",
"from .testcase import TestCase",
"class TestSuite(model.TestSuit... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1119,
0.0075,
0,
0.66,
0,
735,
0,
1,
0,
0,
735,
0,
0
],
[
1,
0,
0.1269,
0.0075,
0,
0.66,
0.1111,
275,
0,
2,
0,
0,
275,
0,
0
],
[
2,
0,
0.1716,
0.0522,
0,
... | [
"from robot import utils",
"from robot.model import SuiteVisitor, SkipAllVisitor",
"def KeywordRemover(how):\n return {\n 'PASSED': PassedKeywordRemover,\n 'FOR': ForLoopItemsRemover,\n 'ALL': AllKeywordsRemover,\n 'WUKS': WaitUntilKeywordSucceedsRemover,\n }.get(how.upper(), S... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2027,
0.0135,
0,
0.66,
0,
777,
0,
1,
0,
0,
777,
0,
0
],
[
1,
0,
0.2297,
0.0135,
0,
0.66,
0.1429,
275,
0,
1,
0,
0,
275,
0,
0
],
[
1,
0,
0.2432,
0.0135,
0,
... | [
"from __future__ import with_statement",
"from robot.model import Statistics",
"from robot.reporting.outputwriter import OutputWriter",
"from .executionerrors import ExecutionErrors",
"from .configurer import SuiteConfigurer",
"from .testsuite import TestSuite",
"class Result(object):\n \"\"\"Contain... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.5556,
0.037,
0,
0.66,
0,
19,
0,
1,
0,
0,
19,
0,
0
],
[
1,
0,
0.6296,
0.037,
0,
0.66,
0.5,
275,
0,
1,
0,
0,
275,
0,
0
],
[
3,
0,
0.8704,
0.2963,
0,
0.66,
... | [
"from robot.output.loggerhelper import IsLogged",
"from robot.model import SuiteVisitor",
"class MessageFilter(SuiteVisitor):\n\n def __init__(self, loglevel):\n self._is_logged = IsLogged(loglevel or 'TRACE')\n\n def start_keyword(self, keyword):\n keyword.messages = [msg for msg in keyword... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.6912,
0.5294,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
1,
0.0294,
0,
0.66,
1,
216,
0,
1,
0,
0,
216,
0,
0
]
] | [
"\"\"\"Implements parsing results from XML output files.\n\nThe entry point of this API is the :func:`~.resultbuilder.ExecutionResult`\nfactory method, which returns an instance of\n:class:`~.executionresult.Result`.\n\nThis package is considered stable.",
"from .resultbuilder import ExecutionResult"
] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.283,
0.0189,
0,
0.66,
0,
275,
0,
1,
0,
0,
275,
0,
0
],
[
3,
0,
0.5189,
0.3774,
0,
0.66,
0.5,
866,
0,
5,
0,
0,
838,
0,
2
],
[
2,
1,
0.3868,
0.0377,
1,
0.23... | [
"from robot.model import SuiteVisitor",
"class SuiteTeardownFailureHandler(SuiteVisitor):\n\n def __init__(self, suite_generator):\n self._should_handle = suite_generator == 'ROBOT'\n\n def start_suite(self, suite):\n if not self._should_handle:\n return False",
" def __init__(... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1471,
0.0098,
0,
0.66,
0,
275,
0,
1,
0,
0,
275,
0,
0
],
[
3,
0,
0.5882,
0.8333,
0,
0.66,
1,
679,
0,
21,
0,
0,
838,
0,
24
],
[
2,
1,
0.2206,
0.0588,
1,
0.3... | [
"from robot.model import SuiteVisitor",
"class ResultVisitor(SuiteVisitor):\n\n def visit_result(self, result):\n if self.start_result(result) is not False:\n result.suite.visit(self)\n result.statistics.visit(self)\n result.errors.visit(self)\n self.end_resul... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.319,
0.3619,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.5143,
0.0095,
0,
0.66,
0.0909,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.5238,
0.0095,
0,
0.66,... | [
"\"\"\"Public logging API for test libraries.\n\nThis module provides a public API for writing messages to the log file\nand the console. Test libraries can use this API like `logger.info('My\nmessage')` instead of logging through the standard output like `print\n'*INFO* My message'`. In addition to a programmatic ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.61,
0.64,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.96,
0.02,
0,
0.66,
0.3333,
990,
0,
4,
0,
0,
990,
0,
0
],
[
1,
0,
0.98,
0.02,
0,
0.66,
0.6667... | [
"\"\"\"This package exposes the public APIs of Robot Framework.\n\nUnless stated otherwise, the APIs exposed in this module are considered stable,\nand thus safe to use when building external tools on top of Robot Framework.\n\nCurrently exposed APIs are:\n\n * :py:mod:`.logger` for test libraries' logging purpose... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0806,
0.0054,
0,
0.66,
0,
970,
0,
1,
0,
0,
970,
0,
0
],
[
14,
0,
0.1129,
0.0054,
0,
0.66,
0.0714,
755,
1,
0,
0,
0,
0,
1,
0
],
[
14,
0,
0.1183,
0.0054,
0,
... | [
"import utils",
"INFO_PRINTED = 251 # --help or --version",
"DATA_ERROR = 252 # Invalid data or cli args",
"STOPPED_BY_USER = 253 # KeyboardInterrupt or SystemExit",
"FRAMEWORK_ERROR = 255 # Unexpected error",
"class RobotError(Exception):\n \"\"\"Base class for Robot Framework errors.\... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.8824,
0.0588,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
1,
0.0588,
0,
0.66,
1,
168,
0,
2,
0,
0,
168,
0,
0
]
] | [
"\"\"\"Settings for both test execution and output processing.\"\"\"",
"from .settings import RobotSettings, RebotSettings"
] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1056,
0.007,
0,
0.66,
0,
735,
0,
1,
0,
0,
735,
0,
0
],
[
1,
0,
0.1127,
0.007,
0,
0.66,
0.1429,
299,
0,
1,
0,
0,
299,
0,
0
],
[
1,
0,
0.1197,
0.007,
0,
0.6... | [
"from robot import utils",
"from robot.errors import DataError",
"from robot.model import Message as BaseMessage",
"LEVELS = {\n 'NONE' : 6,\n 'ERROR' : 5,\n 'FAIL' : 4,\n 'WARN' : 3,\n 'INFO' : 2,\n 'DEBUG' : 1,\n 'TRACE' : 0,",
"class AbstractLogger:\n\n def __init__(self, level='TRACE'):\n ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1974,
0.0132,
0,
0.66,
0,
471,
0,
1,
0,
0,
471,
0,
0
],
[
1,
0,
0.2237,
0.0132,
0,
0.66,
0.1667,
272,
0,
1,
0,
0,
272,
0,
0
],
[
1,
0,
0.2368,
0.0132,
0,
... | [
"from robot.common.statistics import Statistics",
"from .listeners import Listeners",
"from .logger import LOGGER",
"from .loggerhelper import AbstractLogger",
"from .debugfile import DebugFile",
"from .xmllogger import XmlLogger",
"class Output(AbstractLogger):\n\n def __init__(self, settings):\n ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0679,
0.0045,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0769,
0.0045,
0,
0.66,
0.1429,
735,
0,
1,
0,
0,
735,
0,
0
],
[
1,
0,
0.086,
0.0045,
0,
0... | [
"import sys",
"from robot import utils",
"from .highlighting import AnsiHighlighter, Highlighter, NoHighlighting",
"from .loggerhelper import IsLogged",
"class CommandLineMonitor(object):\n\n def __init__(self, width=78, colors='AUTO', markers='AUTO', stdout=None,\n stderr=None):\n ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2308,
0.0154,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.2615,
0.0154,
0,
0.66,
0.1667,
855,
0,
1,
0,
0,
855,
0,
0
],
[
1,
0,
0.2769,
0.0154,
0,
... | [
"import logging",
"from robot.api import logger",
"from robot import utils",
"LEVELS = {'TRACE': logging.NOTSET,\n 'DEBUG': logging.DEBUG,\n 'INFO': logging.INFO,\n 'WARN': logging.WARNING}",
"def initialize(level):\n logging.raiseExceptions = False\n logging.getLogger().add... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.1496,
0.0079,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.1575,
0.0079,
0,
0.66,
0.1429,
509,
0,
1,
0,
0,
509,
0,
0
],
[
7,
0,
0.1772,
0.0315,
0,
... | [
"import os",
"import sys",
"try:\n from ctypes import windll, Structure, c_short, c_ushort, byref\nexcept ImportError: # Not on Windows or using Jython\n windll = None",
" from ctypes import windll, Structure, c_short, c_ushort, byref",
" windll = None",
"def Highlighter(stream):\n if os.s... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.2632,
0.0175,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.2982,
0.0175,
0,
0.66,
0.3333,
735,
0,
1,
0,
0,
735,
0,
0
],
[
1,
0,
0.3333,
0.0175,
0,
... | [
"import re",
"from robot import utils",
"from .loggerhelper import Message, LEVELS",
"class StdoutLogSplitter(object):\n \"\"\"Splits messages logged through stdout (or stderr) into Message objects\"\"\"\n\n _split_from_levels = re.compile('^(?:\\*'\n '(%s|HTML)' ... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
8,
0,
0.7174,
0.1739,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.8696,
0.0435,
0,
0.66,
0.25,
886,
0,
1,
0,
0,
886,
0,
0
],
[
1,
0,
0.913,
0.0435,
0,
0.66,
... | [
"\"\"\"TImplements runtime logging and listener interface.\n\nThis package is likely to change in RF 2.8.\n\"\"\"",
"from .output import Output",
"from .logger import LOGGER",
"from .xmllogger import XmlLogger",
"from .loggerhelper import LEVELS, Message"
] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.3488,
0.0233,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.3953,
0.0233,
0,
0.66,
0.5,
275,
0,
1,
0,
0,
275,
0,
0
],
[
3,
0,
0.7326,
0.5581,
0,
0.6... | [
"import random",
"from robot.model import SuiteVisitor",
"class Randomizer(SuiteVisitor):\n\n def __init__(self, randomize_suites=True, randomize_tests=True):\n self.randomize_suites = randomize_suites\n self.randomize_tests = randomize_tests\n\n def start_suite(self, suite):\n if not... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.4054,
0.027,
0,
0.66,
0,
735,
0,
1,
0,
0,
735,
0,
0
],
[
1,
0,
0.4595,
0.027,
0,
0.66,
0.25,
589,
0,
1,
0,
0,
589,
0,
0
],
[
3,
0,
0.5676,
0.0811,
0,
0.66... | [
"from robot import model",
"from .randomizer import Randomizer",
"class Keyword(model.Keyword):\n __slots__ = []\n message_class = None # TODO: Remove from base model?",
" __slots__ = []",
" message_class = None # TODO: Remove from base model?",
"class TestCase(model.TestCase):\n __slots_... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
1,
0.0667,
0,
0.66,
0,
722,
0,
3,
0,
0,
722,
0,
0
]
] | [
"from .model import TestSuite, TestCase, Keyword"
] |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.5357,
0.0357,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
4,
0,
0.625,
0.0714,
0,
0.66,
0.1429,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
1,
0.6429,
0.0357,
1,
0.53,... | [
"import sys",
"if 'pythonpathsetter' not in sys.modules:\n from robot import pythonpathsetter as _",
" from robot import pythonpathsetter as _",
"if sys.platform.startswith('java'):\n from robot import jythonworkarounds as _",
" from robot import jythonworkarounds as _",
"from robot.rebot impo... |
#!/usr/bin/env python
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | [
[
14,
0,
0.4083,
0.7189,
0,
0.66,
0,
952,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.7722,
0.003,
0,
0.66,
0.0833,
509,
0,
1,
0,
0,
509,
0,
0
],
[
4,
0,
0.7855,
0.0059,
0,
0.... | [
"USAGE = \"\"\"Rebot -- Robot Framework report and log generator\n\nVersion: <VERSION>\n\nUsage: rebot|jyrebot|ipyrebot [options] robot_outputs\n or: python|jython|ipy -m robot.rebot [options] robot_outputs\n or: python|jython|ipy path/to/robot/rebot.py [options] robot_outputs\n or: java -jar robotframew... |
#!/usr/bin/env python
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | [
[
1,
0,
0.5484,
0.0323,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
4,
0,
0.6935,
0.0645,
0,
0.66,
0.2,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
1,
0.7097,
0.0323,
1,
0.08,
... | [
"import sys",
"if 'robot' not in sys.modules and __name__ == '__main__':\n import pythonpathsetter",
" import pythonpathsetter",
"from robot import run_cli",
"from robot.output import LOGGER",
"LOGGER.warn(\"'robot/runner.py' entry point is deprecated and will be removed \"\n \"in Robot F... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.4054,
0.027,
0,
0.66,
0,
299,
0,
1,
0,
0,
299,
0,
0
],
[
3,
0,
0.7432,
0.5405,
0,
0.66,
1,
290,
0,
3,
0,
0,
0,
0,
1
],
[
8,
1,
0.5811,
0.1622,
1,
0.04,
... | [
"from robot.errors import DataError",
"class UserErrorHandler:\n \"\"\"Created if creating handlers fail -- running raises DataError.\n\n The idea is not to raise DataError at processing time and prevent all\n tests in affected test case file from executing. Instead UserErrorHandler\n is created and i... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
3,
0,
0.7424,
0.5455,
0,
0.66,
0,
776,
0,
3,
0,
0,
0,
0,
2
],
[
2,
1,
0.6515,
0.2424,
1,
0.34,
0,
555,
0,
6,
0,
0,
0,
0,
0
],
[
14,
2,
0.5758,
0.0303,
2,
0.01,
... | [
"class BaseKeyword:\n\n def __init__(self, name='', args=None, doc='', timeout='', type='kw'):\n self.name = name\n self.args = args or []\n self.doc = doc\n self.timeout = timeout\n self.type = type",
" def __init__(self, name='', args=None, doc='', timeout='', type='kw')... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.034,
0.0023,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0385,
0.0023,
0,
0.66,
0.1429,
735,
0,
1,
0,
0,
735,
0,
0
],
[
1,
0,
0.0408,
0.0023,
0,
0... | [
"import random",
"from robot import utils",
"from robot.errors import DataError",
"from .statistics import Stat",
"class _TestAndSuiteHelper:\n _longname = None\n\n def __init__(self, parent=None):\n self.doc = ''\n self.parent = parent\n self.setup = None\n self.teardown =... |
# Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | [
[
1,
0,
0.0453,
0.003,
0,
0.66,
0,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.0514,
0.003,
0,
0.66,
0.0667,
871,
0,
1,
0,
0,
871,
0,
0
],
[
1,
0,
0.0544,
0.003,
0,
0.6... | [
"import re",
"from robot.model.tags import TagPatterns",
"from robot.utils import Matcher, MultiMatcher, NormalizedDict, normalize",
"class Statistics:\n\n def __init__(self, suite, suite_stat_level=-1, tag_stat_include=None,\n tag_stat_exclude=None, tag_stat_combine=None, tag_doc=None,\n ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.