commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
5e9c91a497fc1bfbc2e7689d8a2293e391f778f1 | subprojects/plugins/src/integTest/groovy/org/gradle/java/JavaLibraryConsumptionIntegrationTest.groovy | subprojects/plugins/src/integTest/groovy/org/gradle/java/JavaLibraryConsumptionIntegrationTest.groovy | /*
* Copyright 2017 the original author or authors.
*
* 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 applica... | Add test for using a published libraries in a java-library project | Add test for using a published libraries in a java-library project
Signed-off-by: Jendrik Johannes <198d91d6959aea0ba152e6e5d7f54f01a2cb044a@gradle.com>
| Groovy | apache-2.0 | blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,... | |
8b0de0877d59c0793f4de7c883b6c7469cc0a4b2 | src/test/groovy/com/github/platan/idea/dependencies/intentions/NotationIntentionTest.groovy | src/test/groovy/com/github/platan/idea/dependencies/intentions/NotationIntentionTest.groovy | package com.github.platan.idea.dependencies.intentions
import com.intellij.codeInsight.intention.IntentionAction
import com.intellij.openapi.util.registry.Registry
import com.intellij.psi.impl.source.PostprocessReformattingAspect
import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase
class Notatio... | Test for changing notation multiple times | Test for changing notation multiple times
| Groovy | mit | platan/idea-gradle-dependencies-formatter,platan/idea-gradle-dependencies-formatter,platan/idea-gradle-dependencies-formatter,platan/idea-gradle-dependencies-formatter | |
2bf1322ed751e4e3c792694563798e00a88adcde | subprojects/cpp/src/integTest/groovy/org/gradle/nativebinaries/toolchain/CommonToolchainCustomizationIntegTest.groovy | subprojects/cpp/src/integTest/groovy/org/gradle/nativebinaries/toolchain/CommonToolchainCustomizationIntegTest.groovy | /*
* Copyright 2014 the original author or authors.
*
* 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 applica... | Add basic integration test coverage for manipulating args on all supported platforms (including visualcpp) | Add basic integration test coverage for manipulating args on all supported platforms (including visualcpp)
| Groovy | apache-2.0 | lsmaira/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,gstevey/gradle,gstevey/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,gstevey/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverdui... | |
0e3b10d1456ddc1507cbe4ac16584a660185d918 | src/main/groovy/jenkins/automation/utils/BaseJobBuilder.groovy | src/main/groovy/jenkins/automation/utils/BaseJobBuilder.groovy | package jenkins.automation.utils
import javaposse.jobdsl.dsl.DslFactory
import javaposse.jobdsl.dsl.Job
class BaseJobBuilder {
String name
String description
List<String> emails
Boolean use_versions
Job build(DslFactory factory){
factory.job(name){
it.description this.descript... | package jenkins.automation.utils
import javaposse.jobdsl.dsl.DslFactory
import javaposse.jobdsl.dsl.Job
class BaseJobBuilder {
String name
String description
List<String> emails
Boolean use_versions
Job build(DslFactory factory){
factory.job(name){
it.description this.descript... | Add broken build claiming to base job | Add broken build claiming to base job
| Groovy | cc0-1.0 | lfatty/jenkins-automation,Scotchester/jenkins-automation,higs4281/jenkins-automation,Scotchester/jenkins-automation,higs4281/jenkins-automation |
13c8dc95c4ae297da39b3d133e2c07709a936074 | src/test/groovy/sdkman/cucumber/RunCukeTests.groovy | src/test/groovy/sdkman/cucumber/RunCukeTests.groovy | package sdkman.cucumber
import cucumber.api.junit.Cucumber
import org.junit.runner.RunWith
@RunWith(Cucumber)
@Cucumber.Options(
format=["pretty", "html:build/reports/cucumber"],
strict=true,
features=["src/test/cucumber"],
glue=["src/test/steps"],
tags=["~@manual", "~@review"]
)
class RunCukesTest {}
| package sdkman.cucumber
import cucumber.api.CucumberOptions
import cucumber.api.junit.Cucumber
import org.junit.runner.RunWith
@RunWith(Cucumber)
@CucumberOptions(
format=["pretty", "html:build/reports/cucumber"],
strict=true,
features=["src/test/cucumber"],
glue=["src/test/steps"],
tags=["~@manual", "~@review"]... | Use new CucumberOptions annotations for Cukes test runner. | Use new CucumberOptions annotations for Cukes test runner.
| Groovy | apache-2.0 | skpal/sdkman-cli,shanman190/sdkman-cli,GsusRecovery/sdkman-cli,GsusRecovery/sdkman-cli,skpal/sdkman-cli,gvmtool/gvm-cli,sdkman/sdkman-cli,busches/gvm-cli,jbovet/gvm |
87c65a1b2d05fdc250b40d249cd087d34591ed04 | src/test/groovy/net/fortuna/ical4j/util/UidGeneratorSpec.groovy | src/test/groovy/net/fortuna/ical4j/util/UidGeneratorSpec.groovy | package net.fortuna.ical4j.util
import spock.lang.Specification
class UidGeneratorSpec extends Specification {
def "verify host info is cached"() {
given: 'a mock host info'
def hostInfo = Mock(HostInfo)
when: 'a generator is created and a uid is generated multiple times'
UidGene... | Increase test coverage for PR | Increase test coverage for PR
| Groovy | bsd-3-clause | ariordan/ical4j,ariordan/ical4j,ical4j/ical4j,ical4j/ical4j,ariordan/ical4j,ical4j/ical4j | |
38b6879e5c53d1fb8ae2251c0cb8c6087bd7e1dd | subprojects/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BuildScanPluginSmokeTest.groovy | subprojects/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BuildScanPluginSmokeTest.groovy | /*
* Copyright 2017 the original author or authors.
*
* 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 applica... | Add smoke test for build scan plugin | Add smoke test for build scan plugin
| Groovy | apache-2.0 | robinverduijn/gradle,robinverduijn/gradle,gstevey/gradle,robinverduijn/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradl... | |
59990257f9d21e66f430034078f6cc1d7777c2e0 | whelktool/scripts/cleanups/2020/08/lxl-3148-kit-instance.groovy | whelktool/scripts/cleanups/2020/08/lxl-3148-kit-instance.groovy | /*
* if '{@graph ,1,@type}' = 'KitInstance' OR 'TextInstance'
* if '{@graph ,1,hasPart,@type}' = 'KitInstance'
* > @type = 'Instance'
* (om det är den sista i listan ta även bort hasPart)
* if '{@graph ,1,carrierType}' OR '{@graph ,1,hasPart,carrierType}'
*
* LIKE https://id.kb.se/marc/KitMaterialType-u
* remo... | Add script for KitInstance cleanup. | Add script for KitInstance cleanup.
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
4f553590d553abcff202c14ccde7012c7a6ead77 | src/test/groovy/org/rackspace/deproxy/EndpointPortVsConnectorTest.groovy | src/test/groovy/org/rackspace/deproxy/EndpointPortVsConnectorTest.groovy | package org.rackspace.deproxy
import spock.lang.Specification
class EndpointPortVsConnectorTest extends Specification {
Deproxy deproxy
def setup() {
deproxy = new Deproxy()
}
def "when instantiating with port but no connectorFactory, create a new SocketServerConnector"() {
given:
... | Add tests for the port and connectorFactory parameters to the DeproxyEndpoint constructor. | Add tests for the port and connectorFactory parameters to the DeproxyEndpoint constructor.
| Groovy | mit | rackerlabs/deproxy | |
5ef508427a72d347b580b6fde490b3439b4162a5 | src/test/groovy/gvm/specs/InitialisationSpec.groovy | src/test/groovy/gvm/specs/InitialisationSpec.groovy | package gvm.specs
import gvm.env.BashEnv
import gvm.env.GvmBashEnvBuilder
import gvm.stubs.CurlStub
import spock.lang.Specification
import static gvm.utils.TestUtils.prepareBaseDir
class InitialisationSpec extends Specification {
CurlStub curlStub
BashEnv bash
File gvmBaseDir
String gvmDotDir
S... | Add test to prevent missing candidates | Add test to prevent missing candidates
| Groovy | apache-2.0 | sdkman/sdkman-cli,skpal/sdkman-cli,busches/gvm-cli,DealerDotCom/gvm-cli,jbovet/gvm,GsusRecovery/sdkman-cli,GsusRecovery/sdkman-cli,skpal/sdkman-cli,DealerDotCom/gvm-cli,shanman190/sdkman-cli,gvmtool/gvm-cli | |
41c92697319a8eccdc786b0fca058428796dfd32 | src/test/groovy/com/github/eerohele/AntBuilderAssistantSpec.groovy | src/test/groovy/com/github/eerohele/AntBuilderAssistantSpec.groovy | package com.github.eerohele
import org.gradle.api.Project
import org.gradle.testfixtures.ProjectBuilder
import spock.lang.Specification
import org.gradle.api.internal.project.antbuilder.DefaultIsolatedAntBuilder
class AntBuilderAssistantSpec extends Specification {
private static final String DITA = 'dita'
p... | Add unit tests for AntBuilderAssistant | Add unit tests for AntBuilderAssistant
| Groovy | apache-2.0 | eerohele/dita-ot-gradle,eerohele/dita-ot-gradle | |
6673847286fc9d253b9ef3c262e68efd9e24005e | groovy/inject-submitter-email-address.groovy | groovy/inject-submitter-email-address.groovy | import javax.mail.internet.InternetAddress
recipients = [new InternetAddress(build.getEnvVars()["ghprbActualCommitAuthorEmail"])]
msg.setRecipients(javax.mail.Message.RecipientType.TO, recipients as javax.mail.Address[])
| Add groovy script to inject the PR submitter email address in the TO of the email notifications | Add groovy script to inject the PR submitter email address in the TO of the email notifications
| Groovy | apache-2.0 | saltstack/jenkins-dsl-jobs | |
8af040e33040cb7a368bb3772e01704284c7c9da | src/test/groovy/com/kiefer/gradle/NpmInstallConfigurationTest.groovy | src/test/groovy/com/kiefer/gradle/NpmInstallConfigurationTest.groovy | package com.kiefer.gradle
import org.gradle.api.Project
import org.gradle.testfixtures.ProjectBuilder
import org.testng.annotations.BeforeMethod
import org.testng.annotations.Test
class NpmInstallConfigurationTest {
final String PROJECT_NAME = "projectName";
Project project;
@BeforeMethod
void setUp(... | Add test for optional NPM registry configuration | Add test for optional NPM registry configuration
| Groovy | mit | benkiefer/ember-cli-gradle-plugin | |
2b10824b0126ba709b7a02469c3e390f4ea763f4 | whelktool/scripts/cleanups/2020/11/lxl-2244-remove-technicalNote.groovy | whelktool/scripts/cleanups/2020/11/lxl-2244-remove-technicalNote.groovy | PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates")
PrintWriter failedUpdating = getReportWriter("failed-updates")
String where = """
collection = 'bib'
and deleted = false
and data#>>'{@graph,0,technicalNote}' like '%Maskinellt genererad post%'
and (data#>>'{@graph,... | Add script for removing technicalNote | Add script for removing technicalNote
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
0f68d714d3d073da91bdb3e1be575bb3de99fef9 | whelktool/scripts/cleanups/2020/10/lxl-2589-add-name-and-nationality-to-jurisdictions.groovy | whelktool/scripts/cleanups/2020/10/lxl-2589-add-name-and-nationality-to-jurisdictions.groovy | class Script {
static PrintWriter modified
static PrintWriter errors
}
Script.modified = getReportWriter("modified.txt")
Script.errors = getReportWriter("errors.txt")
query = "collection = 'auth' AND data#>>'{@graph,1,@type}' = 'Jurisdiction'"
selectBySqlWhere(query) { auth ->
try {
process(auth)... | Add script for adding isPartOf and nationality for jurisdictions | Add script for adding isPartOf and nationality for jurisdictions
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
e61557fe8169056ee722cc9e38bc1b46a7fa4e98 | subprojects/groovy-ant/src/test/groovy/groovy/ant/Groovy7812Bug.groovy | subprojects/groovy-ant/src/test/groovy/groovy/ant/Groovy7812Bug.groovy | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | Add a test for "GROOVY-7812: Static inner classes cannot be accessed from other files when running by 'groovy' command" | Add a test for "GROOVY-7812: Static inner classes cannot be accessed from other files when running by 'groovy' command"
| Groovy | apache-2.0 | apache/groovy,shils/groovy,jwagenleitner/groovy,armsargis/groovy,jwagenleitner/groovy,shils/incubator-groovy,apache/incubator-groovy,jwagenleitner/incubator-groovy,paulk-asert/groovy,jwagenleitner/groovy,paulk-asert/incubator-groovy,shils/groovy,jwagenleitner/incubator-groovy,jwagenleitner/groovy,paulk-asert/groovy,pau... | |
a1aa3ccc8c50897dde83571778445b1883b77447 | whelktool/scripts/cleanups/2020/04/lxl-2961.groovy | whelktool/scripts/cleanups/2020/04/lxl-2961.groovy | PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates")
PrintWriter failedUpdating = getReportWriter("failed-updates")
String where = "collection = 'bib' and data#>>'{@graph,1,publication}' LIKE '%https://id.kb.se/country/se%'"
selectBySqlWhere(where) { data ->
boolean changed = false
def (re... | Add publictation country se -> sw clean up script. | Add publictation country se -> sw clean up script.
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
813e96d00d602ceaea9e1b5145d23baceecf5fe6 | src/test/groovy/com/github/ksoichiro/web/resource/WebResourceTestCoffeeScriptTaskSpec.groovy | src/test/groovy/com/github/ksoichiro/web/resource/WebResourceTestCoffeeScriptTaskSpec.groovy | package com.github.ksoichiro.web.resource
import com.github.ksoichiro.web.resource.extension.WebResourceExtension
import org.gradle.api.Project
import org.gradle.api.logging.LogLevel
import org.gradle.testfixtures.ProjectBuilder
import org.junit.ClassRule
import org.junit.rules.TemporaryFolder
import spock.lang.Shared... | Add test for testCoffeeScript task | Add test for testCoffeeScript task
| Groovy | apache-2.0 | ksoichiro/gradle-web-resource-plugin | |
f2be5da8ddcdc0691b5342696df592d79f27681f | bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.groovy | bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.groovy | package com.msgilligan.bitcoinj.rpc.tx
import com.msgilligan.bitcoinj.BaseRegTestSpec
import org.bitcoinj.core.Coin
import org.bitcoinj.core.Transaction
import org.bitcoinj.script.Script
import org.bitcoinj.script.ScriptBuilder
import org.bitcoinj.script.ScriptOpCodes
import spock.lang.Stepwise
import spock.lang.Unrol... | Add integration test of an OP_RETURN transaction | Add integration test of an OP_RETURN transaction | Groovy | apache-2.0 | msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons | |
eb3bca94e5cb5e2906aba6d4c3f1afca8be7ec89 | middlewares/droidux-thunk/src/test/groovy/info/izumin/android/droidux/thunk/ThunkMiddlewareTest.groovy | middlewares/droidux-thunk/src/test/groovy/info/izumin/android/droidux/thunk/ThunkMiddlewareTest.groovy | package info.izumin.android.droidux.thunk
import info.izumin.android.droidux.Action
import info.izumin.android.droidux.Dispatcher
import info.izumin.android.droidux.Middleware
import info.izumin.android.droidux.StoreImpl
import rx.Observable
import spock.lang.Specification
/**
* Created by izumin on 11/29/15.
*/
cl... | Add test for ThunkMiddleware and AsyncAction | Add test for ThunkMiddleware and AsyncAction
| Groovy | apache-2.0 | izumin5210/Droidux | |
fee6d67dd9768f23603c0410e55c7be014518907 | whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy | whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy | Map langs = Collections.synchronizedMap([:])
selectBySqlWhere("collection = 'definitions' AND data#>>'{@graph,1,@type}' = 'Language'") { data ->
Map instance = data.graph[1]
String mainEntityId = instance."@id"
List prefLabels = instance.prefLabelByLang*.value
langs[mainEntityId] = prefLabels
}
Stri... | Add script for moving hasNotation | Add script for moving hasNotation
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
bc1bb4ba8ea62c7754c1ae8a732c17a833a47bc9 | subprojects/core/src/integTest/groovy/org/gradle/util/VersionNumberIntegrationTest.groovy | subprojects/core/src/integTest/groovy/org/gradle/util/VersionNumberIntegrationTest.groovy | /*
* Copyright 2012 the original author or authors.
*
* 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 applica... | Add test for VersionNumber JSR-305 strict interop | Add test for VersionNumber JSR-305 strict interop
Signed-off-by: Paul Merlin <a027184a55211cd23e3f3094f1fdc728df5e0500@gradle.com>
| Groovy | apache-2.0 | blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpira... | |
68d8677b7d8ec100f69d6e62c56dd78fd528d1d4 | subprojects/performance/src/performanceTest/groovy/org/gradle/performance/experiment/java/JavaLibraryPluginPerformanceTest.groovy | subprojects/performance/src/performanceTest/groovy/org/gradle/performance/experiment/java/JavaLibraryPluginPerformanceTest.groovy | /*
* Copyright 2019 the original author or authors.
*
* 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 applica... | Add 'java-library' vs 'java' performance test | Add 'java-library' vs 'java' performance test
| Groovy | apache-2.0 | robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn... | |
2c9a8fd487ce29d760271535ffe910b10dd1cfc8 | subprojects/griffon-groovy-compile/src/test/groovy/griffon/transform/FXObservableSpec.groovy | subprojects/griffon-groovy-compile/src/test/groovy/griffon/transform/FXObservableSpec.groovy | /*
* Copyright 2008-2015 the original author or authors.
*
* 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 app... | Add missing test for @FXObservable | Add missing test for @FXObservable
| Groovy | apache-2.0 | griffon/griffon,levymoreira/griffon,levymoreira/griffon,griffon/griffon,levymoreira/griffon | |
e5fada5f33eeb4526c06ada2df6ce3ffae97383d | subprojects/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccPlatformToolProviderTest.groovy | subprojects/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccPlatformToolProviderTest.groovy | /*
* Copyright 2017 the original author or authors.
*
* 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 applica... | Add unit test for system header arguments | Add unit test for system header arguments
| Groovy | apache-2.0 | lsmaira/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/g... | |
1a91cc717842faad6ad049f4ca909f1abbd7a5df | scripts/LoadContext.groovy | scripts/LoadContext.groovy | target (loadContext: 'Loads the db/context.xml to your .grails home' ) {
projectDir = Ant.project.properties."base.dir"
contextDir = "${Ant.project.properties.'user.home'}/.grails/${Ant.project.properties.'grails.version'}/projects/${Ant.project.properties.'base.name'}/resources/conf"
echo(message: "Creating dir ${... | Add the load-context grails script. | Add the load-context grails script.
| Groovy | bsd-3-clause | iceglow/signuptool,iceglow/signuptool,iceglow/signuptool | |
da11f58b5f1ccf5495ca13c897cdab408c1afb2a | grails-app/conf/DefaultGraniteDSConfig.groovy | grails-app/conf/DefaultGraniteDSConfig.groovy | import org.granite.tide.spring.security.Identity
graniteConfig {
springSecurityAuthorizationEnabled = false
springSecurityIdentityClass = Identity.class
gravityEnabled = false
gravityServletClassName = "org.granite.gravity.jetty.GravityJettyServlet"
dataDispatchEnable... | Add default config for Gravity/Security/Data dispatch | Add default config for Gravity/Security/Data dispatch
| Groovy | lgpl-2.1 | graniteds/grails-gdsflex | |
5140d7f387ea99b5324be35368a0e9c756207ad4 | .test-infra/jenkins/job_PostCommit_Java_ValidatesRunner_Dataflow_streaming.groovy | .test-infra/jenkins/job_PostCommit_Java_ValidatesRunner_Dataflow_streaming.groovy | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Add Jenkins job for ValidatesRunner against Dataflow forcing streaming mode | Add Jenkins job for ValidatesRunner against Dataflow forcing streaming mode
| Groovy | apache-2.0 | lukecwik/incubator-beam,robertwb/incubator-beam,robertwb/incubator-beam,chamikaramj/beam,apache/beam,robertwb/incubator-beam,chamikaramj/beam,chamikaramj/beam,chamikaramj/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,apache/beam,lukecwik/incubator-beam,chamikaramj/beam,apache/beam,chamikaramj/beam,apache/beam,ch... | |
39aab7fef34435c173106da099204bc947437aa5 | sample/jobs/sampleProgrammaticBuild.groovy | sample/jobs/sampleProgrammaticBuild.groovy | final String CONFIGURATION_REPO_URL = 'https://github.com/edx/configuration.git'
// final String CONFIGURATION_BRANCH = 'master'
final String CONFIGURATION_BRANCH = 'michael/travis' // temporary to be able to trigger builds
final String EDX_REPO_ROOT = 'https://github.com/edx/'
final String EDX_REPO_BRANCH = 'release'... | Add Jenkins Job DSL for a job that watches changes to the configuration repository and runs a script that triggers other jobs to build corresponding Dockerfiles | Add Jenkins Job DSL for a job that watches changes to the configuration repository and runs a script that triggers other jobs to build corresponding Dockerfiles
| Groovy | agpl-3.0 | edx/jenkins-job-dsl | |
e8b5663901511c3bf728262c359ec4cc9d6c5b8e | whelktool/scripts/cleanups/2020/04/lxl-1625-notatedMusicType.groovy | whelktool/scripts/cleanups/2020/04/lxl-1625-notatedMusicType.groovy | PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates")
PrintWriter failedUpdating = getReportWriter("failed-updates")
String where = "data#>>'{@graph,1,@type}' = 'NotatedMusicInstance' and data#>>'{@graph,2,@type}' = 'NotatedMusic'"
selectBySqlWhere(where) { data ->
def (record, instance, work) =... | Add script for changing from @type NotatedMusicInstance. | Add script for changing from @type NotatedMusicInstance.
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
e30b0ad869c61987baa9f4f317f132276b0bb4b4 | monopoly-spring/src/test/java/net/zomis/spring/games/v2/TTTV2Test.groovy | monopoly-spring/src/test/java/net/zomis/spring/games/v2/TTTV2Test.groovy | package net.zomis.spring.games.v2
import net.zomis.spring.test.RestTest
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.beans.factory.annotation.Value
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.junit4.Spri... | Add a new TTT test for v2 things | Add a new TTT test for v2 things
| Groovy | apache-2.0 | Zomis/flexgame-server | |
ee287e3a8d59c12fb2790b952c747d647b3d2476 | whelktool/scripts/cleanups/2021/06/lxl-3580-add-sigel-dst-to-digi.groovy | whelktool/scripts/cleanups/2021/06/lxl-3580-add-sigel-dst-to-digi.groovy | /**
* Adds sigel DST to @graph,0,bibliography in records having sigel DIGI and fulfilling
* various criteria.
*
* See LXL-3580 for more info.
*/
String where = """
collection = 'bib' AND
deleted = false AND
data#>>'{@graph,0,bibliography}' LIKE '%https://libris.kb.se/library/DIGI%' AND
data#>>'{@graph,1,... | Add script for adding sigel DST to some DIGI records | Add script for adding sigel DST to some DIGI records
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
d413f2a0bbc11fd2bf8f821b1d4634151f4e082d | betamax-core/src/test/groovy/co/freeside/betamax/tape/ContentTypeSpec.groovy | betamax-core/src/test/groovy/co/freeside/betamax/tape/ContentTypeSpec.groovy | /*
* Copyright 2011 the original author or authors.
*
* 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 applicabl... | Add test for binary POST requests. | Add test for binary POST requests.
| Groovy | apache-2.0 | nuxusr/walkman,nuxusr/walkman,felipecsl/okreplay,robfletcher/betamax,nuxusr/walkman,felipecsl/walkman,robfletcher/betamax,betamaxteam/betamax,betamaxteam/betamax,felipecsl/walkman,felipecsl/okreplay | |
3221dd1e9e215edd72bc5d38414d0b543c9d44fb | grails-app/conf/GrailsMelodyConfig.groovy | grails-app/conf/GrailsMelodyConfig.groovy | /*
You can find all detailed parameter usage from
https://github.com/javamelody/javamelody/wiki/UserGuide#6-optional-parameters
Any parameter with 'javamelody.' prefix configured in this file will be add as init-param of java melody MonitoringFilter.
*/
/*
The parameter disabled (false by default) just disables th... | Add Java melody for monitoring config | Add Java melody for monitoring config
| Groovy | apache-2.0 | bio-org-au/services,bio-org-au/services,bio-org-au/services | |
680317fc2c4e9cdf2707b386e5cc5f49f670bab9 | src/test/groovy/bugs/Groovy8405Bug.groovy | src/test/groovy/bugs/Groovy8405Bug.groovy | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | Add a test for "GROOVY-8405: Inherited methods with default parameters cause cause static compilation to fail" | Add a test for "GROOVY-8405: Inherited methods with default parameters cause cause static compilation to fail"
| Groovy | apache-2.0 | russel/incubator-groovy,russel/groovy,russel/groovy,paulk-asert/incubator-groovy,shils/groovy,russel/groovy,jwagenleitner/incubator-groovy,shils/incubator-groovy,apache/groovy,paulk-asert/incubator-groovy,shils/groovy,apache/incubator-groovy,traneHead/groovy-core,apache/groovy,paulk-asert/groovy,armsargis/groovy,russel... | |
66b2aae9fcdaa87e8dbe633f84ad3cf856199b0a | webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy | webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy | package woko.webtests
/**
* Created by IntelliJ IDEA.
* User: Alexis Boissonnat - CSTB
* Date: Feb 10, 2011
* Time: 5:06:14 PM
*/
class FindPageTest extends WebTestBase{
void testFindPage(){
webtest('test Find page'){
// Login & click find link in navbar
login()
clickLink l... | Add a webtest for the find page | Add a webtest for the find page
| Groovy | apache-2.0 | pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko | |
afa759a69d22d5ef06166558fff6ebce5a6fc280 | .test-infra/jenkins/job_PerformanceTests_KafkaIO_IT.groovy | .test-infra/jenkins/job_PerformanceTests_KafkaIO_IT.groovy | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Create jenkins job for Kafka IOIT | [BEAM-4420] Create jenkins job for Kafka IOIT
| Groovy | apache-2.0 | apache/beam,iemejia/incubator-beam,apache/beam,robertwb/incubator-beam,apache/beam,chamikaramj/beam,lukecwik/incubator-beam,robertwb/incubator-beam,RyanSkraba/beam,chamikaramj/beam,RyanSkraba/beam,chamikaramj/beam,apache/beam,chamikaramj/beam,RyanSkraba/beam,RyanSkraba/beam,lukecwik/incubator-beam,apache/beam,RyanSkrab... | |
62056b11b6b494c6f080676aaae2ff487924eafd | whelktool/scripts/cleanups/2020/10/lxl-3093-3095-issuanceType-SerialComponentPart.groovy | whelktool/scripts/cleanups/2020/10/lxl-3093-3095-issuanceType-SerialComponentPart.groovy | /**
* Change issuanceType SerialComponentPart to ComponentPart or Monograph
*
* See LXL-3093 and LXL-3095 for more info.
*/
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates")
PrintWriter failedUpdating = getReportWriter("failed-updates")
String where = "collection = 'bib' AND deleted = false ... | Add script for updating issuanceType SerialComponentPart | Add script for updating issuanceType SerialComponentPart
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
03cef6963170eeb06a1bf539dfdb8d1cafd3487a | clouddriver-web/src/main/groovy/com/netflix/spinnaker/clouddriver/controllers/LoggingExceptionHandler.groovy | clouddriver-web/src/main/groovy/com/netflix/spinnaker/clouddriver/controllers/LoggingExceptionHandler.groovy | /*
* Copyright 2016 Google, Inc.
*
* 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 or agreed to in... | Print request exceptions to the logs for all controllers | Print request exceptions to the logs for all controllers
| Groovy | apache-2.0 | lookout/clouddriver,duftler/clouddriver,lookout/clouddriver,danveloper/clouddriver,stitchfix/clouddriver,cfieber/clouddriver,duftler/clouddriver,duftler/clouddriver,stitchfix/clouddriver,cfieber/clouddriver,ajordens/clouddriver,cfieber/clouddriver,ajordens/clouddriver,spinnaker/clouddriver,lookout/clouddriver,duftler/c... | |
0c1ba72024a341eeaaea4c99f9028b8b37f3b07c | src/test/groovy/se/su/it/svc/commons/LdapAttributeValidatorSpec.groovy | src/test/groovy/se/su/it/svc/commons/LdapAttributeValidatorSpec.groovy | package se.su.it.svc.commons
import spock.lang.Shared
import spock.lang.Specification
class LdapAttributeValidatorSpec extends Specification
{
@Shared
LdapAttributeValidator lav
def setup()
{
lav = new LdapAttributeValidator()
}
def "checkValidMailAddress: email patterns"()
{
... | Add unit test for checkValidMailAddress. | IDM-1228: Add unit test for checkValidMailAddress.
| Groovy | bsd-3-clause | stockholmuniversity/sukat-cxf-svc,stockholmuniversity/sukat-cxf-svc,janj-su/sukat-cxf-svc,janj-su/sukat-cxf-svc | |
3583ab8c0d79e34139f1043194acb91d2bbaa8ba | whelktool/scripts/cleanups/2022/01/lxl-3589-link-agents.groovy | whelktool/scripts/cleanups/2022/01/lxl-3589-link-agents.groovy | import whelk.util.DocumentUtil
import whelk.Document
import whelk.Whelk
ambiguous = getReportWriter('ambiguous.txt')
linked = getReportWriter('linked.txt')
agentTypes =
[
'Family',
'Jurisdiction',
'Organization',
'Meeting',
'Perso... | Add script for linking blank agents | Add script for linking blank agents
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
dd6d4a1cea2aacff23f2898858d4952cb88005dd | scripts/configure-job-restrictions-master.groovy | scripts/configure-job-restrictions-master.groovy | /*
Copyright (c) 2015-2018 Sam Gleske - https://github.com/samrocketman/jenkins-bootstrap-jervis
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/LI... | Add script to configure job restrictions plugin | Add script to configure job restrictions plugin
| Groovy | apache-2.0 | samrocketman/jenkins-bootstrap-shared,samrocketman/jenkins-bootstrap-shared | |
65d95dbf9840497edaacddfbfdcd866f5ea91d58 | src/main/groovy/jenkins/automation/utils/ScmUtils.groovy | src/main/groovy/jenkins/automation/utils/ScmUtils.groovy | package jenkins.automation.utils
/**
* Utility class to provide nicer, terser DSL for common tasks
* @see <a href="https://github.com/imuchnik/jenkins-automation/blob/gh-pages/docs/examples.md#using-multiscm-utility" target="_blank">Using Utility Class example</a>
*/
class ScmUtils {
static void project_rep... | package jenkins.automation.utils
/**
* Utility class to provide nicer, terser DSL for common tasks
* @see <a href="https://github.com/imuchnik/jenkins-automation/blob/gh-pages/docs/examples.md#using-multiscm-utility" target="_blank">Using Utility Class example</a>
*/
class ScmUtils {
static void project_rep... | Add shallow clone option for git | Add shallow clone option for git
| Groovy | cc0-1.0 | Scotchester/jenkins-automation,higs4281/jenkins-automation,lfatty/jenkins-automation,higs4281/jenkins-automation,Scotchester/jenkins-automation |
3f0684498db6711663f9f7d07b01b34abf9469e6 | src/test/groovy/org/geocommands/tile/TileUtilTest.groovy | src/test/groovy/org/geocommands/tile/TileUtilTest.groovy | package org.geocommands.tile
import geoscript.layer.OSM
import org.junit.Test
import static org.junit.Assert.assertEquals
/**
* The TileUtil Unit Test.
* @author Jared Erickson
*/
class TileUtilTest {
@Test void getOSMImageTileLayer() {
OSM osm = TileUtil.getOSMImageTileLayer("stamen-toner")
a... | Add unit test for the tile utility class | Add unit test for the tile utility class
| Groovy | mit | jericks/geoc,jericks/geoc | |
39a837e65a0adbb14ccdbb80c838f61eda58dad0 | subprojects/logging/src/integTest/groovy/org/gradle/internal/logging/console/ConsoleTypePersistIntegrationTest.groovy | subprojects/logging/src/integTest/groovy/org/gradle/internal/logging/console/ConsoleTypePersistIntegrationTest.groovy | /*
* Copyright 2017 the original author or authors.
*
* 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 applica... | Add integration test for org.gradle.console property | Add integration test for org.gradle.console property
| Groovy | apache-2.0 | blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,gradle/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,gradle/gra... | |
a7cb8c3a78e6026c7ae5296504eb9b9cbcf8c33d | src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy | src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy | /*
* This file is part of the gradle-release plugin.
*
* (c) Eric Berry
* (c) ResearchGate GmbH
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package net.researchgate.release.cli
import spock.lang.Specification
public class E... | Add test for Executor and env variables | Add test for Executor and env variables
| Groovy | mit | gusvmx/gradle-release | |
9e8be2f17867dc61186e31977072b407c3250fd4 | src/test/groovy/org/strucdocs/component/band/BandRepositorySpecIT.groovy | src/test/groovy/org/strucdocs/component/band/BandRepositorySpecIT.groovy | package org.strucdocs.component.band
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.core.ParameterizedTypeReference
import org.springframework.hateoas.Resource
import org.springframework.hateoas.Resources
import org.springframework.http.HttpEntity
import org.springframework.http... | Add extra testcase for Band Repository. | Add extra testcase for Band Repository.
| Groovy | apache-2.0 | hetzijzo/strucdocs | |
16953054a9ae38b433c59f6339f5ba752360fbd6 | src/test/groovy/com/github/vbauer/yta/service/basic/ApiExceptionSpec.groovy | src/test/groovy/com/github/vbauer/yta/service/basic/ApiExceptionSpec.groovy | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Vladislav Bauer
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to u... | Add unit tests for ApiException | Add unit tests for ApiException
| Groovy | mit | vbauer/yandex-translate-api,vbauer/yandex-translate-api | |
1f1aa4692fd10aa5fd1eaef4b970c7f41a253f0e | whelktool/scripts/cleanups/2020/01/lxl-2494/repair-uppercase-term-links.groovy | whelktool/scripts/cleanups/2020/01/lxl-2494/repair-uppercase-term-links.groovy | /*
* * See LXL-2494 for more info.
*/
scheduledForChange = getReportWriter("scheduled-for-change")
where = "collection = 'auth' AND data#>>'{@graph,1,inCollection}' is not null"
links = ["https://id.kb.se/term/Fack" : "https://id.kb.se/term/fack",
"https://id.kb.se/term/Skon" : "https://id.kb.se/term/skon... | Add script for correcting uppercase term links | Add script for correcting uppercase term links
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
76d627a24f92e48ff0b03b808b3e7ae291a92bfb | src/main/groovy/com/lesfurets/jenkins/unit/global/lib/ProjectSource.groovy | src/main/groovy/com/lesfurets/jenkins/unit/global/lib/ProjectSource.groovy | package com.lesfurets.jenkins.unit.global.lib
import com.lesfurets.jenkins.unit.global.lib.SourceRetriever
import groovy.transform.CompileStatic
import groovy.transform.Immutable
/**
* Retrieves the shared lib sources of the current project which are expected to be
* at the default location "./vars".
*/... | Add Retriever for testing pipeline steps of a project itself. | Add Retriever for testing pipeline steps of a project itself.
The retrievers available up to now are designed for testing
a pipeline which makes use of pipeline steps. In the focus of
the test is a pipeline, not the pipeline steps provided by a
shared lib.
The retriever provided here helps with testing pipeline steps... | Groovy | mit | lesfurets/JenkinsPipelineUnit | |
4111059097bcb3f2fda0e5eaf9929236a7d46b04 | src/test/groovy/jp/leafytree/android/AndroidScalaJavaJointCompilerTest.groovy | src/test/groovy/jp/leafytree/android/AndroidScalaJavaJointCompilerTest.groovy | /*
* Copyright 2014 the original author or authors.
*
* 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 app... | Add scalac option creation test | Add scalac option creation test
| Groovy | apache-2.0 | saturday06/gradle-android-scala-plugin,felixvf/gradle-android-mirah-plugin | |
594ef5c644a3cd16a4c86b3f32b393007cf9b796 | test/integration/ozone/owf/grails/test/integration/StackServiceTests.groovy | test/integration/ozone/owf/grails/test/integration/StackServiceTests.groovy | package ozone.owf.grails.test.integration
import ozone.owf.grails.OwfException
import ozone.owf.grails.domain.ERoleAuthority
import ozone.owf.grails.domain.Person
import ozone.owf.grails.domain.Stack
import ozone.owf.grails.services.AutoLoginAccountService
class StackServiceTests extends GroovyTestCase {
... | Develop controllers and services (5) | OWF-6299: Develop controllers and services (5) | Groovy | apache-2.0 | ozoneplatform/owf-framework,dotunolafunmiloye/owf-framework,ozoneplatform/owf-framework,dotunolafunmiloye/owf-framework,dotunolafunmiloye/owf-framework,ozoneplatform/owf-framework,ozoneplatform/owf-framework,dotunolafunmiloye/owf-framework,ozoneplatform/owf-framework,dotunolafunmiloye/owf-framework,ozoneplatform/owf-fr... | |
c68fac2a69863dc5105c27806cf5d2f0619d7606 | modules/fields.groovy | modules/fields.groovy | // Convert csv file of fields to rds
fields = {
doc "Read in csv and output rds"
R {"""
fields <- read.csv('$input.csv', header=T)
saveRDS(fields, '$output.rds')
"""}
}
| Transform input csv to rds | Transform input csv to rds
| Groovy | mit | ukbiobank-MentalHealth-Genetics/ukblox | |
a4d4662bce48568b1132a51ff4769adc6d908f7b | test/functional/LinkServiceFunctionalSpec.groovy | test/functional/LinkServiceFunctionalSpec.groovy | import au.org.biodiversity.nsl.LinkService
import au.org.biodiversity.nsl.Name
import grails.test.spock.IntegrationSpec
import spock.lang.Shared
/**
* User: pmcneil
* Date: 11/02/16
*
*/
class LinkServiceFunctionalSpec extends IntegrationSpec {
@Shared
def grailsApplication
@Shared
def linkServic... | Add link service functional test spec | Add link service functional test spec
| Groovy | apache-2.0 | bio-org-au/services,bio-org-au/services,bio-org-au/services | |
254438a2d7c23a3b440f7e5300924dcae6b6a034 | functional-tests/src/test/groovy/specs/traits/Utils.groovy | functional-tests/src/test/groovy/specs/traits/Utils.groovy | /*
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 or agreed to in writing, software
distrib... | Remove unstable present/notPresent tests and util methods. | Remove unstable present/notPresent tests and util methods.
| Groovy | apache-2.0 | bcgov/gwells,bcgov/gwells,bcgov/gwells,bcgov/gwells | |
2968a8648d44444cb6613d993d70fc24dee2e581 | subprojects/configuration-cache/src/integTest/groovy/org/gradle/configurationcache/ConfigurationCacheJavaToolchainsIntegrationTest.groovy | subprojects/configuration-cache/src/integTest/groovy/org/gradle/configurationcache/ConfigurationCacheJavaToolchainsIntegrationTest.groovy | /*
* Copyright 2022 the original author or authors.
*
* 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 applica... | Write test for previous change | Write test for previous change
| Groovy | apache-2.0 | gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,grad... | |
871c8629a06756c92e0d74d120b57bba63c14572 | ci/Jenkins.groovy | ci/Jenkins.groovy | node {
stage 'git'
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'SubmoduleOption', disableSubmodules: false, recursiveSubmodules: true, reference: '', trackingSubmodules: false]], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gi... | Include the jenkins pipeline configuration in the repository | Include the jenkins pipeline configuration in the repository
| Groovy | mit | wichtounet/etl,wichtounet/etl | |
0942984af2b1889d8c704e2342a7ee911aba5510 | robototextview-gradle-plugin/src/test/groovy/com/devspark/robototextview/gradle/RobotoTextViewPluginTest.groovy | robototextview-gradle-plugin/src/test/groovy/com/devspark/robototextview/gradle/RobotoTextViewPluginTest.groovy | package com.devspark.robototextview.gradle
import com.android.build.gradle.AppPlugin
import org.gradle.api.Project
import org.gradle.testfixtures.ProjectBuilder
import org.junit.Test
class RobotoTextViewPluginTest {
@Test
void testApply() {
Project project = ProjectBuilder.builder().build()
p... | Add simple test for RobotoTextViewPlugin | Add simple test for RobotoTextViewPlugin
| Groovy | apache-2.0 | johnkil/Android-RobotoTextView | |
ea01338a9bd31c73e6909fb1ed47c104621e21bc | subprojects/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeDependentComponentsReportIntegrationTest.groovy | subprojects/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeDependentComponentsReportIntegrationTest.groovy | /*
* Copyright 2016 the original author or authors.
*
* 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 applica... | Add integ tests for dependent components report | Add integ tests for dependent components report
- @NotYetImplemented test for circular dependencies
- Simple test that demonstrates multiple variants within a single project
| Groovy | apache-2.0 | gstevey/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,lsmaira/gradle,gstevey/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,gstevey/gr... | |
a0d54a9ac35836cacfb3b92b3c31baffe4b1bfe0 | subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/TreeVisitorCacheExpirationStrategyTest.groovy | subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/TreeVisitorCacheExpirationStrategyTest.groovy | /*
* Copyright 2016 the original author or authors.
*
* 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 applica... | Add unit test for TreeVisitorCacheExpirationStrategy | Add unit test for TreeVisitorCacheExpirationStrategy
- first test for listener registration / de-registration
+review REVIEW-5972
| Groovy | apache-2.0 | gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gstevey/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,robinverduijn/gradle,gstevey/gradle,lsma... | |
a683ffdfdcfb1120a1d49be8be0d75ec3eb4c23f | libnacl/jobs.groovy | libnacl/jobs.groovy | // libnacl Jenkins jobs seed script
// Common variable Definitions
def github_project_url = 'https://github.com/saltstack/libnacl'
def git_url = 'https://github.com/saltstack/libnacl.git'
def project_description = 'Python ctypes wrapper for libsodium'
// Job rotation defaults
def default_days_to_keep = 90
def default... | Add initial DLS skeleton for the libnacl project | Add initial DLS skeleton for the libnacl project
| Groovy | apache-2.0 | saltstack/jenkins-dsl-jobs | |
795dc190c2782bb42e89bc2d27fa419034398336 | jobs/clusterator_jobs.groovy | jobs/clusterator_jobs.groovy | evaluate(new File("${WORKSPACE}/common.groovy"))
job("clusterator-create") {
description "Create a set number of clusters in the deis leasable project. This job runs Monday-Friday at 7AM."
logRotator {
daysToKeep defaults.daysToKeep
}
triggers {
cron('0 7 1 * 1-5')
}
parameters {
stringParam... | Add create and delete cluster jobs | feat(clusterator): Add create and delete cluster jobs
| Groovy | mit | deis/jenkins-jobs | |
42785f76e8a932400b02a4548dc70b537e3df30f | functional-tests/src/test/groovy/StaticErrorSpecs.groovy | functional-tests/src/test/groovy/StaticErrorSpecs.groovy | import geb.spock.GebReportingSpec
import pages.app.ValidateStaticPage
class StaticErrorSpecs extends GebReportingSpec {
def "Static Error Test"(){
when:
to ValidateStaticPage
then:
assert staticDataError
}
}
| Add groovey file for static data validation | Add groovey file for static data validation | Groovy | apache-2.0 | GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp | |
bef49fea7cb7f9b05fcbf8109ba4dc8102366774 | subprojects/core/src/integTest/groovy/org/gradle/api/ApplyPluginIntegSpec.groovy | subprojects/core/src/integTest/groovy/org/gradle/api/ApplyPluginIntegSpec.groovy | package org.gradle.api
import org.gradle.integtests.fixtures.AbstractIntegrationSpec
import spock.lang.Issue
class ApplyPluginIntegSpec extends AbstractIntegrationSpec {
@Issue("GRADLE-2358")
def "can reference plugin by id in unitest"() {
given:
file("src/main/groovy/org/acme/TestPlugin") <... | Add (succeeding) testcase for GRADLE-2358 | Add (succeeding) testcase for GRADLE-2358
| Groovy | apache-2.0 | lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,lsmaira/grad... | |
0b19d0937e449980a51fb4de9748b132a43e05ae | examples/naturalearth2mbtiles.groovy | examples/naturalearth2mbtiles.groovy | import geoscript.layer.ImageTileRenderer
import geoscript.layer.Layer
import geoscript.layer.MBTiles
import geoscript.layer.Pyramid
import geoscript.layer.TileGenerator
import geoscript.layer.TileRenderer
import geoscript.style.Fill
import geoscript.style.Stroke
import geoscript.workspace.Directory
import geoscript.wor... | Add natural earth to mbtiles example | Add natural earth to mbtiles example
| Groovy | mit | geoscript/geoscript-groovy,geoscript/geoscript-groovy | |
13fd28c4cdb0555db99b767b90494f2006468c0b | examples/style_randomized_fill.groovy | examples/style_randomized_fill.groovy | import geoscript.layer.Shapefile
import geoscript.render.Draw
import geoscript.style.*
shp = new Shapefile("states.shp")
shp.style = (new Fill(null).hatch("circle", new Fill("#aaaaaa"), 1).random([random: true, symbolCount: "50", tileSize: "100"]).where("PERSONS < 2000000")) +
(new Fill(null).hatch("circle", n... | Add randomised fill example based on Andrea's example | Add randomised fill example based on Andrea's example
| Groovy | mit | sbortman/geoscript-groovy,geoscript/geoscript-groovy,sbortman/geoscript-groovy,geoscript/geoscript-groovy | |
23ba91c372aafb794330abb3e06ccd96ac58480d | whelktool/scripts/cleanups/2022/10/lxl-3888-move-summary-for-mtm.groovy | whelktool/scripts/cleanups/2022/10/lxl-3888-move-summary-for-mtm.groovy | /**
* Almost identical to scripts/cleanups/2022/07/lxl-3303-summary-to-instance.groovy
* See https://jira.kb.se/browse/LXL-3888 for more info
*/
def where = """
collection = 'bib'
AND data['@graph'][1]['instanceOf']['summary'] IS NOT NULL
AND data['@graph'][0]['descriptionCreator']['@id'] = '"https://libris.k... | Add script for moving summary from work to instance in records created by Mtm | Add script for moving summary from work to instance in records created by Mtm
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
46cfe84481f3743cbce2d72cc4f8e9f784e3694c | src/main/groovy/nu/studer/gradle/plugindev/GeneratePluginPropertiesFileTask.groovy | src/main/groovy/nu/studer/gradle/plugindev/GeneratePluginPropertiesFileTask.groovy | /*
* Copyright 2014 Etienne Studer
*
* 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 or agreed to i... | Add task to generate plugin descriptor | Add task to generate plugin descriptor
| Groovy | apache-2.0 | muryoh/gradle-plugindev-plugin,etiennestuder/gradle-plugindev-plugin | |
cdd9bd4b09218141fdce83c10678a4fe26db3e9f | webtests/webtests-container-auth/src/test/groovy/woko/webtests/HomePageTest.groovy | webtests/webtests-container-auth/src/test/groovy/woko/webtests/HomePageTest.groovy | package woko.webtests
class HomePageTest extends WebTestBase{
void testHomePage(){
webtest('test HomePage') {
// For guest users
goToPage '/home'
verifyTitle 'Woko - home'
// Click 'Home" link in navbar
clickLink href:'/woko-webtests/home'
verifyTitle 'Woko - h... | Add a webtest for the home pages (guest and devel user) | Add a webtest for the home pages (guest and devel user)
| Groovy | apache-2.0 | pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko | |
c2defa19c1de1a53742317b59121bdc1fcf74940 | whelktool/scripts/cleanups/2021/02/lxl-2935-2759-failedfixedfields.groovy | whelktool/scripts/cleanups/2021/02/lxl-2935-2759-failedfixedfields.groovy | /**
* Removes 17 (encodingLevel) from _marcFailedFixedFields for bib and hold records.
*
* See LXL-2935 and LXL-2759 for more info.
*/
PrintWriter modifiedBibs = getReportWriter("modified-bibs")
PrintWriter modifiedHolds = getReportWriter("modified-holds")
String where = """
(collection = 'bib' or collection = ... | Add script for removing encodingLevel from _marcFailedFixedFields | Add script for removing encodingLevel from _marcFailedFixedFields
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
81f3445cf7325717a67561e971037cf0d18c1d27 | whelktool/scripts/cleanups/2021/03/lxl-3417-remove-976-from-mtm-records.groovy | whelktool/scripts/cleanups/2021/03/lxl-3417-remove-976-from-mtm-records.groovy |
selectBySqlWhere("collection = 'bib' and data#>'{@graph,1,marc:hasBib976}' is not null") { data ->
data.graph[1].remove("marc:hasBib976")
data.scheduleSave()
}
| Add script for removing all marc:976 (SAB-rubriker) from MTM records | Add script for removing all marc:976 (SAB-rubriker) from MTM records
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
4ab63395e4981f0ada705c6c692d9c46912b4077 | subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CommandLineTaskExecutionIntegrationTest.groovy | subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CommandLineTaskExecutionIntegrationTest.groovy | /*
* Copyright 2022 the original author or authors.
*
* 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 applica... | Add some test coverage for mutating `startParameter.taskNames` | Add some test coverage for mutating `startParameter.taskNames`
| Groovy | apache-2.0 | gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle | |
244a37efca889a38f7bc7c8846581a2c60ec5993 | groovy/CiBuilderScriptsJobs.groovy | groovy/CiBuilderScriptsJobs.groovy | /*
* Copyright (c) 2018 SIL International
* This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
*/
/*
* DSL script for Jenkins pre-merge builds of ci-builder-scripts repo
*/
freeStyleJob('Gerrit-CiBuilderScripts-preMerge') {
description '''<p>Pre-merge builds of ci-builder-scrip... | Add pre-merge build for ci-builder-scripts | Add pre-merge build for ci-builder-scripts
This will be triggered when a change is added or updated on
Gerrit and will run some tests.
Change-Id: I6aee4caf709614be3a93382e77019cfc469915b8
| Groovy | mit | sillsdev/ci-builder-scripts,sillsdev/ci-builder-scripts,sillsdev/ci-builder-scripts | |
8e97e440560dea608cf322126763becf3a07d61d | src/test/groovy/geb/test/TestHttpServer.groovy | src/test/groovy/geb/test/TestHttpServer.groovy | /*
* Copyright 2009 the original author or authors.
*
* 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 applicab... | /*
* Copyright 2009 the original author or authors.
*
* 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 applicab... | Fix incorrect use of final. | Fix incorrect use of final.
| Groovy | apache-2.0 | geb/geb,pierre-hilt/geb,pierre-hilt/geb,madmas/geb,kgeis/geb,pierre-hilt/geb,madmas/geb,ntotomanov-taulia/geb,menonvarun/geb,madmas/geb,menonvarun/geb,onBass-naga/geb,onBass-naga/geb,kgeis/geb,kgeis/geb,menonvarun/geb,ntotomanov-taulia/geb,geb/geb |
2043615f50f2a7a871368503bd27e9c63c6c0585 | broker/src/main/groovy/com/swisscom/cloud/sb/broker/metrics/ServiceBindingRepositoryHelper.groovy | broker/src/main/groovy/com/swisscom/cloud/sb/broker/metrics/ServiceBindingRepositoryHelper.groovy | package com.swisscom.cloud.sb.broker.metrics
import com.swisscom.cloud.sb.broker.model.repository.ServiceBindingRepository
import groovy.transform.CompileStatic
import groovy.util.logging.Slf4j
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component
@Component
@Co... | Implement writing initial value to influxDB | Implement writing initial value to influxDB
| Groovy | apache-2.0 | swisscom/open-service-broker,swisscom/open-service-broker | |
985dcdb6bcde2389b751aecd0a4ea41eef93fd0e | src/test/groovy/bugs/Groovy9601.groovy | src/test/groovy/bugs/Groovy9601.groovy | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | Add a regression test for GROOVY-9601 | Add a regression test for GROOVY-9601
| Groovy | apache-2.0 | paulk-asert/groovy,apache/incubator-groovy,apache/groovy,paulk-asert/groovy,paulk-asert/groovy,apache/incubator-groovy,paulk-asert/incubator-groovy,apache/groovy,apache/incubator-groovy,apache/groovy,paulk-asert/incubator-groovy,paulk-asert/groovy,apache/incubator-groovy,apache/groovy,paulk-asert/incubator-groovy,paulk... | |
b87d24b7026011cf291de2773da0168fad4e332b | grails-app/conf/BuildConfig.groovy | grails-app/conf/BuildConfig.groovy |
grails.project.dependency.resolution = {
inherits "global" // inherit Grails' default dependencies
log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
repositories {
grailsPlugins()
grailsHome()
mavenCentral()
}
dependencies {
... | Build config update to include Mockito for service testing. | Build config update to include Mockito for service testing.
git-svn-id: b87044d0131b6a59018bcc985b54930418d2a5d3@61368 832c1c66-4827-0410-8465-ccb17913cd09
| Groovy | apache-2.0 | acampbell3000/grails-picasa | |
3b0de617ae02f140e720fed4a0b8effac02bc9c0 | .test-infra/jenkins/PhraseTriggeringPostCommitBuilder.groovy | .test-infra/jenkins/PhraseTriggeringPostCommitBuilder.groovy | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Create builder for phrase triggered only jobs | [BEAM-6011] Create builder for phrase triggered only jobs
| Groovy | apache-2.0 | robertwb/incubator-beam,robertwb/incubator-beam,markflyhigh/incubator-beam,chamikaramj/beam,apache/beam,apache/beam,chamikaramj/beam,chamikaramj/beam,RyanSkraba/beam,charlesccychen/beam,robertwb/incubator-beam,charlesccychen/beam,lukecwik/incubator-beam,chamikaramj/beam,apache/beam,markflyhigh/incubator-beam,charlesccy... | |
06872185694311f545ad0acec35d89bc07fa66cd | src/main/scripts/InstallTemplates.groovy | src/main/scripts/InstallTemplates.groovy | /*
* Copyright 2012 Rob Fletcher
*
* 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 or agreed to... | Migrate install-templates command from fields plugin | Migrate install-templates command from fields plugin | Groovy | apache-2.0 | grails3-plugins/scaffolding,miffels/scaffolding | |
e0bb1fa590c3e1f4002766a2b379872ea7ca0ce4 | whelktool/scripts/cleanups/2019/12/lxl-2508.groovy | whelktool/scripts/cleanups/2019/12/lxl-2508.groovy | /*
Using as template (after newly created Item):
{
"@graph": [
{
"@id": "https://libris-dev.kb.se/gsf7dx05dvppsfp1",
"@type": "Record",
"created": "2019-12-10T12:22:28.912+01:00",
"modified": "2019-12-10T12:22:28.912+01:00",
"mainEntity": {
... | Add S holdings on suecana script. | Add S holdings on suecana script.
| Groovy | apache-2.0 | libris/librisxl,libris/librisxl,libris/librisxl | |
7fc1e1f76e2fe186b536f4e300f4da12ef3a605b | groovyNotesFour.groovy | groovyNotesFour.groovy | class groovyNotesFour {
static void main(String[] args) {
// "Map Literals"
// Associative Arrays (aka Hash in Ruby and kinda like Object in JS)
def myMap = [
name: 'Andrew', // fine to leave out quotes in key
'age': 24,
numbers: [34, 23, 12]
]
println myMap['name']
println ... | Add fourth file of notes with info about Map | Add fourth file of notes with info about Map
| Groovy | mit | nbkhope/groovy-notes | |
cf00bbd0c9124316c29e894e75686100d118fab6 | .test-infra/jenkins/job_PostCommit_Python_PortableValidatesRunner_Flink.groovy | .test-infra/jenkins/job_PostCommit_Python_PortableValidatesRunner_Flink.groovy | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Add Jenkins script to Python Flink Portable compatibility matrix tests | Add Jenkins script to Python Flink Portable compatibility matrix tests
| Groovy | apache-2.0 | robertwb/incubator-beam,rangadi/beam,iemejia/incubator-beam,chamikaramj/beam,charlesccychen/incubator-beam,charlesccychen/beam,apache/beam,robertwb/incubator-beam,rangadi/incubator-beam,rangadi/incubator-beam,chamikaramj/beam,apache/beam,apache/beam,chamikaramj/beam,robertwb/incubator-beam,lukecwik/incubator-beam,ranga... | |
e6006b56c009d3f485135a2e2df84e4295ab44b8 | src/test/groovy/bugs/Groovy2773Bug.groovy | src/test/groovy/bugs/Groovy2773Bug.groovy | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | Add a test for "GROOVY-2773: Strange behaviour when passing chained methods (methodA().methodB().etc()) as parameters" | Add a test for "GROOVY-2773: Strange behaviour when passing chained methods (methodA().methodB().etc()) as parameters"
| Groovy | apache-2.0 | apache/incubator-groovy,paulk-asert/incubator-groovy,paulk-asert/groovy,shils/groovy,paulk-asert/incubator-groovy,shils/incubator-groovy,jwagenleitner/incubator-groovy,jwagenleitner/groovy,paulk-asert/incubator-groovy,apache/groovy,jwagenleitner/incubator-groovy,jwagenleitner/groovy,apache/groovy,jwagenleitner/incubato... | |
69699a9e9f8f38d227db7645afc8aa71e3c9b5ae | src/test/groovy/com/github/yihtserns/groovy/deco/InterceptTest.groovy | src/test/groovy/com/github/yihtserns/groovy/deco/InterceptTest.groovy | /*
* Copyright 2016 yihtserns.
*
* 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 or a... | Add test for Intercept annotation. | Add test for Intercept annotation. | Groovy | apache-2.0 | yihtserns/groovy-decorator | |
3911f66cd7259fe51daac9c2f4fa856fe927e2b0 | tapestry-core/src/test/groovy/org/apache/tapestry5/LaunchJetty7.groovy | tapestry-core/src/test/groovy/org/apache/tapestry5/LaunchJetty7.groovy | // Copyright 2011 The Apache Software Foundation
//
// 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 o... | Add a Groovy script to launch the Tapestry test application inside IntelliJ | Add a Groovy script to launch the Tapestry test application inside IntelliJ
git-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@1142128 13f79535-47bb-0310-9956-ffa450edef68
| Groovy | apache-2.0 | agileowl/tapestry-5,apache/tapestry-5,apache/tapestry-5,agileowl/tapestry-5,apache/tapestry-5,agileowl/tapestry-5,apache/tapestry-5,apache/tapestry-5 | |
5bed2075ed6fc90649666f8be1d9f6d3e01e3586 | webtests/webtests-container-auth/src/test/groovy/woko/webtests/NavBarTest.groovy | webtests/webtests-container-auth/src/test/groovy/woko/webtests/NavBarTest.groovy | package woko.webtests
/**
* Created by IntelliJ IDEA.
* User: Alexis Boissonnat - CSTB
* Date: Feb 8, 2011
* Time: 2:19:22 PM
*/
class NavBarTest extends WebTestBase{
void testNavBarLinks(){
webtest('test navbar links') {
// For guest users
goToPage '/home'
verifyTitle 'Wok... | Add test for navbar's links | Add test for navbar's links
| Groovy | apache-2.0 | pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko | |
40d203ca39f5330b99188470c8e4cf1d32369af0 | subprojects/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy | subprojects/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy | /*
* Copyright 2015 the original author or authors.
*
* 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 applica... | Add tests for model maps | Add tests for model maps
This is to cover some cases in gradle/langos#82
| Groovy | apache-2.0 | gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/g... | |
4eee010938bf775a58c2a5bb80fea382460eb126 | src/experiments/groovy/rx/curator/PathCacheObservable.groovy | src/experiments/groovy/rx/curator/PathCacheObservable.groovy | package rx.curator
import org.apache.curator.RetryPolicy
import org.apache.curator.framework.CuratorFramework
import org.apache.curator.framework.CuratorFrameworkFactory
import org.apache.curator.framework.recipes.cache.PathChildrenCache
import org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent
import o... | Add a simple PathChildrenCache experiment trying to tie Curator into RxJava | Add a simple PathChildrenCache experiment trying to tie Curator into RxJava
Running this against a running Kafka results in:
9:14:42 AM: Executing external task 'runExperiment -t -PexperimentClass=rx.curator.PathCacheObservable'...
:compileJava UP-TO-DATE
:compileGroovy UP-TO-DATE
:processResources UP... | Groovy | mit | reiseburo/beetle | |
1201c48ff27c0ff82d4d9f6ebd056c6699256bc6 | pipelines/dax/docker/build_imgserv.groovy | pipelines/dax/docker/build_imgserv.groovy | node('jenkins-master') {
dir('jenkins-dm-jobs') {
checkout([
$class: 'GitSCM',
branches: scm.getBranches(),
userRemoteConfigs: scm.getUserRemoteConfigs(),
changelog: false,
poll: false
])
notify = load 'pipelines/lib/notify.groovy'
util = load 'pipelines/lib/util.groovy'
... | Add Docker build for dax_imgserv | Add Docker build for dax_imgserv
| Groovy | apache-2.0 | jhoblitt/jenkins-dm-jobs,lsst-sqre/jenkins-dm-jobs | |
424aa2ffcd5325e2c49c95325488aa243d0c1f23 | src/test/groovy/org/osiam/resources/scim/UserUpdateSpec.groovy | src/test/groovy/org/osiam/resources/scim/UserUpdateSpec.groovy | /**
* The MIT License (MIT)
*
* Copyright (C) 2013-2016 tarent solutions GmbH
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the ri... | Add tests for updating a user | Add tests for updating a user
| Groovy | mit | osiam/connector4java | |
fdbba3eeea691954bbcb7743905dcb04f8bee514 | db/migrate/001_release1/003_create_activities.groovy | db/migrate/001_release1/003_create_activities.groovy | class CreateActivities extends edu.northwestern.bioinformatics.bering.Migration {
void up() {
createTable('activities') { t ->
t.addColumn('version', 'integer', nullable:false)
t.addColumn('name', 'string', nullable:false)
t.addColumn('type', 'string', nullable:false)
... | Add table for actions library | Add table for actions library
git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@88 0d517254-b314-0410-acde-c619094fa49f
| Groovy | bsd-3-clause | NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror | |
ca942bb9550db631c9cadf4140a7948e96e43e46 | src/test/groovy/org/gosulang/gradle/functional/MultiversionTestable.groovy | src/test/groovy/org/gosulang/gradle/functional/MultiversionTestable.groovy | package org.gosulang.gradle.functional
trait MultiversionTestable {
private final ClassLoader classLoader = this.class.classLoader
private final URL _gradleVersionResource = classLoader.getResource("gradleVersion.txt")
private final URL _fullyTestedVersionsResource = classLoader.getResource("fullyTestedVe... | Add trait for centralizing multiversion testing logic | Add trait for centralizing multiversion testing logic
| Groovy | bsd-3-clause | gosu-lang/gradle-gosu-plugin | |
c48d5f92caf33e2113a1431c445eb8b583d7632e | spock-specs/src/test/groovy/org/spockframework/smoke/WithBlocksStatic.groovy | spock-specs/src/test/groovy/org/spockframework/smoke/WithBlocksStatic.groovy | /*
* Copyright 2012 the original author or authors.
*
* 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 applicab... | Add a test showing that the with block can be statically type checked when it has the necessary annotations | Add a test showing that the with block can be statically type checked when it has the necessary annotations
| Groovy | apache-2.0 | leonard84/spock,spockframework/spock | |
5ed6cb2ae54e446ca47eeea0141047ee1f22818b | webtests/webtests-container-auth/src/test/groovy/woko/webtests/WokoStudioPageTest.groovy | webtests/webtests-container-auth/src/test/groovy/woko/webtests/WokoStudioPageTest.groovy | package woko.webtests
class WokoStudioPageTest extends WebTestBase{
void testFindPage(){
webtest('test Woko Studio page'){
login()
clickLink label:'woko studio'
verifyTitle 'Woko - Studio'
verifyText 'Woko Studio'
// Check search input is present
checkSearchF... | Add a webtest for the woko studio | Add a webtest for the woko studio
| Groovy | apache-2.0 | pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko | |
8b407d8b7f19c7ef5c0fc30beb113360413d082a | subprojects/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonRegistryServicesTest.groovy | subprojects/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonRegistryServicesTest.groovy | /*
* Copyright 2011 the original author or authors.
*
* 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 applica... | Test for daemon registry instance reuse per registry file | Test for daemon registry instance reuse per registry file
| Groovy | apache-2.0 | gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,lsmaira/gradle,robinverduijn/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/... | |
69886206fb3a53936b0402d3ddda7b819105f57f | subprojects/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyHandlerApiResolveIntegrationTest.groovy | subprojects/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyHandlerApiResolveIntegrationTest.groovy | /*
* Copyright 2015 the original author or authors.
*
* 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 applica... | Make sure that gradleAPI() dependencies don't include test-kit dependency. | Make sure that gradleAPI() dependencies don't include test-kit dependency.
+review REVIEW-5533
| Groovy | apache-2.0 | blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,ro... | |
89ed05a9519dec7e526be23a9ea63f3c1df00957 | subprojects/testing-jvm/src/integTest/groovy/org/gradle/jvm/plugins/JUnitTestSuitePluginGoodBehaviourTest.groovy | subprojects/testing-jvm/src/integTest/groovy/org/gradle/jvm/plugins/JUnitTestSuitePluginGoodBehaviourTest.groovy | /*
* Copyright 2015 the original author or authors.
*
* 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 applica... | Add well behaved plugin test | Add well behaved plugin test
Story: gradle/langos#103
| Groovy | apache-2.0 | lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,gstevey/gradle,gradle... | |
8e0fdd4de25489c3117e0bbbadad7d042708bce2 | plugin/com.sandpolis.gradle.plugin/src/main/groovy/com/sandpolis/gradle/plugin/PluginPackager.groovy | plugin/com.sandpolis.gradle.plugin/src/main/groovy/com/sandpolis/gradle/plugin/PluginPackager.groovy | /******************************************************************************
* *
* Copyright 2018 Subterranean Security *
* *
... | Add basic plugin packager without code signing | Add basic plugin packager without code signing | Groovy | mpl-2.0 | Subterranean-Security/Sandpolis,Subterranean-Security/Sandpolis,Subterranean-Security/Sandpolis,Subterranean-Security/Sandpolis,Subterranean-Security/Sandpolis,Subterranean-Security/Sandpolis,Subterranean-Security/Sandpolis,Subterranean-Security/Sandpolis | |
e626c8256755a42c9eb4c4d47e9072ce6a58b84a | src/test/groovy/docToolchain/ExportMarkdownSpec.groovy | src/test/groovy/docToolchain/ExportMarkdownSpec.groovy | package docToolchain
import org.gradle.testkit.runner.GradleRunner
import spock.lang.Specification
import static org.gradle.testkit.runner.TaskOutcome.SUCCESS
class ExportMarkdownSpec extends Specification {
public static final File exportedMarkdownFile = new File('./build/docs/exportMarkdownDocs.adoc')
v... | Add test to verify markdown conversion | Add test to verify markdown conversion
| Groovy | mit | docToolchain/docToolchain,docToolchain/docToolchain,docToolchain/docToolchain,jakubjab/docToolchain,docToolchain/docToolchain | |
21abbbfe0c09f7f1d7e26d7308cebed63e63fc78 | src/test/org/codehaus/groovy/tools/stubgenerator/InnerAnnotationStubTest.groovy | src/test/org/codehaus/groovy/tools/stubgenerator/InnerAnnotationStubTest.groovy | /*
* Copyright 2003-2013 the original author or authors.
*
* 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 ap... | Test case for GROOVY-6085: Annotation for inner interface in Java stub should not use dollar notation | Test case for GROOVY-6085: Annotation for inner interface in Java stub should not use dollar notation
| Groovy | apache-2.0 | gillius/incubator-groovy,PascalSchumacher/incubator-groovy,groovy/groovy-core,alien11689/groovy-core,paulk-asert/groovy,EPadronU/incubator-groovy,sagarsane/incubator-groovy,paplorinc/incubator-groovy,adjohnson916/incubator-groovy,EPadronU/incubator-groovy,EPadronU/incubator-groovy,christoph-frick/groovy-core,bsideup/in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.