This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from .test_list import TextsToBeInspect | |
| def pytest_assertrepr_compare(op, left, right): | |
| def details(*args): | |
| details = [] | |
| details.append('----') | |
| for i in args: | |
| details.append('%s: ' % i.context) | |
| details.extend([' %s' % i for i in i.texts]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package internal.example.after_x; | |
| import org.testng.ITestResult; | |
| import org.testng.Reporter; | |
| import org.testng.annotations.AfterMethod; | |
| import org.testng.annotations.DataProvider; | |
| import org.testng.annotations.Test; | |
| import java.util.Collections; | |
| import java.util.HashMap; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "__inputs": [ | |
| { | |
| "name": "DS_SAMPLE", | |
| "label": "sample", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "influxdb", | |
| "pluginName": "InfluxDB" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package internal.example.net.ssl; | |
| import java.nio.ByteBuffer; | |
| import java.nio.charset.Charset; | |
| import static java.nio.charset.StandardCharsets.UTF_8; | |
| /** | |
| * Created by pluto-atom-4 on 1/7/17. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| buildscript { | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| classpath group: 'com.google.closure-stylesheets', name: 'closure-stylesheets', version: '20160212' | |
| } | |
| } | |
| plugins { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rake/testtask' | |
| def functional_tests_excluding | |
| items = FileList.new('test/functional/**/*_test.rb') do |f| | |
| f.exclude('test/functional/**/delete_host*_test.rb') | |
| f.exclude('test/functional/**/delete_contact*_test.rb') | |
| end | |
| if ENV['THESE'] | |
| exclusion_patterns = ENV['THESE'].split(',') | |
| p items |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Note: to install latest mercurial on Ubuntu | |
| # sudo add-apt-repository -y ppa:tortoisehg-ppa/releases | |
| # sudo apt-get update | |
| # sudo apt-get install mercurial tortoisehg | |
| # | |
| [extensions] | |
| hgext.bugzilla = | |
| [hooks] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package local.example.testng; | |
| import java.io.IOException; | |
| import java.util.ArrayList; | |
| import java.util.Iterator; | |
| import java.util.List; | |
| import org.testng.Reporter; | |
| import org.testng.annotations.DataProvider; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| log4j.rootLogger=INFO, stdout, ReporterAppender | |
| log4j.appender.stdout=org.apache.log4j.ConsoleAppender | |
| log4j.appender.stdout.Target=System.out | |
| log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | |
| log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} [%-4p] %c{1} - %m%n | |
| log4j.appender.ReporterAppender = local.example.testng.ReporterAppender | |
| log4j.appender.ReporterAppender.layout = org.apache.log4j.PatternLayout | |
| log4j.appender.ReporterAppender.layout.ConversionPattern =[%-4p] - %m%n |