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
8cd50a0b4e262f0fdde499fc002b7459df31141e
whelktool/scripts/cleanups/2020/11/lxl-3432-remove-forskning-metodik.groovy
whelktool/scripts/cleanups/2020/11/lxl-3432-remove-forskning-metodik.groovy
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = "collection = 'bib' AND data#>>'{@graph,1,instanceOf,subject}' SIMILAR TO '%forskning, ?metodik%'" selectBySqlWhere(where) { data -> List subjects = data.graph[1].i...
Add script for splitting forskning,metodik into separate terms
Add script for splitting forskning,metodik into separate terms
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
9b0c97e065c03d0dc31632bb40ee6972ec62b2f1
rundeckapp/grails-app/services/rundeck/services/ResourceService.groovy
rundeckapp/grails-app/services/rundeck/services/ResourceService.groovy
package rundeck.services import com.dtolabs.rundeck.core.storage.ResourceTree import com.dtolabs.rundeck.core.storage.ResourceUtil import org.rundeck.storage.data.DataUtil class ResourceService { ResourceTree rundeckResourceTree def hasResource(String path) { rundeckResourceTree.hasPath(path) } ...
package rundeck.services import com.dtolabs.rundeck.core.storage.ResourceTree import com.dtolabs.rundeck.core.storage.ResourceUtil import org.rundeck.storage.data.DataUtil class ResourceService { ResourceTree rundeckResourceTree def hasPath(String path) { rundeckResourceTree.hasPath(path) } d...
Update use of tree interface
Update use of tree interface
Groovy
apache-2.0
patcadelina/rundeck,rundeck/rundeck,tjordanchat/rundeck,rophy/rundeck,jgpacker/rundeck,jamieps/rundeck,jgpacker/rundeck,damageboy/rundeck,tjordanchat/rundeck,jgpacker/rundeck,paul-krohn/rundeck,variacode95/rundeck,variacode/rundeck,damageboy/rundeck,jgpacker/rundeck,paul-krohn/rundeck,jamieps/rundeck,rophy/rundeck,dama...
3074ad67f43f12c4e727a459e00718edbf8f53d2
subprojects/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/r34/BuildActionCrossVersionSpec.groovy
subprojects/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/r34/BuildActionCrossVersionSpec.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 faulty classloader problem
Add Integration test for faulty classloader problem
Groovy
apache-2.0
gstevey/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gst...
24321293d2e9328055357ae840d3c194268cc08f
src/test-new/groovy/PowerOperationTest.groovy
src/test-new/groovy/PowerOperationTest.groovy
/** * Test Math Power Operation in New Groovy * * @author Pilho Kim * @version $Revision$ */ class PowerOperationTest extends GroovyTestCase { void testConstantPowerOperation() { assert 2**5 == 32 assert -2**5 == -32 assert 3**4 == 81 assert -3**4 == -81 assert 3**-4 ...
Support the math power operator ** for New Groovy (for example, assert -3**2 **= -9 ). But the power assignment operator **= is not supported yet.
Support the math power operator ** for New Groovy (for example, assert -3**2 **= -9 ). But the power assignment operator **= is not supported yet. git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@1903 a5544e8c-8a19-0410-ba12-f9af4593a198
Groovy
apache-2.0
aim-for-better/incubator-groovy,paulk-asert/groovy,graemerocher/incubator-groovy,ChanJLee/incubator-groovy,graemerocher/incubator-groovy,kenzanmedia/incubator-groovy,russel/incubator-groovy,russel/incubator-groovy,rabbitcount/incubator-groovy,nobeans/incubator-groovy,adjohnson916/groovy-core,fpavageau/groovy,genqiang/i...
ccc70029db6f653bd09ca992a34e97323b6e61d8
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.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 integration test for resolving a Maven version range (declared as [1.0, 2.0) in a POM and referenced transitively) against a maven repository.
GRADLE-2318: Add integration test for resolving a Maven version range (declared as [1.0, 2.0) in a POM and referenced transitively) against a maven repository.
Groovy
apache-2.0
gradle/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,gstevey/gradle,gstevey/gradle,lsmaira/gradle,gradle/gradle,lsmaira/gradle,robinverduijn/gradl...
6a812dab228805c903b876bfccd90842d08a146e
test/src/test/groovy/org/zstack/test/integration/storage/primary/local/LocalStorageCalculateCapacityCase.groovy
test/src/test/groovy/org/zstack/test/integration/storage/primary/local/LocalStorageCalculateCapacityCase.groovy
package org.zstack.test.integration.storage.primary.local import org.springframework.http.HttpEntity import org.zstack.kvm.KVMAgentCommands import org.zstack.kvm.KVMConstant import org.zstack.sdk.ClusterInventory import org.zstack.sdk.GetLocalStorageHostDiskCapacityAction import org.zstack.sdk.PrimaryStorageInventory ...
Add case about querying LocalStorage capacity when adding host
Add case about querying LocalStorage capacity when adding host
Groovy
apache-2.0
zstackio/zstack,zstackio/zstack,zstackio/zstack,camilesing/zstack,MatheMatrix/zstack,AlanJager/zstack,camilesing/zstack,AlanJager/zstack,MatheMatrix/zstack,zstackorg/zstack,camilesing/zstack,MatheMatrix/zstack,AlanJager/zstack,zstackorg/zstack
08e9ee1848f4f10e8449e251ddbf3ca6d022720e
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/TaskUpToDateCrossVersionIntegrationTest.groovy
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/TaskUpToDateCrossVersionIntegrationTest.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...
Test Gradle version change makes task out-of-date
Test Gradle version change makes task out-of-date +review REVIEW-6020
Groovy
apache-2.0
blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,r...
ecf97ee43ae2bcfc8fa2729cb3061be56e510bae
pact-jvm-consumer/src/test/groovy/au/com/dius/pact/consumer/MockHttpServerSpec.groovy
pact-jvm-consumer/src/test/groovy/au/com/dius/pact/consumer/MockHttpServerSpec.groovy
package au.com.dius.pact.consumer import spock.lang.Specification import spock.lang.Unroll class MockHttpServerSpec extends Specification { @Unroll def 'calculated charset test - "#contentTypeHeader"'() { expect: MockHttpServerKt.calculateCharset(headers).name() == expectedCharset where: conte...
package au.com.dius.pact.consumer import spock.lang.Specification import spock.lang.Unroll class MockHttpServerSpec extends Specification { @Unroll def 'calculated charset test - "#contentTypeHeader"'() { expect: MockHttpServerKt.calculateCharset(headers).name() == expectedCharset where: conte...
Correct a test after the changing the detail charset
Correct a test after the changing the detail charset
Groovy
apache-2.0
algra/pact-jvm,DiUS/pact-jvm,algra/pact-jvm,DiUS/pact-jvm
6f7f2edd402f30559fc1e2e3648ebbfd5db51f06
src/integ/groovy/foundation/omni/test/consensus/chest/tetherus/CompareCoreChestSpec.groovy
src/integ/groovy/foundation/omni/test/consensus/chest/tetherus/CompareCoreChestSpec.groovy
package foundation.omni.test.consensus.chest.tetherus import foundation.omni.consensus.ChestConsensusTool import foundation.omni.test.consensus.chest.BaseChestConsensusSpec import spock.lang.Title import static foundation.omni.CurrencyID.MSC import static foundation.omni.CurrencyID.TetherUS /** */ @Title("Compare M...
Add Core vs. Chest test for TetherUS.
Add Core vs. Chest test for TetherUS.
Groovy
apache-2.0
dexX7/OmniJ,dexX7/bitcoin-spock,OmniLayer/OmniJ,dexX7/bitcoin-spock,OmniLayer/OmniJ,dexX7/OmniJ,OmniLayer/OmniJ
046e976b3819fb883d9a514f3a8a7136560b570a
whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy
whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy
/** * Fetch date for frequency from unhandled and add to frequency on instance * * See LXL-2841 for more info. */ PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = "collection = 'bib' and data#>>'{@graph,0,_marcUnc...
Add script for fetching and adding date for frequency from unhandled
Add script for fetching and adding date for frequency from unhandled
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
6831fd8836385e2a6b1851cf15febeb34be254a6
subprojects/model-core/src/integTest/groovy/org/gradle/internal/extensibility/CallablePropertyIntegrationTest.groovy
subprojects/model-core/src/integTest/groovy/org/gradle/internal/extensibility/CallablePropertyIntegrationTest.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 integ test for callable property
Add integ test for callable property
Groovy
apache-2.0
gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle
5e943e217a093bd378dc6bb00fbafe656cc8f8cb
src/test/groovy/xml/StreamingMarkupTest.groovy
src/test/groovy/xml/StreamingMarkupTest.groovy
package org.codehaus.groovy.sandbox.markup /** * This test uses the concise syntax to test the building of * textual markup (XML or HTML) using GroovyMarkup */ class MarkupTest extends groovy.xml.TestXmlSupport { void testSmallTree() { b = new StreamingMarkupBuilder() m = { ...
Add a unit test for StreamingMarkupBuilder
Add a unit test for StreamingMarkupBuilder git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@982 a5544e8c-8a19-0410-ba12-f9af4593a198
Groovy
apache-2.0
eginez/incubator-groovy,ebourg/incubator-groovy,i55ac/incubator-groovy,PascalSchumacher/incubator-groovy,pledbrook/incubator-groovy,samanalysis/incubator-groovy,avafanasiev/groovy,nkhuyu/incubator-groovy,i55ac/incubator-groovy,upadhyayap/incubator-groovy,guangying945/incubator-groovy,alien11689/groovy-core,christoph-fr...
cc20089f4a50df7b2fc0fd7aaa2397352ab4a07e
jenkins_jobs.groovy
jenkins_jobs.groovy
// Jenkins build jobs for babel-standalone job('babel-standalone-update') { description 'Updates babel-standalone to the latest version of Babel' label 'powershell' scm { git { branch 'master' remote { github 'babel/babel-standalone', 'ssh' } extensions { // Required s...
Add Jenkins job for auto-updates
Add Jenkins job for auto-updates
Groovy
mit
Daniel15/babel-standalone
2e1670e72e125e439d0576e6fa94347010af3ecc
examples/raster_random.groovy
examples/raster_random.groovy
import geoscript.filter.Color import geoscript.geom.Bounds import geoscript.layer.Band import geoscript.layer.GeoTIFF import geoscript.layer.Raster // Create a new Raster Raster raster = new Raster( new Bounds(-180,-90,180,90,"EPSG:4326"), 400,300, [ new Band("red", 0, 255, 256)...
Add raster example for creating a random noise raster
Add raster example for creating a random noise raster
Groovy
mit
geoscript/geoscript-groovy,geoscript/geoscript-groovy
6dcb7b4eff1a97ff85765cb2e7f3c2f3d041b839
whelktool/scripts/cleanups/2020/11/lxl-3340-add-idkbse-uris.groovy
whelktool/scripts/cleanups/2020/11/lxl-3340-add-idkbse-uris.groovy
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = """ collection = 'auth' AND ( data#>>'{@graph,1,@type}' = 'Topic' OR data#>>'{@graph,1,@type}' = 'ComplexSubject' OR data#>>'{@graph,1,@t...
Add script for adding id.kb.se uris
Add script for adding id.kb.se uris
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
1eeb13d850da0720c1969e7453ab70fcb4b2def8
src/test/groovy/org/geocommands/tile/PyramidCommandTest.groovy
src/test/groovy/org/geocommands/tile/PyramidCommandTest.groovy
package org.geocommands.tile import org.geocommands.tile.PyramidCommand.PyramidOptions import org.geocommands.BaseTest import org.junit.Rule import org.junit.Test import org.junit.rules.TemporaryFolder import static org.junit.Assert.assertTrue /** * The PyramidCommand Unit Test * @author Jared Erickson */ class Py...
Add unit test for tile pyramid command
Add unit test for tile pyramid command
Groovy
mit
jericks/geoc,jericks/geoc
8022406df487e60257efb49485ba8c8af7263b1c
grails-app/conf/RmodulesResources.groovy
grails-app/conf/RmodulesResources.groovy
modules = { heatmap { resource url:"/js/plugin/Heatmap.js" } marker_selection { resource url:"/js/plugin/MarkerSelection.js" } pca { resource url:"/js/plugin/PCA.js" } freq_plot { resource url:"/js/plugin/FrequencyPlot.js" } hclust { resource u...
modules = { heatmap { resource url:"/js/plugin/Heatmap.js" } marker_selection { resource url:"/js/plugin/MarkerSelection.js" } pca { resource url:"/js/plugin/PCA.js" } freq_plot { resource url:"/js/plugin/FrequencyPlot.js" } hclust { resource u...
Add Waterfall analysis js lib as resource
Add Waterfall analysis js lib as resource
Groovy
apache-2.0
wimvanderlinden/Rmodules,thehyve/Rmodules_oncoprint,thehyve/heim-Rmodules,transmart/Rmodules,wimvanderlinden/Rmodules,UMich-Transmart/Rmodules,baumjamin/Rmodules,thehyve/Rmodules,transmart/Rmodules,thehyve/heim-Rmodules,transmart/Rmodules,cdejonge/Rmodules,thehyve/Rmodules_oncoprint,cdejonge/Rmodules,UMich-Neptune-Tran...
341a8922fb018ea014333a6c4903977885fcd690
whelktool/scripts/cleanups/2021/06/lxl-3612-link-datasets-newspapers-2.groovy
whelktool/scripts/cleanups/2021/06/lxl-3612-link-datasets-newspapers-2.groovy
// UPDATE DATASET IDS FOR PROD import java.util.function.Predicate def datasets = [ [ dataset: 'l0sqlrn8jcp5svln', query : [ '@type' : ['Electronic'], ...
Add script for linking POSTTIDNINGAR
Add script for linking POSTTIDNINGAR
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
c94e05f125632777d9d228b089964222f5eededd
whelktool/scripts/cleanups/2021/05/lxl-586-typeNote-vs-type.groovy
whelktool/scripts/cleanups/2021/05/lxl-586-typeNote-vs-type.groovy
import whelk.Document def OBSOLETE_TYPE_NOTES = ['isni', 'orcid', 'viaf', 'wikidata'] selectByCollection('auth') { auth -> def (_record, thing) = auth.graph boolean needsUpdate = false thing.identifiedBy?.with { asList(it).forEach { Map id -> id.typeNote?.with { String tn -> ...
Add script for converting Identifier + typeNote to @type
Add script for converting Identifier + typeNote to @type
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
97a6368ec9313d87427cf6b081e90c243b11d3e5
rice-middleware/kew/api/src/test/groovy/org/kuali/rice/kew/api/action/ValidActionsTest.groovy
rice-middleware/kew/api/src/test/groovy/org/kuali/rice/kew/api/action/ValidActionsTest.groovy
/* * Copyright 2006-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by ap...
Fix invalid getter in org.kuali.rice.kew.api.action.ValidActions or invalid @XmlType propOrder * Committing marshal/unmarshal test case for ValidActions
KULRICE-7935: Fix invalid getter in org.kuali.rice.kew.api.action.ValidActions or invalid @XmlType propOrder * Committing marshal/unmarshal test case for ValidActions git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@46413 7a7aa7f6-c479-11dc-97e2-85a2497f191d
Groovy
apache-2.0
ricepanda/rice,ricepanda/rice,ricepanda/rice,ricepanda/rice
8cdee467230d0f87888444d477abce6bd48c51dd
subprojects/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/ProtocolTest.groovy
subprojects/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/ProtocolTest.groovy
/* * Copyright 2021 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 Protocol class.
Add tests for Protocol class.
Groovy
apache-2.0
blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,grad...
2b743472959f1f966617f8a3020106e3962ee55a
src/test/groovy/CompileOrderTest.groovy
src/test/groovy/CompileOrderTest.groovy
class CompileOrderTest extends GroovyTestCase { public void testCompileOrder() { def interfaceFile = File.createTempFile("TestOrderInterface", ".groovy", new File("target")) def concreteFile = File.createTempFile("TestOrderConcrete", ".groovy", new File("target")) def cl = new GroovyClassLoad...
Add test for 1632, to make sure interfaces are compiled before the class they depend on.
Add test for 1632, to make sure interfaces are compiled before the class they depend on. git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@4780 a5544e8c-8a19-0410-ba12-f9af4593a198
Groovy
apache-2.0
paplorinc/incubator-groovy,dpolivaev/groovy,fpavageau/groovy,pledbrook/incubator-groovy,adjohnson916/incubator-groovy,russel/incubator-groovy,apache/incubator-groovy,paulk-asert/incubator-groovy,guangying945/incubator-groovy,alien11689/groovy-core,ebourg/groovy-core,traneHead/groovy-core,alien11689/incubator-groovy,upa...
a2d3a5f17da87e293ce747770f7f930addbcf88e
subprojects/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonDisappearingProcessSpec.groovy
subprojects/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonDisappearingProcessSpec.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...
Add integration test (of sorts) that runs up a daemon and client process, and tests tearing the client down pulls the daemon down too.
Add integration test (of sorts) that runs up a daemon and client process, and tests tearing the client down pulls the daemon down too.
Groovy
apache-2.0
gradle/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gstevey/grad...
14dc4931b144880dddd3be020d5f6dba02ea28e6
subprojects/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationPerformanceTest.groovy
subprojects/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationPerformanceTest.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 a Java configuration time performance test
Add a Java configuration time performance test This makes it easier to track down configuration time problems vs. up-to-date checking problems.
Groovy
apache-2.0
robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,gstevey/gradle,gstevey/gradle,lsmaira/gradle,lsmaira/gradle,gstevey/gradle,gradle/gradle,robinverduijn/gradle,gradle/gra...
d634e87eede68e31e6f35fde50bbfdba08cd3f79
subprojects/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerFileSystemWatchingIntegrationTest.groovy
subprojects/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerFileSystemWatchingIntegrationTest.groovy
/* * Copyright 2021 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 TestKit file system watching behavior
Add test for TestKit file system watching behavior
Groovy
apache-2.0
blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpira...
58925daf67aadada2613f4e6245afd2bf169cc31
src/test/groovy/graphql/schema/GraphQLTypeVisitorStubTest.groovy
src/test/groovy/graphql/schema/GraphQLTypeVisitorStubTest.groovy
package graphql.schema import graphql.Scalars import graphql.util.TraversalControl import graphql.util.TraverserContext import spock.lang.Specification import spock.lang.Unroll class GraphQLTypeVisitorStubTest extends Specification { @Unroll def "#visitMethod scalar type"() { given: GraphQLT...
Add a test for GraphQLTypeVisitorStub
Add a test for GraphQLTypeVisitorStub
Groovy
mit
graphql-java/graphql-java,graphql-java/graphql-java
6affd950c89d27381b7161125287231c2692f5f6
whelktool/scripts/cleanups/2021/01/lxl-3443-resave-checksums.groovy
whelktool/scripts/cleanups/2021/01/lxl-3443-resave-checksums.groovy
// This resaves everything, in order to update all the checksums, after the checksum algorithm changed. // run with --skip-index ! selectBySqlWhere("deleted = false") { data -> data.scheduleSave() }
Add script for updating all checksums.
Add script for updating all checksums.
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
4ba43addd03be30e78979359a2d7c6a02c2e8388
scripts/configure-csrf-protection.groovy
scripts/configure-csrf-protection.groovy
/* Copyright 2015 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/LICENSE-2.0...
Configure CSRF protection in Jenkins
Configure CSRF protection in Jenkins
Groovy
apache-2.0
samrocketman/jenkins-bootstrap-jervis,samrocketman/jenkins-bootstrap-jervis
0dfa029f089fe467a6f379d333ab64396a7c7c2f
src/test/org/apache/groovy/lang/GroovyObjectHelperTest.groovy
src/test/org/apache/groovy/lang/GroovyObjectHelperTest.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 `GroovyObjectHelper`
Add a test for `GroovyObjectHelper`
Groovy
apache-2.0
apache/incubator-groovy,apache/groovy,apache/groovy,apache/groovy,paulk-asert/groovy,apache/incubator-groovy,paulk-asert/groovy,paulk-asert/groovy,paulk-asert/groovy,apache/groovy,apache/incubator-groovy,apache/incubator-groovy
1e4c99977ce67cc2abd739b316b8b0322fa0b058
whelktool/scripts/cleanups/2020/11/lxl-3369-remove-parenthesis-from-auth-link.groovy
whelktool/scripts/cleanups/2020/11/lxl-3369-remove-parenthesis-from-auth-link.groovy
import whelk.util.DocumentUtil PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") PrintWriter unmapped = getReportWriter("failed-to-map") ids = ['sb4lrlp45hc5zkf', 'q2thzmc6n26fvjgq', 'j2vbjxtv5s5qpbj', '9tm10vpm3x4mqhr', 'dnw2lrvlbfr...
Add script for correcting Uris containing parenthesis
Add script for correcting Uris containing parenthesis
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
098315cf878d351d2de1da49b0f0172ef96ec8dd
ReferenceLibrary/src/test/easyb/duplicate_names_Story.groovy
ReferenceLibrary/src/test/easyb/duplicate_names_Story.groovy
/** * Created by petri on 24.4.2016. */ import referencelibrary.io.StubIO import referencelibrary.App import referencelibrary.data.StubDao import referencelibrary.ui.UI description 'References are checked for duplicate names' scenario "a reference with a unique name is stored", { given 'a unique name and other...
Add acceptance tests for duplicate name checks
Add acceptance tests for duplicate name checks
Groovy
mit
Mahtimursut/ohtu
6aea77d8456486da23afc708cc8be1a84da28a08
whelktool/scripts/cleanups/2020/09/lxl-3347-remove-concept.groovy
whelktool/scripts/cleanups/2020/09/lxl-3347-remove-concept.groovy
/* HERE BE DRAGONS. These records collide on URIs due to a bug (being fixed in: https://github.com/libris/librisxl/pull/739) This was intended to be impossible, but now that it has happened, unconventional measures need to be taken to fix it. Before running this script, you have to do the following directly in ...
Add a HACK removal of a concept in a corrupt state (conflicting URI).
Add a HACK removal of a concept in a corrupt state (conflicting URI).
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
e6a1e42ee30846f3fd72c140920f41a48e52680d
scripts/_Events.groovy
scripts/_Events.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 applicab...
Remove src/gwt from plugin package.
Remove src/gwt from plugin package.
Groovy
apache-2.0
donbeave/grails-console-charts,donbeave/grails-console-charts
48adc894905ece6a6d873fac562c7156af4ea8bd
omnij-core/src/test/groovy/foundation/omni/GroovyNumberIssue.groovy
omnij-core/src/test/groovy/foundation/omni/GroovyNumberIssue.groovy
package foundation.omni import spock.lang.Specification /** * Tests that illustrate a (NOW FIXED) Groovy Bug * See https://issues.apache.org/jira/browse/GROOVY-7608 */ class GroovyNumberIssue extends Specification { // Worked in Groovy 2.4.x def "Equality works for integer values"() { expect: ...
Add test spec showing fixed Groovy numeric issue
Add test spec showing fixed Groovy numeric issue
Groovy
apache-2.0
OmniLayer/OmniJ,OmniLayer/OmniJ,OmniLayer/OmniJ
a27eb5f6558d5bd86acbcc4f400691829446aa71
whelktool/scripts/analysis/count-instances-with-isbn-from-kb.groovy
whelktool/scripts/analysis/count-instances-with-isbn-from-kb.groovy
import java.util.concurrent.atomic.AtomicInteger String where = """ collection = 'bib' AND data#>'{@graph,1,identifiedBy}' @> '[{\"@type\":\"ISBN\"}]' """ AtomicInteger countBefore2021 = new AtomicInteger(0) AtomicInteger count2020 = new AtomicInteger(0) // Store "used" ISBN so that each is counted only once...
Add script for counting instances with unique ISBN registered by KB
Add script for counting instances with unique ISBN registered by KB
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
956ee7b5323f769514bf7f65fd324b2280ee488e
src/main/groovy/jenkins/automation/builders/FlowJobBuilder.groovy
src/main/groovy/jenkins/automation/builders/FlowJobBuilder.groovy
package jenkins.automation.builders import javaposse.jobdsl.dsl.DslFactory import javaposse.jobdsl.dsl.Job /** * The basic Flow Job builder * * @param jobs comma separated list of jobs to include in the build flow * @param name job name * @param description job description * @param jobFlow optional parameter...
package jenkins.automation.builders import javaposse.jobdsl.dsl.DslFactory import javaposse.jobdsl.dsl.Job /** * The basic Flow Job builder * * @param name job name * @param description job description * @param jobs optional comma separated list of jobs to include in the build flow * @param jobFlow optional ...
Improve description of jobFlow and modify behavior
Improve description of jobFlow and modify behavior
Groovy
cc0-1.0
higs4281/jenkins-automation,Scotchester/jenkins-automation,Scotchester/jenkins-automation,higs4281/jenkins-automation,lfatty/jenkins-automation
357dbfa9cdf7d18533e3ae4f74d8807c379b21ae
whelktool/scripts/cleanups/2020/11/lxl-3348-remove-duplicate-lang-code.groovy
whelktool/scripts/cleanups/2020/11/lxl-3348-remove-duplicate-lang-code.groovy
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = """data#>>'{@graph,1,instanceOf,language,0,@id}' = 'https://id.kb.se/language/und' and data#>>'{@graph,1,instanceOf,language,1,@id}' = 'https://id.kb.se...
Add script for removing duplicate lang codes
Add script for removing duplicate lang codes
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
7506ddf626e92be3121e76172e321e85dbe09972
ci/copy-release.groovy
ci/copy-release.groovy
#!/usr/bin/env groovy @Library('sec_ci_libs@v2-latest') _ pipeline { agent none options { timeout(time: 2, unit: 'HOURS') } stages { stage("Release binaries in S3") { agent { label 'py36' } steps { withCredentials([ string(credentialsId: "8b793652-f26a-422f-a9ba-0d1e...
Add missing Jenkinsfile for copying releases
Add missing Jenkinsfile for copying releases This Jenkinsfile is the one copying CLI tag versions to dcos-1.XX versions.
Groovy
apache-2.0
dcos/dcos-cli,dcos/dcos-cli,kensipe/dcos-cli,dcos/dcos-cli,kensipe/dcos-cli,dcos/dcos-cli,dcos/dcos-cli,kensipe/dcos-cli,kensipe/dcos-cli,kensipe/dcos-cli
32daad88332ce69cf2e5d9fc902b7980193fbcc5
test/integration/es/salenda/grails/plugins/springsecurity/saml/SpringSamlUserDetailsIntTests.groovy
test/integration/es/salenda/grails/plugins/springsecurity/saml/SpringSamlUserDetailsIntTests.groovy
package es.salenda.grails.plugins.springsecurity.saml; import static org.junit.Assert.* import java.util.List; import grails.test.GrailsUnitTestCase; import groovy.util.GroovyTestCase import org.codehaus.groovy.grails.commons.ConfigurationHolder as CH import org.codehaus.groovy.grails.plugins.springsecurity.GrailsU...
Add initial integration test to cover user details service. This should eventually be covered replaced by multiple unit tests as mock saml assertion creation is difficult and this is not a true integration test.
Add initial integration test to cover user details service. This should eventually be covered replaced by multiple unit tests as mock saml assertion creation is difficult and this is not a true integration test.
Groovy
apache-2.0
kjb/grails-spring-security-saml
b190916d3fc5657a210923094416c3fd81bda8ed
.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy
.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.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 ...
Enable Java Gradle Precommit in Jenkins
Enable Java Gradle Precommit in Jenkins
Groovy
apache-2.0
charlesccychen/beam,apache/beam,apache/beam,jbonofre/beam,robertwb/incubator-beam,rangadi/incubator-beam,chamikaramj/beam,lukecwik/incubator-beam,chamikaramj/beam,robertwb/incubator-beam,apache/beam,lukecwik/incubator-beam,RyanSkraba/beam,rangadi/incubator-beam,robertwb/incubator-beam,jbonofre/beam,jbonofre/incubator-b...
f9d9370f2e9dc284d793d554ecbdb9a8c1ec37ea
src/main/groovy/jenkins/automation/builders/FlowJobBuilder.groovy
src/main/groovy/jenkins/automation/builders/FlowJobBuilder.groovy
package jenkins.automation.builders import javaposse.jobdsl.dsl.DslFactory import javaposse.jobdsl.dsl.Job /** * The basic Flow Job builder * * @param jobs comma separated list of jobs to include in the build flow * @param name job name * @param description job description * @see <a href="https://github.com/...
package jenkins.automation.builders import javaposse.jobdsl.dsl.DslFactory import javaposse.jobdsl.dsl.Job /** * The basic Flow Job builder * * @param jobs comma separated list of jobs to include in the build flow * @param name job name * @param description job description * @see <a href="https://github.com/...
Allow flow builder to take a string for parallel jobs.
Allow flow builder to take a string for parallel jobs.
Groovy
cc0-1.0
lfatty/jenkins-automation,Scotchester/jenkins-automation,higs4281/jenkins-automation,Scotchester/jenkins-automation,higs4281/jenkins-automation
936743fd60fe986a34c59ff57368a6b4c968d26d
broker/src/main/groovy/com/swisscom/cloud/sb/broker/metrics/LifecylceTimeMetrics.groovy
broker/src/main/groovy/com/swisscom/cloud/sb/broker/metrics/LifecylceTimeMetrics.groovy
package com.swisscom.cloud.sb.broker.metrics import com.swisscom.cloud.sb.broker.model.ServiceInstance import groovy.transform.CompileStatic import org.springframework.boot.actuate.metrics.Metric import org.springframework.stereotype.Service @Service @CompileStatic class LifecylceTimeMetrics extends ServiceBrokerMetr...
Implement metrics collection of lifecycle time per service
MPSPHOENIX-30: Implement metrics collection of lifecycle time per service
Groovy
apache-2.0
swisscom/open-service-broker,swisscom/open-service-broker
f59133e2924fa7038241a9799b64c946e8673f8c
whelktool/scripts/cleanups/2020/12/lxl-3474-indians-spotted.groovy
whelktool/scripts/cleanups/2020/12/lxl-3474-indians-spotted.groovy
import whelk.Document; import whelk.Whelk; String where = """ ( collection = 'bib' and data#>'{@graph,1,instanceOf,subject}' @> '[{"@type":"ComplexSubject"}]' and data#>>'{@graph,1,instanceOf,subject}' like '%ndian%' ) or ( collection = 'auth' and data#>'{@graph,1,subject}' @> '...
Add a cleanup script for prefLabels on indian terms.
Add a cleanup script for prefLabels on indian terms.
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
4ffbbaff7ea8d0c8b9b66b8cd2e5dcfc7c55b5fa
subprojects/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingCompileAvoidanceIntegrationTest.groovy
subprojects/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingCompileAvoidanceIntegrationTest.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 a test case for rebuilding a jar and causing downstream projects to rebuild
Add a test case for rebuilding a jar and causing downstream projects to rebuild +review REVIEW-6442
Groovy
apache-2.0
gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,lsmaira/g...
2b5aa981b63a2e41e5de8c0f7c353c6e1ae95069
subprojects/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GreetingSamplePluginSmokeTest.groovy
subprojects/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GreetingSamplePluginSmokeTest.groovy
/* * Copyright 2021 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 greeting plugin used in the GE build
Add smoke test for greeting plugin used in the GE build
Groovy
apache-2.0
blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpira...
030be715b8de2f89c8e9d1bcec15cf72bbdcc3e2
subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/UpToDateIntegTest.groovy
subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/UpToDateIntegTest.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 empty output directory up-to-date checking
Add integ tests for empty output directory up-to-date checking - output directory/file existence should be tracked - regression in 2.13-rc1 +review REVIEW-5925
Groovy
apache-2.0
blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gstevey/gradle,lsmaira/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,gradle/gradle,gra...
4ad7655dba1fcb5e34614ce33f5fa639dc44f15f
format.groovy
format.groovy
#!/usr/bin/groovy @Grab(group='org.eclipse.text', module='org.eclipse.text', version='3.5.101') @Grab('org.eclipse.tycho:org.eclipse.jdt.core:3.10.0.v20140604-1726') import org.eclipse.jdt.core.formatter.CodeFormatter import org.eclipse.jdt.core.ToolFactory import org.eclipse.jface.text.Document import groovy.io.File...
Format java according to template
Format java according to template Just run format.groovy
Groovy
mit
jenkinsci/lucene-search-plugin,oleg-nenashev/lucene-search-plugin,oleg-nenashev/lucene-search-plugin,jenkinsci/lucene-search-plugin,jenkinsci/lucene-search-plugin,oleg-nenashev/lucene-search-plugin,oleg-nenashev/lucene-search-plugin
446637920bd64037ed0dd0f37efa7758436c97c2
whelktool/scripts/cleanups/2021/10/lxl-3645-digi-records-for-UUB.groovy
whelktool/scripts/cleanups/2021/10/lxl-3645-digi-records-for-UUB.groovy
String whereBib = """ collection = 'bib' AND data#>>'{@graph,1,@type}' != 'Electronic' AND (data#>'{@graph,0,bibliography}' @> '[{"@id":"https://libris.kb.se/library/SPDT"}]' OR data#>'{@graph,0,bibliography}' @> '[{"@id":"https://libris.kb.se/library/DIGI"}]') """ selectBySqlWhere(whereBib) { bib ...
Add sketch for creating digi records for UUB
Add sketch for creating digi records for UUB
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
f5b97cee7e2bc6cb1e451849fe49d1655579de12
whelktool/scripts/cleanups/2020/08/lxl-3261-geographic-in-sao.groovy
whelktool/scripts/cleanups/2020/08/lxl-3261-geographic-in-sao.groovy
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = "data#>>'{@graph,1,@type}' = 'Geographic' and not data#>'{@graph,1}' @> " + "'{\"inScheme\":{\"@id\":\"https://id.kb.se/term/sao\"}}'" selectBySqlWhere(where) {...
Add script for adding missing sao on geographic.
Add script for adding missing sao on geographic.
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
df35d63e23f198f0e4ddc95b134967f5b53ec6f7
src/main/groovy/com/github/livepvrdata/web/AppInit.groovy
src/main/groovy/com/github/livepvrdata/web/AppInit.groovy
/* Copyright 2016 Battams, Derek 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, sof...
Add context listener to config log4j on container startup
Add context listener to config log4j on container startup
Groovy
apache-2.0
livepvrdata-oss/livepvrdata-svc,livepvrdata-oss/livepvrdata-svc
d27fa3500667be869f6a74526e361c1f31eb5854
Ryhma57/src/test/easyb/remove_reference_Story.groovy
Ryhma57/src/test/easyb/remove_reference_Story.groovy
import ryhma57.backend.* import ryhma57.gui.* import ryhma57.references.* import static ryhma57.backend.ReferenceType.* import java.nio.file.Files import java.nio.file.Paths scenario "Lisää uusi referenssi",{ given "Applikaatio on olemassa ja meillä on fieldit", { Storage.removeTmpFiles() app = new...
Add easyB test for removing references.
Add easyB test for removing references.
Groovy
bsd-2-clause
GandhiCorn/Ryhmae57-OHTU-miniprojekti
b1b9e55e7a88388a64c0df106941d2733d9c1155
whelktool/scripts/cleanups/2020/10/lxl-3197-remove-reference-to-obsolete-auth.groovy
whelktool/scripts/cleanups/2020/10/lxl-3197-remove-reference-to-obsolete-auth.groovy
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String mipfesd = 'https://id.kb.se/term/mipfesd%2F5/Economic%20conditions' String sao = 'https://id.kb.se/term/sao/Ekonomiska%20f%C3%B6rh%C3%A5llanden' Map newTopic = [ ...
Add script for removing references to obsolete auth
Add script for removing references to obsolete auth
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
229ea007d5e2a1d26815c3388aac20bad8a90e91
plugins/groovy/test/org/jetbrains/plugins/groovy/inspections/GroovyImplicitNullArgumentCallInspectionTest.groovy
plugins/groovy/test/org/jetbrains/plugins/groovy/inspections/GroovyImplicitNullArgumentCallInspectionTest.groovy
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.groovy.inspections import groovy.transform.CompileStatic import org.jetbrains.plugins.groovy.codeInspection.confusing.GroovyImplicitNullArgumentCall...
Add inspection for calls with implicit null
[groovy] IDEA-251327: Add inspection for calls with implicit null GitOrigin-RevId: 5847d8dc7fe15cd2b3d930cf6561e2f2443806b1
Groovy
apache-2.0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
321389e0a8c787276ad76eaeeee138a3230b45ec
subprojects/logging/src/test/groovy/org/gradle/internal/logging/events/OperationIdentifierTest.groovy
subprojects/logging/src/test/groovy/org/gradle/internal/logging/events/OperationIdentifierTest.groovy
package org.gradle.internal.logging.events import spock.lang.Specification class OperationIdentifierTest extends Specification { def "allows instantiation with non-zero values"() { expect: new OperationIdentifier(-1).getId() == -1 new OperationIdentifier(1).getId() == 1 new Operati...
Add unit test for OperationIdentifier values
Add unit test for OperationIdentifier values
Groovy
apache-2.0
gstevey/gradle,lsmaira/gradle,gradle/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,gstevey/gradle,gstevey/gradle,gstevey/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,...
e9c620705f0bdce6ab27127415454be9cd754210
.test-infra/jenkins/Infrastructure.groovy
.test-infra/jenkins/Infrastructure.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 method to prepare SDK harness image for jenkins jobs
[BEAM-7368] Add method to prepare SDK harness image for jenkins jobs
Groovy
apache-2.0
markflyhigh/incubator-beam,lukecwik/incubator-beam,apache/beam,robertwb/incubator-beam,chamikaramj/beam,apache/beam,lukecwik/incubator-beam,chamikaramj/beam,apache/beam,RyanSkraba/beam,iemejia/incubator-beam,RyanSkraba/beam,chamikaramj/beam,markflyhigh/incubator-beam,robertwb/incubator-beam,chamikaramj/beam,lukecwik/in...
5506f2333d585fcc0211e8d0a922bcda254f66ef
whelktool/scripts/cleanups/2020/12/lxl-3457-fix-descriptionUpgrader.groovy
whelktool/scripts/cleanups/2020/12/lxl-3457-fix-descriptionUpgrader.groovy
/** * Fix documents (possibly) messed up by a bug in lxl-2134-descriptionUpgrader-must-be-list.groovy * * See LXL-3457 for more info. */ import whelk.Document PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = "dat...
Add script for fixing descriptionUpgrader broken by a previous script
Add script for fixing descriptionUpgrader broken by a previous script
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
3879ba1b4ed716ba1e25a3df7c985d1834273298
jenkins/lib/src/build/bazel/ci/JenkinsUtils.groovy
jenkins/lib/src/build/bazel/ci/JenkinsUtils.groovy
// Copyright (C) 2017 The Bazel 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 applicable law or agre...
Add some utilities to interogate jobs and nodes from Jenkins
Add some utilities to interogate jobs and nodes from Jenkins Issue #12 Change-Id: I8601b922857f1c8bbb7b1427cb64fb160fb86074
Groovy
apache-2.0
bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration
507792a055fc172d7a2bd1a69e6200c6b88fc03c
whelktool/scripts/cleanups/2020/08/lxl-3292-hasPart-translationOf.groovy
whelktool/scripts/cleanups/2020/08/lxl-3292-hasPart-translationOf.groovy
/* * This remodels bib 041 * * instanceOf.hasPart.translationOf (041 $k) -> instanceOf.hasPart.marc:intermediateLanguage * instanceOf.hasPart.originalVersion.language (041 $h)--> instanceOf.hasPart.translationOf.language * * See LXL-3292 for more info. */ PrintWriter scheduledForUpdate = getReportWriter("schedu...
Add script for changing translation entities
Add script for changing translation entities
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
eaf85da5e0594206e0118c3b656d07292c1a5bca
scripts/_Events.groovy
scripts/_Events.groovy
eventAssetPrecompileStart = { assetConfig -> if (!config.grails.assets.plugin.'font-awesome-resources'.excludes || config.grails.assets.plugin.'font-awesome-resources'.excludes.size() == 0) { config.grails.assets.plugin.'font-awesome-resources'.excludes = ['font-awesome/*.less'] } }
Exclude less files inside font-awesome folder from compilation.
Exclude less files inside font-awesome folder from compilation.
Groovy
apache-2.0
donbeave/grails-font-awesome
403a42c7e49b4205f687285b3f31ab077b8b7646
examples/openlayers.groovy
examples/openlayers.groovy
import geoscript.layer.* import geoscript.proj.* import geoscript.workspace.* import geoscript.feature.* import geoscript.geom.* // Write Shapefile to GeoJSON def shp = new Shapefile("states.shp") def memory = new Memory() def schema = shp.schema.changeGeometryType("Point","states_centroids") def centroidLayer = mem...
Add example where we create geojson file from a shapefile and html using Groovy's neat html builder
Add example where we create geojson file from a shapefile and html using Groovy's neat html builder
Groovy
mit
sbortman/geoscript-groovy,sbortman/geoscript-groovy,geoscript/geoscript-groovy,geoscript/geoscript-groovy
cd40790a484cf3d2f690d337cc6aa6a07edacca9
src/main/groovy/edu/oregonstate/mist/locations/db/LocationDAO.groovy
src/main/groovy/edu/oregonstate/mist/locations/db/LocationDAO.groovy
package edu.oregonstate.mist.locations.db import com.google.common.base.Optional import edu.oregonstate.mist.locations.core.Location import edu.oregonstate.mist.locations.mapper.LocationMapper import org.skife.jdbi.v2.sqlobject.Bind import org.skife.jdbi.v2.sqlobject.SqlQuery import org.skife.jdbi.v2.sqlobject.customi...
Add DAO for select statement
Add DAO for select statement CO-156
Groovy
agpl-3.0
osu-mist/locations-api
d0b943bdf7727bda28ac3879f650d0024534e7ac
whelktool/scripts/cleanups/2020/03/lxl-1828.groovy
whelktool/scripts/cleanups/2020/03/lxl-1828.groovy
PrintWriter scheduledForUpdate = getReportWriter("scheduled-for-update") PrintWriter failedBibIDs = getReportWriter("failed-to-update-bibIDs") String where = "collection = 'bib' and data#>'{@graph,1}' ?? 'marc:previousTitle'" selectBySqlWhere(where) { data -> def (record, mainEntity) = data.graph if (mainEnt...
Add a FormerTitle cleanup script.
Add a FormerTitle cleanup script.
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
1c6c5814ff3a0444fc3302c3530ad889317040b2
whelktool/scripts/cleanups/2020/10/lxl-2420-TemporalSubdivision.groovy
whelktool/scripts/cleanups/2020/10/lxl-2420-TemporalSubdivision.groovy
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = """ collection = 'auth' and data#>'{@graph,1,hasVariant}' @> '[{"@type": "ComplexSubject", "termComponentList": [{"@type":"Temporal"}]}]' """ selectBySqlWhere(where...
Add script for fixing Temporal subdivision types.
Add script for fixing Temporal subdivision types.
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
ec613a7672275039af370ceb676dd8720d60b696
.test-infra/jenkins/job_PostCommit_Java_ValidatesRunner_ULR_LOOPBACK.groovy
.test-infra/jenkins/job_PostCommit_Java_ValidatesRunner_ULR_LOOPBACK.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 ULR LOOPBACK ValidatesRunner Jenkins Job
Add ULR LOOPBACK ValidatesRunner Jenkins Job
Groovy
apache-2.0
apache/beam,chamikaramj/beam,chamikaramj/beam,chamikaramj/beam,robertwb/incubator-beam,lukecwik/incubator-beam,lukecwik/incubator-beam,robertwb/incubator-beam,robertwb/incubator-beam,lukecwik/incubator-beam,apache/beam,apache/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,robertwb/incubator-beam,chamikaramj/beam,...
ab2451e08a5dd39d63bf1f13b7df817ca8cad887
subprojects/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/r32/NonSerializableExceptionCrossVersionSpec.groovy
subprojects/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/r32/NonSerializableExceptionCrossVersionSpec.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...
Test non serializable exceptions in TAPI model builders
Test non serializable exceptions in TAPI model builders - GRADLE-3307 +review REVIEW-6309
Groovy
apache-2.0
gstevey/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gste...
72d312df1f12484cb1e1e3cc083ce2bddefd7c18
whelktool/scripts/cleanups/2021/01/lxl-3485-add-inScheme-to-GenreForm.groovy
whelktool/scripts/cleanups/2021/01/lxl-3485-add-inScheme-to-GenreForm.groovy
selectByIds(['nl0229q652dc80j', '42gks6hn218vr88', 'sq47gb6b3x14v12']) { data -> data.graph[1]['inScheme'] = ['@id':'https://id.kb.se/term/saogf'] data.scheduleSave() }
Add script for adding inScheme saogf to GenreForms
Add script for adding inScheme saogf to GenreForms
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
fa98f1cfd3c6db7ce31fe557411ca6243ba67214
Tests/nz/net/ultraq/thymeleaf/tests/fragments/mergers/AttributeMergerTests.groovy
Tests/nz/net/ultraq/thymeleaf/tests/fragments/mergers/AttributeMergerTests.groovy
/* * Copyright 2016, Emanuel Rabina (http://www.ultraq.net.nz/) * * 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 requ...
Add tests for attribute merger behaviour
Add tests for attribute merger behaviour
Groovy
apache-2.0
zhanhb/thymeleaf-layout-dialect,zhanhb/thymeleaf-layout-dialect,ultraq/thymeleaf-layout-dialect,zhanhb/thymeleaf-layout-dialect,ultraq/thymeleaf-layout-dialect
ea487a5e74fdb34cf29f372778066dccdafde1be
Ryhma57/src/test/easyb/automatic_reference_id_Story.groovy
Ryhma57/src/test/easyb/automatic_reference_id_Story.groovy
import ryhma57.backend.* import ryhma57.gui.* import ryhma57.references.* import static ryhma57.backend.ReferenceType.* import java.nio.file.Files import java.nio.file.Paths scenario "Lisää uusi referenssi",{ given "Applikaatio on olemassa ja meillä on fieldit", { Storage.removeTmpFiles() app = new...
Add easyB test for the automatic id generation.
Add easyB test for the automatic id generation.
Groovy
bsd-2-clause
GandhiCorn/Ryhmae57-OHTU-miniprojekti
8492731e556f83a7888da1180613767bae115e54
web/src/main/groovy/greenmoonsoftware/tidewater/web/threads/ListController.groovy
web/src/main/groovy/greenmoonsoftware/tidewater/web/threads/ListController.groovy
package greenmoonsoftware.tidewater.web.threads import greenmoonsoftware.tidewater.web.PipelineContextContainer import org.springframework.beans.factory.annotation.Autowired import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestController clas...
Add endpoint for listing running contexts
Add endpoint for listing running contexts
Groovy
apache-2.0
greathouse/tidewater,greathouse/tidewater,greathouse/tidewater
03cef005c9fbf890e1b8da6bc324f8f4403a7783
grails/hello/grails-app/conf/JsonBootStrap.groovy
grails/hello/grails-app/conf/JsonBootStrap.groovy
import org.codehaus.groovy.grails.web.converters.Converter; import grails.converters.JSON import hello.World class JsonBootStrap { def init = { servletContext -> JSON.registerObjectMarshaller(World, { World world, Converter converter -> [id: world.id, randomNumber: world.randomNumber] ...
Use custom JSON marshaller for World
Use custom JSON marshaller for World
Groovy
bsd-3-clause
lcp0578/FrameworkBenchmarks,zapov/FrameworkBenchmarks,markkolich/FrameworkBenchmarks,fabianmurariu/FrameworkBenchmarks,dmacd/FB-try1,kbrock/FrameworkBenchmarks,steveklabnik/FrameworkBenchmarks,ashawnbandy-te-tfb/FrameworkBenchmarks,k-r-g/FrameworkBenchmarks,stefanocasazza/FrameworkBenchmarks,nathana1/FrameworkBenchmark...
19281d6617de3faee53aebcbed9dc17ac3170a8d
.test-infra/jenkins/job_PreCommit_Kotlin_Examples.groovy
.test-infra/jenkins/job_PreCommit_Kotlin_Examples.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 PreCommit Kotlin examples Jenkins Job
[BEAM-14013] Add PreCommit Kotlin examples Jenkins Job
Groovy
apache-2.0
lukecwik/incubator-beam,lukecwik/incubator-beam,apache/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,apache/beam,apache/beam,apache/beam,lukecwik/incubator-beam,chamikaramj/beam,apache/beam,chamikaramj/beam,apache/beam,chamikaramj/beam,chamikaramj/beam,chamikaramj/beam,lukecwik/incubator-beam,chamikaramj/beam,lu...
dad6d0c108571c1281cefefd9de08f7150182499
utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/rabbitmq/AbstractRabbitMqXmlValidationService.groovy
utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/rabbitmq/AbstractRabbitMqXmlValidationService.groovy
package uk.ac.ox.ndm.grails.utils.rabbitmq import groovy.util.slurpersupport.GPathResult import groovy.xml.XmlUtil import org.slf4j.Logger import org.slf4j.LoggerFactory import org.springframework.beans.factory.annotation.Value import org.xml.sax.SAXException import uk.ac.ox.ndm.grails.utils.xml.XmlValidator import uk...
Add an abstract validation service that implements both interfaces
Add an abstract validation service that implements both interfaces Used for validation inside rabbit messages or for forwarding valid xml onto rabbit
Groovy
apache-2.0
olliefreeman/grails-utils,olliefreeman/grails-utils
b6174858abcb35e80a2bf96b6f7476f450872ac6
platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/KotlinMavenArtifactsBuilder.groovy
platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/KotlinMavenArtifactsBuilder.groovy
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.intellij.build.impl import groovy.transform.CompileStatic import org.jetbrains.intellij.build.BuildContext import org.jetbrains.jps.model.module.JpsModule ...
Implement separate maven artifacts builder for kotlin artifacts
Implement separate maven artifacts builder for kotlin artifacts GitOrigin-RevId: 7e1149d4cf25f14da171316e48a2aaf6506a172f
Groovy
apache-2.0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
3d325df7ca4f6551328f3db1e04f2d488b7fdf6d
subprojects/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/TaskAvoidancePerformanceTest.groovy
subprojects/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/TaskAvoidancePerformanceTest.groovy
/* * Copyright 2018 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 cross-build test with eager vs lazy task creation
Add cross-build test with eager vs lazy task creation
Groovy
apache-2.0
blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robin...
471f31858533977e4f5c503d23f7b78a9bad53d0
varnish-exec-spring/src/test/groovy/com/github/platan/varnishexec/spring/AnnotationMoreParamsSpec.groovy
varnish-exec-spring/src/test/groovy/com/github/platan/varnishexec/spring/AnnotationMoreParamsSpec.groovy
package com.github.platan.varnishexec.spring import org.springframework.beans.factory.annotation.Value import org.springframework.boot.test.SpringApplicationContextLoader import org.springframework.boot.test.WebIntegrationTest import org.springframework.test.context.ContextConfiguration import spock.lang.Specification...
Test with more params in annotation
Test with more params in annotation
Groovy
mit
platan/varnish-exec,platan/varnish-exec
b71ea2ef0ab7d6fa53d3578c8aed0715828dc180
examples/naturalearth_raster_mbtiles.groovy
examples/naturalearth_raster_mbtiles.groovy
import geoscript.geom.Bounds import geoscript.layer.Format import geoscript.layer.GeoTIFF import geoscript.layer.MBTiles import geoscript.layer.Raster import geoscript.layer.RasterTileRenderer import geoscript.layer.TileGenerator import geoscript.proj.Projection import static geoscript.GeoScript.download import static...
Add natural earth raster mbtile example
Add natural earth raster mbtile example
Groovy
mit
geoscript/geoscript-groovy,geoscript/geoscript-groovy
d9d13917bf4c350f9f157c7e3bc7c360e655b317
whelktool/scripts/cleanups/2020/04/lxl-3119.groovy
whelktool/scripts/cleanups/2020/04/lxl-3119.groovy
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = "(\n" + "data#>>'{@graph,1,@type}' = 'Family' or\n" + "data#>>'{@graph,1,@type}' = 'Organization' or\n" + "data#>>'{@graph,1,@type}' = 'J...
Add cleanup script for moving various things into "description".
Add cleanup script for moving various things into "description".
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
998ee89ff65585f08f967a7c6ee97bc31c0d361d
whelktool/scripts/cleanups/2021/09/lxl-2729-move-scope-note.groovy
whelktool/scripts/cleanups/2021/09/lxl-2729-move-scope-note.groovy
selectByCollection('auth') { data -> def thing = data.graph[1] def hasNote = thing.hasNote if (!isInstanceOf(thing, "Concept")) { return } if (!hasNote || !hasNote.scopeNote) { return } hasNote.each { if (it.scopeNote) { thing['scopeNote'] = thing['scop...
Add script for moving scopeNote from hasNote to thing
Add script for moving scopeNote from hasNote to thing
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
01eb5319f2c4c1939b2785f48bbf8d3c95255928
master/extra/delete-failed-builds.groovy
master/extra/delete-failed-builds.groovy
hudsonInstance = hudson.model.Hudson.instance allItems = hudsonInstance.items; pkgJobs = allItems.findAll{job -> job.name.contains("pkg+")} for (job in pkgJobs) { builds = job.getBuilds(); for (build in builds) { if (build != null) { if ((build.result != Result.SUCCESS) && (build.result != null)) { println...
Add helper to delete failed builds
Add helper to delete failed builds
Groovy
mit
tanglu-org/jenkins-tanglu-buildkit,tanglu-org/jenkins-tanglu-buildkit,tanglu-org/jenkins-tanglu-buildkit
f802e4ab474024fb264c9711999d70c31f31bf69
services/src/functional-tests/src/test/groovy/org/openkilda/functionaltests/spec/links/IslMinPortSpeedSpec.groovy
services/src/functional-tests/src/test/groovy/org/openkilda/functionaltests/spec/links/IslMinPortSpeedSpec.groovy
package org.openkilda.functionaltests.spec.links import static org.junit.Assume.assumeTrue import static org.openkilda.messaging.info.event.IslChangeType.DISCOVERED import static org.openkilda.messaging.info.event.IslChangeType.MOVED import static org.openkilda.testing.Constants.WAIT_OFFSET import org.openkilda.funct...
ADD test: System is able to set min port speed for isl capacity
ADD test: System is able to set min port speed for isl capacity
Groovy
apache-2.0
jonvestal/open-kilda,telstra/open-kilda,telstra/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,telstra/open-kilda,jonvestal/open-kilda,jonvestal/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda
f44f006a0ca0bbb5ddbb33da969c91e5dc595883
src/test/groovy/com/github/blindpirate/gogradle/core/dependency/resolve/CacheEnabledDependencyResolverMixinTest.groovy
src/test/groovy/com/github/blindpirate/gogradle/core/dependency/resolve/CacheEnabledDependencyResolverMixinTest.groovy
package com.github.blindpirate.gogradle.core.dependency.resolve import com.github.blindpirate.gogradle.GogradleRunner import com.github.blindpirate.gogradle.core.cache.ProjectCacheManager import com.github.blindpirate.gogradle.core.dependency.NotationDependency import com.github.blindpirate.gogradle.core.dependency.Re...
Fix failed test for CacheEnableDependencyMixin
Fix failed test for CacheEnableDependencyMixin
Groovy
apache-2.0
gogradle/gogradle,gogradle/gogradle,gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle,blindpirate/gogradle
1cf2201da717fed279fdbc28c4e9b585cf3e7645
test/integration/AbstractBeansSpec.groovy
test/integration/AbstractBeansSpec.groovy
import grails.plugin.spock.* import spock.lang.* class AbstractBeansSpec extends IntegrationSpec { def fixtureLoader def "attempt to build invalid object"() { when: def f = fixtureLoader.load { ab { text = "Something" } p(Post) { it.parent = ab } } then: f.p.text == "Something" }...
Add a spec for abstract beans.
Add a spec for abstract beans.
Groovy
apache-2.0
sbglasius/fixtures,gpc/fixtures
676c3ff41172c097ec55316657e88226ff418e64
db/migrate/005_ctmsi/002_expand_audit_event_values.groovy
db/migrate/005_ctmsi/002_expand_audit_event_values.groovy
class ExpandAuditEventValues extends edu.northwestern.bioinformatics.bering.Migration { void up() { if (databaseMatches("postgresql")) { execute("ALTER TABLE audit_event_values ALTER previous_value TYPE TEXT"); execute("ALTER TABLE audit_event_values ALTER current_value TYPE TEXT"); ...
Expand the size of the value columns (DDLUtils was defaulting them to 254 characters, which is much too small)
Expand the size of the value columns (DDLUtils was defaulting them to 254 characters, which is much too small) git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@974 0d517254-b314-0410-acde-c619094fa49f
Groovy
bsd-3-clause
NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror
3abc3232cbe69ff207ef2911846606c48b81230d
server/src/test/groovy/com/cezarykluczynski/stapi/server/common/RestBeanParamsReflectionTest.groovy
server/src/test/groovy/com/cezarykluczynski/stapi/server/common/RestBeanParamsReflectionTest.groovy
package com.cezarykluczynski.stapi.server.common import org.reflections.Reflections import org.reflections.scanners.FieldAnnotationsScanner import org.reflections.scanners.SubTypesScanner import org.reflections.scanners.TypeAnnotationsScanner import org.reflections.util.ClasspathHelper import org.reflections.util.Conf...
Test to ensure no uid can be set when searching entities
Test to ensure no uid can be set when searching entities
Groovy
mit
cezarykluczynski/stapi,cezarykluczynski/stapi,cezarykluczynski/stapi,cezarykluczynski/stapi
9439d1a72987318d093140895b47019b9ddea5e2
subprojects/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingCompositeBuildActionRunnerTest.groovy
subprojects/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingCompositeBuildActionRunnerTest.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 ChainingCompositeBuildActionRunner
Add unit test for ChainingCompositeBuildActionRunner +review REVIEW-5817
Groovy
apache-2.0
lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,lsmaira/gradle,gstevey/gradle,robinverduijn/gradle,gstevey/gradle,lsmaira/gradle,blindpirate...
cdfa4ee7e2508980895df9cfdb0f7dc328632fd2
ReferenceLibrary/src/test/easyb/reference_fields_Story.groovy
ReferenceLibrary/src/test/easyb/reference_fields_Story.groovy
/** * Created by petri on 18.4.2016. */ import referencelibrary.StubIO import referencelibrary.App import referencelibrary.data.StubDao import referencelibrary.ui.UI description 'A reference is added with proper fields' scenario "book reference contains all required fields", { given 'adding a book is selected ...
Add reference field story acceptance tests
Add reference field story acceptance tests
Groovy
mit
Mahtimursut/ohtu
49b93ead1030ecf36fa46087f93a0556b56d725d
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ConfigureRuntimeClasspathSnapshotting.groovy
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ConfigureRuntimeClasspathSnapshotting.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 ignoring resources on the classpath
Add test for ignoring resources on the classpath
Groovy
apache-2.0
gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gstevey/gradle,gstevey/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,rob...
f4f0f12c00b8045a79042a9bdd40efedc8b6c6db
whelktool/scripts/cleanups/2020/04/lxl-3086-classificationCanada.groovy
whelktool/scripts/cleanups/2020/04/lxl-3086-classificationCanada.groovy
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = "data#>'{@graph,2,marc:hasClassificationNumbersAssignedInCanada}' is not null" selectBySqlWhere(where) { data -> def (record, instance, work) = data.graph // f...
Add canada classification cleanup script.
Add canada classification cleanup script.
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
a80053a57a38e7b690f233a67fbda2d8e015fdfa
subprojects/core/src/integTest/groovy/org/gradle/api/file/OutputBrokenSymlinkCacheIntegrationTest.groovy
subprojects/core/src/integTest/groovy/org/gradle/api/file/OutputBrokenSymlinkCacheIntegrationTest.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 test to reproduce behavior caching with broken symlinks
Add test to reproduce behavior caching with broken symlinks * "don't cache if broken symlink in OutputDirectory"
Groovy
apache-2.0
robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle...
2215e4d928029ca9987bcba3fed70119504e5aa7
src/test/groovy/net/fortuna/ical4j/model/TimeZoneUpdaterTest.groovy
src/test/groovy/net/fortuna/ical4j/model/TimeZoneUpdaterTest.groovy
/* * Copyright (c) 2022-2022, Ben Fortuna * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * o Redistributions of source code must retain the above copyright * notice, this lis...
Test timezone update for all included zones
Test timezone update for all included zones
Groovy
bsd-3-clause
ical4j/ical4j,ical4j/ical4j,ical4j/ical4j
e3ba79a17f43124e6db6264bab1e8738f87cb4d1
subprojects/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ArtifactViewArtifactSelectionIntegrationTest.groovy
subprojects/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ArtifactViewArtifactSelectionIntegrationTest.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 a test for what happens when a dependency requires an explicit configuration with ArtifactView
Add a test for what happens when a dependency requires an explicit configuration with ArtifactView Depending on a specific configuration by-passes attribute selection
Groovy
apache-2.0
gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,grad...
a94f08cb6bda4bb3adb929f4b17f2842591366c3
caAERS/software/core/src/main/db/migrate/031_Phase4_construction_8/001_alter_external_adverse_events_reporting_periods_drop_not_null_constraints.groovy
caAERS/software/core/src/main/db/migrate/031_Phase4_construction_8/001_alter_external_adverse_events_reporting_periods_drop_not_null_constraints.groovy
class AlterExternalAdverseEventReportingPeriodsDropNotNullConstraints extends edu.northwestern.bioinformatics.bering.Migration { void up() { if(databaseMatches('postgresql')){ execute("alter table ext_ae_reporting_prds alter column start_date drop not null"); } if(databaseMatches('o...
Implement saving provisional adverse event reporting period and adverse events from Force.com
CAAERS-5860: Implement saving provisional adverse event reporting period and adverse events from Force.com SVN-Revision: 17368
Groovy
bsd-3-clause
CBIIT/caaers,NCIP/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers,NCIP/caaers,CBIIT/caaers
610e8a285d74c2ab34e790dad04a682179ae407a
subprojects/language-java/src/test/groovy/org/gradle/language/java/internal/DefaultJavaSourceSetResolveContextTest.groovy
subprojects/language-java/src/test/groovy/org/gradle/language/java/internal/DefaultJavaSourceSetResolveContextTest.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 unit tests for DefaultJavaSourceSetResolveContext
Add unit tests for DefaultJavaSourceSetResolveContext +review REVIEW-5505
Groovy
apache-2.0
robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gstevey/gradle,gstevey/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,gstevey/gradle,robi...
93b3c4cfe8071baa0a0c17b66632c417b760bb40
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.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...
Test for optional null input file values
Test for optional null input file values +review REVIEW-6326
Groovy
apache-2.0
blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gstevey/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,gradle/gra...
236cf1dc26f55d35cd90d784c9461d8a5952781b
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedMissingModulesIntegrationTest.groovy
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedMissingModulesIntegrationTest.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 integration test for this issue (currently ignored).
GRADLE-2455: Add integration test for this issue (currently ignored).
Groovy
apache-2.0
lsmaira/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,robinverd...
d009b0bf732dda2e5e52c1161a3c4d6282ead2a3
jenkins/madcore_spark_deploy.groovy
jenkins/madcore_spark_deploy.groovy
pipelineJob('madcore.spark.deploy') { parameters { stringParam('REPO_URL', 'https://github.com/giantswarm/sparkexample.git', '') stringParam('APP_NAME', 'docker-spark', '') stringParam('APP_PORT', '4567', '') } definition { cps { sandbox() script(""" node { stage 'deploy...
Add spark deploy jenkins job
Add spark deploy jenkins job
Groovy
mit
madcore-ai/core,madcore-ai/core
e9c9ace613a80faba68878db83f34c6edad43214
subprojects/osgi/src/integTest/groovy/org/gradle/api/plugins/osgi/BndBundleIntegrationTest.groovy
subprojects/osgi/src/integTest/groovy/org/gradle/api/plugins/osgi/BndBundleIntegrationTest.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 integration test to demonstrate interoperability with BND Bundle task
Add integration test to demonstrate interoperability with BND Bundle task +review REVIEW-6058
Groovy
apache-2.0
blindpirate/gradle,gradle/gradle,gstevey/gradle,gstevey/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gstevey/gradle,lsmaira/gradle,robinverduijn/gradle,gstevey/gradle,gradle/gradle,lsmaira/gradle,ls...
31561c7da21d508c7ba7b7aa600488d52c3a7c33
src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy
src/test/groovy/ee/tuleva/onboarding/fund/FundRepositorySpec.groovy
package ee.tuleva.onboarding.fund import ee.tuleva.onboarding.fund.manager.FundManager import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest import org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager import spock.lang.Spec...
Add test for FundRepository that reporoduces the production bug
Add test for FundRepository that reporoduces the production bug
Groovy
mit
TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service
6d60c13077d306ee80a1c2885231f07c6e2a1c7c
functional-tests/src/test/groovy/pages/app/ValidateStaticPage.groovy
functional-tests/src/test/groovy/pages/app/ValidateStaticPage.groovy
package pages.app import geb.Page class ValidateStaticPage extends Page { static at = { title == "Validate Static Data" } static url = "Home/validatestaticdata" static content = { staticDataError { $("label", text: contains("No Errors")) } } }
Add Validate Static data test
Add Validate Static data test
Groovy
apache-2.0
GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp,GusJassal/agri-nmp
993afa044ecae697008dc2b743ae46850926dd09
rice-middleware/kew/api/src/test/groovy/org/kuali/rice/kew/api/action/ValidActionsTest.groovy
rice-middleware/kew/api/src/test/groovy/org/kuali/rice/kew/api/action/ValidActionsTest.groovy
/* * Copyright 2006-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by ap...
Fix invalid getter in org.kuali.rice.kew.api.action.ValidActions or invalid @XmlType propOrder * Committing marshal/unmarshal test case for ValidActions
KULRICE-7935: Fix invalid getter in org.kuali.rice.kew.api.action.ValidActions or invalid @XmlType propOrder * Committing marshal/unmarshal test case for ValidActions
Groovy
apache-2.0
geothomasp/kualico-rice-kc,geothomasp/kualico-rice-kc,geothomasp/kualico-rice-kc,jwillia/kc-rice1,kuali/kc-rice,rojlarge/rice-kc,ewestfal/rice,UniversityOfHawaiiORS/rice,sonamuthu/rice-1,rojlarge/rice-kc,cniesen/rice,ewestfal/rice,gathreya/rice-kc,UniversityOfHawaiiORS/rice,kuali/kc-rice,shahess/rice,bhutchinson/rice,b...