- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Bean2 (0.05 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectSetSpec.groovy
final Bean bean1 = new Bean("bean1"); final Bean bean2 = new Bean("bean2"); container.addRule("rule1", { s -> if (s == "bean1") { container.add(bean1)} }) container.addRule("rule2", { s -> if (s == "bean2") { container.findByName("bean1"); container.findByName("bean2"); container.add(bean2); } }) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:21:31 UTC 2023 - 11.6K bytes - Viewed (0) -
maven-di/src/test/java/org/apache/maven/di/impl/InjectorImplTest.java
assertNotNull(b2a); SingletonContainer.Bean2 b2b = injector.getInstance(SingletonContainer.Bean2.class); assertNotNull(b2b); assertNotEquals(b2a.num, b2b.num); } static class SingletonContainer { private static final AtomicInteger bean1 = new AtomicInteger(); private static final AtomicInteger bean2 = new AtomicInteger(); @Named @Singleton
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 17:13:31 UTC 2024 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
@Test public void testCopyBeanToBean_converter() throws Exception { final Bean bean = new Bean(); bean.aaa = "1,000"; final Bean2 bean2 = new Bean2(); BeanUtil.copyBeanToBean(bean, bean2, converter(new NumberConverter("#,##0"))); assertThat(bean2.aaa, is(new Integer(1000))); } /** * @throws Exception */ @Test
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java
@Nested public List<?> getBeans() { return ImmutableList.of(bean); } } public static class TaskWithNestedBeanWithPrivateClass extends TaskWithAction { Bean2 bean = new Bean2(); @Inject public TaskWithNestedBeanWithPrivateClass(File inputFile, File inputFile2) { bean.inputFile = inputFile; bean.inputFile2 = inputFile2; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 12 11:41:48 UTC 2022 - 15.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectCollectionTest.groovy
def "getNames"() { expect: container.getNames().isEmpty() when: container.add(new Bean("bean1")) container.add(new Bean("bean2")) container.add(new Bean("bean3")) then: container.names == ["bean1", "bean2", "bean3"] as SortedSet } def "returns null element with name is not present and there are no rules to create it"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 24 14:51:02 UTC 2021 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy
it.addLinkInstance("bean1.bean2", new Bean(name: "bean2 unmodified")) } } registry.root.getLink("bean1").applyToSelf(rules) expect: // Rule is not applied to scope node registry.realize("bean1", Bean).name == "bean1 unmodified" // Rule is applied to child of scope node registry.realize("bean1.bean2", Bean).name == "bean" where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 56K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy
import static org.apache.commons.io.FileUtils.touch import static org.gradle.api.internal.project.taskfactory.AnnotationProcessingTasks.Bean import static org.gradle.api.internal.project.taskfactory.AnnotationProcessingTasks.Bean2 import static org.gradle.api.internal.project.taskfactory.AnnotationProcessingTasks.BrokenTaskWithInputDir import static org.gradle.api.internal.project.taskfactory.AnnotationProcessingTasks.BrokenTaskWithInputFiles
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 38.8K bytes - Viewed (0)