Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 190 for subname (0.38 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/EnumsInManagedModelIntegrationTest.groovy

            buildScript '''
                enum Gender {
                    FEMALE, MALE, OTHER
                }
    
                @Managed
                interface Person {
                  String getName()
                  void setName(String string)
    
                  Gender getGender()
                  void setGender(Gender gender)
                }
    
                class Rules extends RuleSource {
                  @Model
                  void p1(Person p1) {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtModuleUtils.kt

                addRegularDependency(
                    buildKtSdkModule {
                        this.platform = platform
                        addBinaryRootsFromJdkHome(jdkHome.toPath(), isJre = false)
                        sdkName = "JDK for $moduleName"
                    }
                )
            }
        }
    
        val configLanguageVersionSettings = compilerConfig[CommonConfigurationKeys.LANGUAGE_VERSION_SETTINGS]
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. maven-model/src/test/java/org/apache/maven/model/MailingListTest.java

        @Test
        void testToStringNullSafe() {
            assertNotNull(new MailingList().toString());
        }
    
        public void testToStringNotNonsense() {
            MailingList list = new MailingList();
            list.setName("modello-dev");
    
            String s = list.toString();
    
            assertEquals("MailingList {name=modello-dev, archive=null}", s);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
            {
                xpathTransformer = new XpathTransformer();
                xpathTransformer.setName("xpathTransformer");
                Map<String, String> featureMap = newHashMap();
                featureMap.put("http://xml.org/sax/features/namespaces", "false");
                xpathTransformer.setFeatureMap(featureMap);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNamedTest.groovy

            then:
            registry.realize("bar", NamedThingInterface).name == "bar"
        }
    
    
        @Managed
        static abstract class NonNamedThing {
            abstract String getName()
    
            abstract void setName(String name)
        }
    
        def "named struct does not have name populated if does not implement named"() {
            when:
            registry.registerWithInitializer("foo", NonNamedThing, nodeInitializerRegistry)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/ipset/ipset_test.go

    		SetType:  HashIPPort,
    	}
    	setName := "NOT"
    	fcmd := fakeexec.FakeCmd{
    		CombinedOutputScript: []fakeexec.FakeAction{
    			// Success
    			func() ([]byte, []byte, error) {
    				return []byte("10.120.7.100,tcp:8080 is in set " + setName + "."), nil, nil
    			},
    			// Failure
    			func() ([]byte, []byte, error) {
    				return []byte("192.168.1.3,tcp:8080 is NOT in set " + setName + "."), nil, &fakeexec.FakeExitError{Status: 1}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/test/groovy/org/gradle/api/tasks/wrapper/WrapperTest.groovy

            when:
            wrapper.setScriptFile("build/$inName")
    
            then:
            getProject().file("build/$outName") == wrapper.getBatchScript()
    
            where:
            inName           | outName
            "gradle.sh"      | "gradle.bat"
            "gradle-wrapper" | "gradle-wrapper.bat"
        }
    
        def "determines properties file path from jar path"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

                        conf(baseMethod("base:name:1.0"))
                        conf(subMethod("sub:name:1.0"))
                    }
                }
            """
            file("settings.gradle") << defineSettings(typeSafeProjectAccessors)
    
            expect:
            succeeds("build")
            outputContains("base:name:1.0")
            outputContains("sub:name:1.0")
    
            where:
            typeSafeProjectAccessors << [true, false]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4TestExecutionIntegrationTest.groovy

                    @Test
                    public void checkThreadName() {
                        assertEquals("Test worker", Thread.currentThread().getName());
                        Thread.currentThread().setName(getClass().getSimpleName());
                    }
                }
            """.stripIndent()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/IntegrationTestTimeoutInterceptor.groovy

            } catch (Throwable t) {
                throw t
            }
        }
    
        void intercept(Action<Void> action) {
            MethodInfo methodInfo = new MethodInfo()
            methodInfo.setName('MockMethod')
            intercept(new MethodInvocation(null, null, null, null, null, methodInfo, null) {
                void proceed() throws Throwable {
                    action.execute(null)
                }
            })
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (1)
Back to top