- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 186 for testJar (0.12 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy
import org.gradle.util.internal.GUtil import org.junit.Rule import spock.lang.Specification class DefaultPluginRegistryTest extends Specification { @Rule final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) def classLoader = Mock(ClassLoader) def classLoaderScope = Stub(ClassLoaderScope) { getLocalClassLoader() >> classLoader }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:52:06 UTC 2021 - 13K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4FilteringIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformerTest.groovy
import static org.gradle.util.internal.TextUtil.normaliseFileSeparators class RelativeFileNameTransformerTest extends Specification { static rootDir = new File("root") @Rule TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) def "returns canonical path where file outside of root"() { expect: transform(relative, file) == normaliseFileSeparators(file.canonicalPath)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go
key2 := []byte("0123456789abcdef0123456789abcdef") testErr := fmt.Errorf("test error") block1, err := aes.NewCipher(key1) if err != nil { t.Fatal(err) } block2, err := aes.NewCipher(key2) if err != nil { t.Fatal(err) } ctx := context.Background() dataCtx := value.DefaultContext("authenticated_data") p := value.NewPrefixTransformers(testErr,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:25:52 UTC 2023 - 23.2K bytes - Viewed (0) -
src/crypto/cipher/ctr_test.go
func inc(b []byte) { for i := len(b) - 1; i >= 0; i++ { b[i]++ if b[i] != 0 { break } } } func xor(a, b []byte) { for i := range a { a[i] ^= b[i] } } func TestCTR(t *testing.T) { for size := 64; size <= 1024; size *= 2 { iv := make([]byte, size) ctr := cipher.NewCTR(noopBlock(size), iv) src := make([]byte, 1024) for i := range src { src[i] = 0xff }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 21:38:36 UTC 2015 - 1.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor.txt
package b import ( "os" "testing" ) func TestDir(t *testing.T) { if _, err := os.Stat("../testdata/1"); err != nil { t.Fatalf("testdata: %v", err) } } -- a/foo/bar/c/main.go -- package c import _ "a/foo/bar/b" -- a/foo/bar/c/main_test.go -- package c import ( "os" "testing" ) func TestDir(t *testing.T) { if _, err := os.Stat("../../../testdata/1"); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy
testImplementation 'junit:junit:4.13' } eclipse.classpath.file.whenMerged { def testDir = entries.find { entry -> entry.path == 'src/test/java' } def guavaDep = entries.find { entry -> entry.path.contains 'guava-18.0.jar' } testDir.entryAttributes['gradle_used_by_scope'] = 'test,integTest' guavaDep.entryAttributes['gradle_used_by_scope'] = 'main,test,integTest'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 10 13:19:47 UTC 2023 - 8.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go
NamedStr namedString `json:"namedStr,omitempty"` NamedBool namedBool `json:"namedBool,omitempty"` Foobar bar `json:"foobar,omitempty"` Testmap map[string]string `json:"testmap,omitempty"` } func (obj *foo) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } type baz struct { Ptr *int `json:"ptr"` Bptr *bool `json:"bptr,omitempty"` }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 03 07:01:02 UTC 2018 - 6.2K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/tasks/InitBuildSpec.groovy
// Don't store userHome in the default location (in the project dir), because this will cause the non-empty project dir detection to fail init = TestUtil.create(testDir.testDirectory.file("project"), testDir.testDirectory.file("userHome")).task(InitBuild) projectLayoutRegistry = Mock() defaultGenerator = Mock() buildConverter = Mock() init.projectLayoutRegistry = projectLayoutRegistry
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 20:10:43 UTC 2024 - 12.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/DefaultProjectDescriptorRegistryTest.java
import static org.junit.Assert.assertSame; import static org.hamcrest.MatcherAssert.assertThat; public class DefaultProjectDescriptorRegistryTest { private static final File TEST_DIR = new File("testDir"); private static final FileResolver FILE_RESOLVER = TestFiles.resolver(TEST_DIR.getAbsoluteFile()); private final DefaultProjectDescriptorRegistry registry = new DefaultProjectDescriptorRegistry(); @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 08 03:33:31 UTC 2022 - 2.2K bytes - Viewed (0)