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...
[ [ 1, 0, 0.0974, 0.0065, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.1039, 0.0065, 0, 0.66, 0.2, 351, 0, 1, 0, 0, 351, 0, 0 ], [ 14, 0, 0.1234, 0.0065, 0, 0....
[ "import re", "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.\n Additional...
# 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.0586, 0.0039, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0625, 0.0039, 0, 0.66, 0.0909, 711, 0, 1, 0, 0, 711, 0, 0 ], [ 1, 0, 0.0664, 0.0039, 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. any ch...
# 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.1261, 0.0084, 0, 0.66, 0, 901, 0, 1, 0, 0, 901, 0, 0 ], [ 3, 0, 0.5168, 0.7395, 0, 0.66, 0.5, 797, 0, 8, 0, 0, 0, 0, 16 ], [ 8, 1, 0.2017, 0.0756, 1, 0.23...
[ "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.03, 0, 555, 0, 2, 0, 0, 0, 0, 0 ], [ 14, 2, 0.4318, 0.0227, 2, 0.95, ...
[ "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.121, 0.0081, 0, 0.66, 0, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.129, 0.0081, 0, 0.66, 0.1111, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.1452, 0.0081, 0, 0....
[ "import os", "import sys", "from robot.errors import DataError", "from robot.running import TestLibrary, UserLibrary", "from robot.parsing import populators", "from robot import utils", "from .model import LibraryDoc, KeywordDoc", "class LibraryDocBuilder(object):\n _argument_separator = '::'\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...
[ [ 1, 0, 0.2632, 0.0175, 0, 0.66, 0, 777, 0, 1, 0, 0, 777, 0, 0 ], [ 1, 0, 0.2982, 0.0175, 0, 0.66, 0.2, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 1, 0, 0.3333, 0.0175, 0, 0.6...
[ "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):\n self.na...
# 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.1562, 0.0104, 0, 0.66, 0, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1667, 0.0104, 0, 0.66, 0.1429, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.1875, 0.0104, 0, ...
[ "import os", "import re", "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 HtmlFileWriter(output, model_writer)....
# 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.4545, 0.0303, 0, 0.66, 0, 220, 0, 1, 0, 0, 220, 0, 0 ], [ 3, 0, 0.7727, 0.4848, 0, 0.66, 1, 761, 0, 3, 0, 0, 186, 0, 3 ], [ 2, 1, 0.6515, 0.1212, 1, 0.97,...
[ "import codecs", "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._output_path =...
# 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.3659, 0.0244, 0, 0.66, 0, 417, 0, 2, 0, 0, 417, 0, 0 ], [ 3, 0, 0.7195, 0.5854, 0, 0.66, 1, 163, 0, 2, 0, 0, 186, 0, 17 ], [ 2, 1, 0.622, 0.2927, 1, 0.75,...
[ "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 'generated': get...
# 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.1579, 0.0105, 0, 0.66, 0, 299, 0, 1, 0, 0, 299, 0, 0 ], [ 1, 0, 0.1684, 0.0105, 0, 0.66, 0.25, 735, 0, 1, 0, 0, 735, 0, 0 ], [ 1, 0, 0.1895, 0.0105, 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.5303, 0.1818, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.6667, 0.0303, 0, 0.66, 0.3333, 656, 0, 1, 0, 0, 656, 0, 0 ], [ 1, 0, 0.697, 0.0303, 0, 0.66,...
[ "\"\"\"Implements `libdoc` tool.\n\nFor programmatic entry point, see :mod:`robot.libdoc`.\n\nThis package is considered stable.\n\"\"\"", "from .builder import DocumentationBuilder", "from .consoleviewer import ConsoleViewer", "def LibraryDocumentation(library_or_resource, name=None, version=None):\n buil...
# 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.2885, 0.0192, 0, 0.66, 0, 777, 0, 1, 0, 0, 777, 0, 0 ], [ 1, 0, 0.3269, 0.0192, 0, 0.66, 0.3333, 417, 0, 2, 0, 0, 417, 0, 0 ], [ 1, 0, 0.3654, 0.0192, 0, ...
[ "from __future__ import with_statement", "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 = LibraryDoc(name=spec.get('name'),\n typ...
#!/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.181, 0.2127, 0, 0.66, 0, 952, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.2941, 0.0045, 0, 0.66, 0.0588, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.2986, 0.0045, 0, 0....
[ "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.569, 0.069, 0, 0.66, 0, 112, 0, 0, 0, 0, 0, 5, 0 ], [ 3, 0, 0.8276, 0.3103, 0, 0.66, 1, 466, 0, 2, 0, 0, 0, 0, 2 ], [ 14, 1, 0.7586, 0.0345, 1, 0.11, ...
[ "RESERVED_KEYWORDS = [ 'for', 'while', 'break', 'continue', 'end',\n 'if', 'else', 'elif', 'else if', 'return' ]", "class Reserved:\n\n ROBOT_LIBRARY_SCOPE = 'GLOBAL'\n\n def get_keyword_names(self):\n return RESERVED_KEYWORDS\n\n def run_keyword(self, name, args):", " RO...
# 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.69, 0, 0, 0, 0, 0, 0, 0, 0, 1 ], [ 8, 1, 1, 0.0556, 1, 0.69, 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...
[ [ 8, 0, 0.2174, 0.1196, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.2935, 0.0109, 0, 0.66, 0.1111, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 4, 0, 0.3424, 0.0652, 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.0308, 0.0019, 0, 0.66, 0, 248, 0, 1, 0, 0, 248, 0, 0 ], [ 1, 0, 0.0327, 0.0019, 0, 0.66, 0.1429, 654, 0, 1, 0, 0, 654, 0, 0 ], [ 1, 0, 0.0346, 0.0019, 0, ...
[ "import telnetlib", "import time", "import re", "import inspect", "from robot.version import get_version", "from robot import utils", "class Telnet:\n\n \"\"\"A test library providing communication over Telnet connections.\n\n `Telnet` is Robot Framework's standard library that makes it\n possi...
# 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.0993, 0.0066, 0, 0.66, 0, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.106, 0.0066, 0, 0.66, 0.1429, 83, 0, 1, 0, 0, 83, 0, 0 ], [ 1, 0, 0.1159, 0.0132, 0, 0.6...
[ "import sys", "from threading import currentThread", "from Tkinter import (Tk, Toplevel, Frame, Listbox, Label, Button, Entry,\n BOTH, END, LEFT, W)", "class _AbstractTkDialog(Toplevel):\n _left_button = 'OK'\n _right_button = 'Cancel'\n\n def __init__(self, message, *args):\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.0376, 0.0025, 0, 0.66, 0, 777, 0, 1, 0, 0, 777, 0, 0 ], [ 1, 0, 0.0426, 0.0025, 0, 0.66, 0.1, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0451, 0.0025, 0, 0.6...
[ "from __future__ import with_statement", "import re", "import sys", "from robot.api import logger", "from robot.libraries.BuiltIn import BuiltIn", "from robot.utils import ET, ETSource", "should_be_equal = BuiltIn().should_be_equal", "should_match = BuiltIn().should_match", "class XML(object):\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.0379, 0.0024, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0403, 0.0024, 0, 0.66, 0.2, 626, 0, 1, 0, 0, 626, 0, 0 ], [ 1, 0, 0.0427, 0.0024, 0, 0.6...
[ "import re", "from fnmatch import fnmatchcase", "from random import randint", "from string import ascii_lowercase, ascii_uppercase, digits", "from robot.version import get_version", "class String:\n\n \"\"\"A test library for string manipulation and verification.\n\n `String` is Robot Framework's st...
# 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.2027, 0.0135, 0, 0.66, 0, 654, 0, 1, 0, 0, 654, 0, 0 ], [ 1, 0, 0.2162, 0.0135, 0, 0.66, 0.1429, 828, 0, 1, 0, 0, 828, 0, 0 ], [ 1, 0, 0.2365, 0.027, 0, 0...
[ "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 _AbstractSwingDialog:\n\n def __init__(self, pane):\n self._show_dialog(pane)\n self.result = self._g...
#!/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.4132, 0.7457, 0, 0.66, 0, 952, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.7897, 0.0024, 0, 0.66, 0.0833, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 4, 0, 0.8007, 0.0049, 0, 0...
[ "USAGE = \"\"\"Robot Framework -- A keyword-driven 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 robotframe...
#!/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.2364, 0.3227, 0, 0.66, 0, 952, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.4045, 0.0045, 0, 0.66, 0.0909, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.4091, 0.0045, 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.0462, 0.0031, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0523, 0.0031, 0, 0.66, 0.0476, 458, 0, 2, 0, 0, 458, 0, 0 ], [ 3, 0, 0.0662, 0.0123, 0, ...
[ "import re", "from robot.parsing.settings import Documentation, MetadataList", "class Populator(object):\n \"\"\"Explicit interface for all populators.\"\"\"\n def add(self, row): raise NotImplementedError()\n def populate(self): raise NotImplementedError()", " \"\"\"Explicit interface for all pop...
# 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.0225, 0.0015, 0, 0.66, 0, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.024, 0.0015, 0, 0.66, 0.0333, 739, 0, 1, 0, 0, 739, 0, 0 ], [ 1, 0, 0.027, 0.0015, 0, 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 settings import (Documentation, Fixture, Timeout, Tags, Metadata,\n Library, Resourc...
# 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.4545, 0.0303, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.5152, 0.0303, 0, 0.66, 0.5, 276, 0, 1, 0, 0, 276, 0, 0 ], [ 3, 0, 0.803, 0.4242, 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 row = row.rstrip().replace('\\t', ' ')\n if not row.startswith('| '):", " ...
# 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.3659, 0.0244, 0, 0.66, 0, 220, 0, 1, 0, 0, 220, 0, 0 ], [ 3, 0, 0.7195, 0.5854, 0, 0.66, 1, 619, 0, 3, 0, 0, 0, 0, 17 ], [ 2, 1, 0.6341, 0.3171, 1, 0.47, ...
[ "from codecs import BOM_UTF8", "class TsvReader:\n\n def read(self, tsvfile, populator):\n process = False\n for index, row in enumerate(tsvfile.readlines()):\n if index == 0 and row.startswith(BOM_UTF8):\n row = row[len(BOM_UTF8):]\n cells = [self._process(ce...
# 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.1313, 0.1711, 0, 0.66, 0, 155, 0, 15, 0, 0, 186, 0, 15 ], [ 2, 1, 0.059, 0.0147, 1, 0.76, 0, 555, 0, 4, 0, 0, 0, 0, 2 ], [ 14, 2, 0.056, 0.0029, 2, 0.48, ...
[ "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, parent=None, comment=None):\n 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.1376, 0.0092, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 3, 0, 0.5826, 0.844, 0, 0.66, 1, 207, 0, 19, 0, 0, 186, 0, 28 ], [ 14, 1, 0.1743, 0.0092, 1, 0.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.622, 0.5366, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.9268, 0.0244, 0, 0.66, 0.3333, 722, 0, 4, 0, 0, 722, 0, 0 ], [ 1, 0, 0.9512, 0.0244, 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.0773, 0.0048, 0, 0.66, 0, 217, 0, 1, 0, 0, 217, 0, 0 ], [ 1, 0, 0.0821, 0.0048, 0, 0.66, 0.2, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.087, 0.0048, 0, 0.66...
[ "import HTMLParser", "import sys", "from htmlentitydefs import entitydefs", "extra_entitydefs = {'nbsp': ' ', 'apos': \"'\", 'tilde': '~'}", "class HtmlReader(HTMLParser.HTMLParser):\n IGNORE = 0\n INITIAL = 1\n PROCESS = 2\n\n def __init__(self):\n HTMLParser.HTMLParser.__init__(self)\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.1304, 0.0087, 0, 0.66, 0, 735, 0, 1, 0, 0, 735, 0, 0 ], [ 1, 0, 0.1391, 0.0087, 0, 0.66, 0.5, 299, 0, 1, 0, 0, 299, 0, 0 ], [ 3, 0, 0.5826, 0.8435, 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.44, 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.3659, 0.0244, 0, 0.66, 0, 275, 0, 1, 0, 0, 275, 0, 0 ], [ 1, 0, 0.3902, 0.0244, 0, 0.66, 0.3333, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 1, 0, 0.439, 0.0244, 0, 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.0647, 0.0043, 0, 0.66, 0, 299, 0, 1, 0, 0, 299, 0, 0 ], [ 3, 0, 0.1034, 0.056, 0, 0.66, 0.0455, 877, 0, 3, 0, 0, 186, 0, 6 ], [ 2, 1, 0.0884, 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.2778, 0.0185, 0, 0.66, 0, 735, 0, 2, 0, 0, 735, 0, 0 ], [ 1, 0, 0.3148, 0.0185, 0, 0.66, 0.5, 635, 0, 1, 0, 0, 635, 0, 0 ], [ 3, 0, 0.6852, 0.6481, 0, 0.6...
[ "from robot import model, utils", "from .message import Message", "class Keyword(model.Keyword):\n __slots__ = ['status', 'starttime', 'endtime']\n message_class = Message\n\n def __init__(self, name='', doc='', args=None, type='kw', timeout='',\n status='FAIL', starttime=None, endtime=...
# 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.25, 0.0167, 0, 0.66, 0, 777, 0, 1, 0, 0, 777, 0, 0 ], [ 1, 0, 0.2833, 0.0167, 0, 0.66, 0.1429, 299, 0, 1, 0, 0, 299, 0, 0 ], [ 1, 0, 0.3, 0.0167, 0, 0.66,...
[ "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 testcase import TestCase", "from keyword import Keyword", "class TestSuite(model.TestSuite):\...
# 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.1145, 0.0076, 0, 0.66, 0, 735, 0, 1, 0, 0, 735, 0, 0 ], [ 1, 0, 0.1298, 0.0076, 0, 0.66, 0.1111, 275, 0, 2, 0, 0, 275, 0, 0 ], [ 2, 0, 0.1756, 0.0534, 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.2542, 0.0169, 0, 0.66, 0, 275, 0, 1, 0, 0, 275, 0, 0 ], [ 3, 0, 0.4576, 0.322, 0, 0.66, 0.5, 866, 0, 5, 0, 0, 838, 0, 4 ], [ 2, 1, 0.3475, 0.0339, 1, 0.12...
[ "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.2...
[ "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.3221, 0.3654, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.5192, 0.0096, 0, 0.66, 0.0909, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.5288, 0.0096, 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.0829, 0.0055, 0, 0.66, 0, 970, 0, 1, 0, 0, 970, 0, 0 ], [ 14, 0, 0.116, 0.0055, 0, 0.66, 0.0714, 755, 1, 0, 0, 0, 0, 1, 0 ], [ 14, 0, 0.1215, 0.0055, 0, 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.1087, 0.0072, 0, 0.66, 0, 735, 0, 1, 0, 0, 735, 0, 0 ], [ 1, 0, 0.1159, 0.0072, 0, 0.66, 0.1429, 299, 0, 1, 0, 0, 299, 0, 0 ], [ 1, 0, 0.1232, 0.0072, 0, ...
[ "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.0761, 0.0051, 0, 0.66, 0, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.0863, 0.0051, 0, 0.66, 0.1429, 735, 0, 1, 0, 0, 735, 0, 0 ], [ 1, 0, 0.0964, 0.0051, 0, ...
[ "import sys", "from robot import utils", "from .highlighting import Highlighter, NoHighlighting", "from .loggerhelper import IsLogged", "class CommandLineMonitor(object):\n\n def __init__(self, width=78, colors='AUTO', stdout=None, stderr=None):\n self._writer = CommandLineWriter(width, colors, st...
# 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, 715, 0, 1, 0, 0, 715, 0, 0 ], [ 1, 0, 0.3208, 0.0189, 0, 0.66, 0.2, 855, 0, 1, 0, 0, 855, 0, 0 ], [ 14, 0, 0.4057, 0.0755, 0, 0.6...
[ "import logging", "from robot.api import logger", "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().addHandler(RobotHandler())\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.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.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.03,...
[ "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.409, 0.7194, 0, 0.66, 0, 952, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.7731, 0.003, 0, 0.66, 0.0909, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 4, 0, 0.7866, 0.006, 0, 0.66...
[ "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.35, ...
[ "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.64, ...
[ "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.75, 0.5312, 0, 0.66, 0, 776, 0, 3, 0, 0, 0, 0, 2 ], [ 2, 1, 0.6562, 0.2188, 1, 0.81, 0, 555, 0, 6, 0, 0, 0, 0, 0 ], [ 14, 2, 0.5938, 0.0312, 2, 0.19, ...
[ "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.0346, 0.0023, 0, 0.66, 0, 715, 0, 1, 0, 0, 715, 0, 0 ], [ 1, 0, 0.0392, 0.0023, 0, 0.66, 0.1429, 735, 0, 1, 0, 0, 735, 0, 0 ], [ 1, 0, 0.0415, 0.0023, 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, name, parent=None):\n self.name = name\n self.doc = ''\n self.parent = parent\n self.setup...
# 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.0456, 0.003, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0517, 0.003, 0, 0.66, 0.0667, 871, 0, 1, 0, 0, 871, 0, 0 ], [ 1, 0, 0.0547, 0.003, 0, 0.6...
[ "import re", "from robot.model.tags import TagPatterns", "from robot.utils import Matcher, MultiMatcher, NormalizedDict", "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 ...
# 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.5161, 0.0323, 0, 0.66, 0, 299, 0, 1, 0, 0, 299, 0, 0 ], [ 3, 0, 0.8065, 0.4194, 0, 0.66, 1, 411, 0, 3, 0, 0, 0, 0, 3 ], [ 2, 1, 0.7419, 0.1613, 1, 0.72, ...
[ "from robot.errors import DataError", "class BaseLibrary:\n\n def get_handler(self, name):\n try:\n return self.handlers[name]\n except KeyError:\n raise DataError(\"No keyword handler with name '%s' found\" % name)", " def get_handler(self, name):\n try:\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.6607, 0.2857, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.8571, 0.0357, 0, 0.66, 0.2, 722, 0, 2, 0, 0, 722, 0, 0 ], [ 1, 0, 0.8929, 0.0357, 0, 0.66, ...
[ "\"\"\"Base classes for test execution model.\n\nThis code was earlier used also by test result processing modules but not\nanymore in RF 2.7.\n\nThe whole package is likely to be removed in RF 2.8 when test execution model\nis refactored. No new code should depend on this package.\n\"\"\"", "from .model import 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.4286, 0.0286, 0, 0.66, 0, 260, 0, 1, 0, 0, 260, 0, 0 ], [ 3, 0, 0.7571, 0.5143, 0, 0.66, 1, 415, 0, 5, 0, 0, 838, 0, 4 ], [ 2, 1, 0.6, 0.0857, 1, 0.79, ...
[ "from visitor import SuiteVisitor", "class TagSetter(SuiteVisitor):\n\n def __init__(self, add=None, remove=None):\n self.add = add\n self.remove = remove\n\n def start_suite(self, suite):\n return bool(self)", " def __init__(self, add=None, remove=None):\n self.add = add\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.3125, 0.0208, 0, 0.66, 0, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 1, 0, 0.3542, 0.0208, 0, 0.66, 0.25, 284, 0, 1, 0, 0, 284, 0, 0 ], [ 1, 0, 0.375, 0.0208, 0, 0.6...
[ "from robot.utils import html_escape", "from .itemlist import ItemList", "from .modelobject import ModelObject", "class Message(ModelObject):\n __slots__ = ['message', 'level', 'html', 'timestamp', 'parent']\n\n def __init__(self, message='', level='INFO', html=False, timestamp=None,\n p...
# 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, 487, 0, 1, 0, 0, 487, 0, 0 ], [ 3, 0, 0.75, 0.5278, 0, 0.66, 1, 912, 0, 5, 0, 0, 186, 0, 7 ], [ 2, 1, 0.5833, 0.0833, 1, 0.05, ...
[ "from .tags import TagPatterns", "class Criticality(object):\n\n def __init__(self, critical_tags=None, non_critical_tags=None):\n self.critical_tags = TagPatterns(critical_tags)\n self.non_critical_tags = TagPatterns(non_critical_tags)\n\n def tag_is_critical(self, tag):\n return 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.1304, 0.0087, 0, 0.66, 0, 417, 0, 3, 0, 0, 417, 0, 0 ], [ 3, 0, 0.3043, 0.3043, 0, 0.66, 0.1667, 344, 0, 10, 0, 0, 186, 0, 15 ], [ 2, 1, 0.1783, 0.0174, 1, ...
[ "from robot.utils import normalize_tags, setter, Matcher", "class Tags(object):\n\n def __init__(self, tags=None):\n self._tags = tags\n\n @setter\n def _tags(self, tags):\n if isinstance(tags, basestring):", " def __init__(self, tags=None):\n self._tags = tags", " 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.1064, 0.0071, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.1206, 0.0071, 0, 0.66, 0.1111, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 1, 0, 0.1348, 0.0071, 0, ...
[ "import re", "from robot.utils import NormalizedDict", "from .criticality import Criticality", "from .stats import TagStat, CombinedTagStat", "from .tags import TagPatterns", "class TagStatistics(object):\n\n def __init__(self, combined_stats):\n self.tags = NormalizedDict(ignore=['_'])\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.2239, 0.0149, 0, 0.66, 0, 318, 0, 1, 0, 0, 318, 0, 0 ], [ 3, 0, 0.3657, 0.209, 0, 0.66, 0.5, 210, 0, 3, 0, 0, 186, 0, 2 ], [ 2, 1, 0.3134, 0.0448, 1, 0.93...
[ "from .stats import SuiteStat", "class SuiteStatistics(object):\n\n def __init__(self, suite):\n self.stat = SuiteStat(suite)\n self.suites = []\n\n def visit(self, visitor):\n visitor.visit_suite_statistics(self)", " def __init__(self, suite):\n self.stat = SuiteStat(suite)...
# 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.1546, 0.0103, 0, 0.66, 0, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 1, 0, 0.1753, 0.0103, 0, 0.66, 0.25, 487, 0, 1, 0, 0, 487, 0, 0 ], [ 1, 0, 0.1856, 0.0103, 0, 0....
[ "from robot.utils import setter", "from .tags import TagPatterns", "from .namepatterns import SuiteNamePatterns, TestNamePatterns", "from .visitor import SuiteVisitor", "class Filter(SuiteVisitor):\n\n def __init__(self, include_suites=None, include_tests=None,\n include_tags=None, exclud...
# 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.1852, 0.0123, 0, 0.66, 0, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 1, 0, 0.2099, 0.0123, 0, 0.66, 0.2, 284, 0, 1, 0, 0, 284, 0, 0 ], [ 1, 0, 0.2222, 0.0123, 0, 0.6...
[ "from robot.utils import setter", "from itemlist import ItemList", "from message import Message, Messages", "from modelobject import ModelObject", "class Keyword(ModelObject):\n __slots__ = ['parent', 'name', 'doc', 'args', 'type', 'timeout']\n KEYWORD_TYPE = 'kw'\n SETUP_TYPE = 'setup'\n TEARDO...
# 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.2174, 0.0145, 0, 0.66, 0, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 1, 0, 0.2464, 0.0145, 0, 0.66, 0.1667, 284, 0, 1, 0, 0, 284, 0, 0 ], [ 1, 0, 0.2609, 0.0145, 0, ...
[ "from robot.utils import setter", "from .itemlist import ItemList", "from .keyword import Keyword, Keywords", "from .modelobject import ModelObject", "from .tags import Tags", "class TestCase(ModelObject):\n __slots__ = ['parent', 'name', 'doc', 'timeout']\n keyword_class = Keyword\n\n 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.5769, 0.0385, 0, 0.66, 0, 462, 0, 1, 0, 0, 462, 0, 0 ], [ 3, 0, 0.8462, 0.3462, 0, 0.66, 1, 375, 0, 2, 0, 0, 186, 0, 2 ], [ 14, 1, 0.7308, 0.0385, 1, 0.79...
[ "from robot.utils.setter import SetterAwareType", "class ModelObject(object):\n __slots__ = []\n __metaclass__ = SetterAwareType\n\n def __unicode__(self):\n return self.name\n\n def __str__(self):", " __slots__ = []", " __metaclass__ = SetterAwareType", " def __unicode__(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.1364, 0.0091, 0, 0.66, 0, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 1, 0, 0.1545, 0.0091, 0, 0.66, 0.1, 913, 0, 1, 0, 0, 913, 0, 0 ], [ 1, 0, 0.1636, 0.0091, 0, 0.6...
[ "from robot.utils import setter", "from .criticality import Criticality", "from .filter import Filter", "from .itemlist import ItemList", "from .keyword import Keyword, Keywords", "from .metadata import Metadata", "from .modelobject import ModelObject", "from .tagsetter import TagSetter", "from .tes...
# 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, 318, 0, 1, 0, 0, 318, 0, 0 ], [ 1, 0, 0.2667, 0.0167, 0, 0.66, 0.3333, 260, 0, 1, 0, 0, 260, 0, 0 ], [ 3, 0, 0.5, 0.3833, 0, 0.66,...
[ "from .stats import TotalStat", "from .visitor import SuiteVisitor", "class TotalStatistics(object):\n\n def __init__(self):\n self.critical = TotalStat('Critical Tests')\n self.all = TotalStat('All Tests')\n\n def visit(self, visitor):\n visitor.visit_total_statistics(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.3061, 0.0204, 0, 0.66, 0, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 3, 0, 0.5204, 0.3265, 0, 0.66, 0.3333, 963, 0, 5, 0, 0, 186, 0, 5 ], [ 2, 1, 0.4184, 0.0408, 1, ...
[ "from robot.utils import MultiMatcher", "class _NamePatterns(object):\n\n def __init__(self, patterns=None):\n self._matcher = MultiMatcher(patterns, ignore=['_'])\n\n def match(self, name, longname=None):\n return self._match(name) or longname and self._match_longname(longname)", " 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.2542, 0.0169, 0, 0.66, 0, 799, 0, 1, 0, 0, 799, 0, 0 ], [ 1, 0, 0.2712, 0.0169, 0, 0.66, 0.2, 82, 0, 1, 0, 0, 82, 0, 0 ], [ 1, 0, 0.2881, 0.0169, 0, 0.66,...
[ "from .totalstatistics import TotalStatisticsBuilder", "from .suitestatistics import SuiteStatisticsBuilder", "from .tagstatistics import TagStatisticsBuilder", "from .visitor import SuiteVisitor", "class Statistics(object):\n\n def __init__(self, suite, suite_stat_level=-1, tag_stat_include=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...
[ [ 8, 0, 0.5455, 0.2121, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.697, 0.0303, 0, 0.66, 0.0909, 504, 0, 1, 0, 0, 504, 0, 0 ], [ 1, 0, 0.7273, 0.0303, 0, 0.66,...
[ "\"\"\"Contains base classes and other generic functionality.\n\nIn RF 2.7 this package is mainly used by :mod:`robot.result` package, but\nthere is a plan to change also :mod:`robot.running` to use this in RF 2.8.\n\nThis package is considered stable.\n\"\"\"", "from .testsuite import TestSuite", "from .testca...
# 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, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 1, 0, 0.1308, 0.0077, 0, 0.66, 0.1667, 487, 0, 1, 0, 0, 487, 0, 0 ], [ 3, 0, 0.3385, 0.3769, 0, ...
[ "from robot.utils import html_escape", "from .tags import TagPatterns", "class Stat(object):\n\n def __init__(self, name):\n self.name = name\n self.passed = 0\n self.failed = 0\n\n def get_attributes(self, include_label=False, exclude_empty=False,", " def __init__(self, name):\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.5556, 0.037, 0, 0.66, 0, 417, 0, 1, 0, 0, 417, 0, 0 ], [ 3, 0, 0.8333, 0.3704, 0, 0.66, 1, 215, 0, 3, 0, 0, 696, 0, 4 ], [ 2, 1, 0.7593, 0.0741, 1, 0.12, ...
[ "from robot.utils import NormalizedDict", "class Metadata(NormalizedDict):\n\n def __init__(self, initial=None):\n NormalizedDict.__init__(self, initial, ignore=['_'])\n\n def __unicode__(self):\n return u'{%s}' % ', '.join('%s: %s' % (k, self[k]) for k in self)", " def __init__(self, ini...
# 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.5, 0.6184, 0, 0.66, 0, 838, 0, 12, 0, 0, 186, 0, 14 ], [ 2, 1, 0.2566, 0.0789, 1, 0.94, 0, 206, 0, 2, 0, 0, 0, 0, 5 ], [ 4, 2, 0.2632, 0.0658, 2, 0.39, ...
[ "class SuiteVisitor(object):\n\n def visit_suite(self, suite):\n if self.start_suite(suite) is not False:\n suite.keywords.visit(self)\n suite.suites.visit(self)\n suite.tests.visit(self)\n self.end_suite(suite)", " def visit_suite(self, suite):\n if...
# 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.6111, 0.7917, 0, 0.66, 0, 217, 0, 13, 0, 0, 186, 0, 22 ], [ 14, 1, 0.2361, 0.0139, 1, 0.37, 0, 596, 0, 0, 0, 0, 0, 5, 0 ], [ 2, 1, 0.2986, 0.0833, 1, 0.37...
[ "class ItemList(object):\n __slots__ = ['_item_class', '_common_attrs', '_items']\n\n def __init__(self, item_class, common_attrs=None, items=None):\n self._item_class = item_class\n self._common_attrs = common_attrs\n self._items = []\n if items:", " __slots__ = ['_item_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.2113, 0.0141, 0, 0.66, 0, 777, 0, 1, 0, 0, 777, 0, 0 ], [ 1, 0, 0.2254, 0.0141, 0, 0.66, 0.1111, 79, 0, 2, 0, 0, 79, 0, 0 ], [ 1, 0, 0.2394, 0.0141, 0, 0....
[ "from __future__ import with_statement", "from os.path import basename, splitext", "import codecs", "from robot.htmldata import HtmlFileWriter, ModelWriter, LOG, REPORT", "from robot.utils import utf8open", "from .jswriter import JsResultWriter, SplitLogWriter", "class _LogReportWriter(object):\n\n d...
# 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.156, 0.0092, 0, 0.66, 0.25, 631, 0, 1, 0, 0, 631, 0, 0 ], [ 3, 0, 0.4174, 0.4771, 0, 0.6...
[ "import os", "from robot.htmldata import JsonWriter", "class JsResultWriter(object):\n _output_attr = 'window.output'\n _settings_attr = 'window.settings'\n _suite_key = 'suite'\n _strings_key = 'strings'\n\n def __init__(self, output,\n start_block='<script type=\"text/javascript...
# 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.1515, 0.0101, 0, 0.66, 0, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1717, 0.0101, 0, 0.66, 0.2, 623, 0, 1, 0, 0, 623, 0, 0 ], [ 1, 0, 0.1818, 0.0101, 0, 0.6...
[ "import os", "from robot.result.visitor import ResultVisitor", "from robot.utils import XmlWriter", "class XUnitWriter(object):\n\n def __init__(self, execution_result):\n self._execution_result = execution_result\n\n def write(self, output):\n writer = XUnitFileWriter(XmlWriter(output, en...
# 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.0833, 0.0056, 0, 0.66, 0, 777, 0, 1, 0, 0, 777, 0, 0 ], [ 1, 0, 0.0944, 0.0056, 0, 0.66, 0.0833, 596, 0, 1, 0, 0, 596, 0, 0 ], [ 1, 0, 0.1056, 0.0056, 0, ...
[ "from __future__ import with_statement", "from robot.output import LEVELS", "from .jsbuildingcontext import JsBuildingContext", "from .jsexecutionresult import JsExecutionResult", "class JsModelBuilder(object):\n\n def __init__(self, log_path=None, split_log=False,\n prune_input_to_save_m...
# 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.1596, 0.0106, 0, 0.66, 0, 479, 0, 1, 0, 0, 479, 0, 0 ], [ 1, 0, 0.1702, 0.0106, 0, 0.66, 0.2, 79, 0, 1, 0, 0, 79, 0, 0 ], [ 1, 0, 0.1915, 0.0106, 0, 0.66,...
[ "from contextlib import contextmanager", "import os.path", "from robot.output.loggerhelper import LEVELS", "from robot.utils import (html_escape, html_format, get_link_path,\n timestamp_to_secs)", "from .stringcache import StringCache", "class JsBuildingContext(object):\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.15, 0.01, 0, 0.66, 0, 654, 0, 1, 0, 0, 654, 0, 0 ], [ 1, 0, 0.17, 0.01, 0, 0.66, 0.25, 735, 0, 1, 0, 0, 735, 0, 0 ], [ 1, 0, 0.19, 0.01, 0, 0.66, 0.5,...
[ "import time", "from robot import utils", "from .stringcache import StringIndex", "class JsExecutionResult(object):\n\n def __init__(self, suite, statistics, errors, strings, basemillis=None,\n split_results=None, min_level=None):\n self.suite = suite\n self.strings = strings\...
# 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.825, 0.2, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 1, 0.05, 0, 0.66, 1, 548, 0, 1, 0, 0, 548, 0, 0 ] ]
[ "\"\"\"Implements report and log file generation.\n\nThis package is considered stable.\n\"\"\"", "from .resultwriter import ResultWriter" ]