Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 9,695 for ADD (0.03 sec)

  1. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/CompositeStoppableTest.groovy

            Stoppable b = Mock()
            stoppable.add(a)
            stoppable.add(b)
    
            when:
            stoppable.stop()
    
            then:
            1 * a.stop()
            1 * b.stop()
        }
    
        def stopsAllElementsWhenOneFailsToStop() {
            Stoppable a = Mock()
            Stoppable b = Mock()
            RuntimeException failure = new RuntimeException()
            stoppable.add(a)
            stoppable.add(b)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

        try {
          getMultiset().add(e0(), 2);
          fail("unsupported multiset.add(E, int) didn't throw exception");
        } catch (UnsupportedOperationException required) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddOccurrencesNegative() {
        try {
          getMultiset().add(e0(), -1);
          fail("multiset.add(E, -1) didn't throw an exception");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/multi/list/junit5/LinkedListTest.java.template

            list.add("one");
            assertEquals(1, list.size());
            assertEquals("one", list.get(0));
    
            list.add("two");
            assertEquals(2, list.size());
            assertEquals("two", list.get(1));
        }
    
        @Test void testRemove() {
            LinkedList list = new LinkedList();
    
            list.add("one");
            list.add("two");
            assertTrue(list.remove("one"));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = new ArrayList<>();
        testers.add(BiMapEntrySetTester.class);
        testers.add(BiMapPutTester.class);
        testers.add(BiMapInverseTester.class);
        testers.add(BiMapRemoveTester.class);
        testers.add(BiMapClearTester.class);
        return testers;
      }
    
      enum NoRecurse implements Feature<Void> {
        INVERSE;
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/services/NativeBinaryServices.java

            registration.add(NativeBinaryRenderer.class);
            registration.add(SharedLibraryBinaryRenderer.class);
            registration.add(StaticLibraryBinaryRenderer.class);
            registration.add(NativeExecutableBinaryRenderer.class);
            registration.add(NativePlatforms.class);
            registration.add(NativePlatformResolver.class);
            registration.add(DefaultTargetMachineFactory.class);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DeferredProjectConfigurationTest.groovy

            given:
            def events = []
    
            when:
            config.add { events << "a" }
            config.add { events << "b" }
    
            and:
            3.times { config.fire() }
    
            then:
            events == ["a", "b"]
        }
    
        def "cannot add actions once fired"() {
            when:
            config.fire()
    
            and:
            config.add {}
    
            then:
            def e = thrown IllegalStateException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 15 07:22:20 UTC 2016
    - 2K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/internal/services/ToolchainsJvmServices.java

                registration.add(MavenToolchainsInstallationSupplier.class);
    
                registration.add(LinuxInstallationSupplier.class);
                registration.add(OsXInstallationSupplier.class);
                registration.add(WindowsInstallationSupplier.class);
            }
        }
    
        @Override
        public void registerBuildSessionServices(ServiceRegistration registration) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. pkg/controller/certificates/authority/authority_test.go

    				NotBefore:             now.Add(-5 * time.Minute),
    				NotAfter:              now.Add(-4 * time.Minute),
    				BasicConstraintsValid: true,
    			},
    		},
    		{
    			name:   "backdate with short",
    			policy: PermissiveSigningPolicy{TTL: time.Hour, Backdate: 5 * time.Minute, Short: 8 * time.Hour, Now: nowFunc},
    			want: x509.Certificate{
    				NotBefore:             now.Add(-5 * time.Minute),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 19:36:11 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/SuggestJob.java

                if ("web".equals(systemLastaEnv)) {
                    cmdList.add("-Dlasta.env=" + getExecuteType());
                } else {
                    cmdList.add("-Dlasta.env=" + systemLastaEnv);
                }
            } else if (StringUtil.isNotBlank(lastaEnv)) {
                cmdList.add("-Dlasta.env=" + lastaEnv);
            } else {
                cmdList.add("-Dlasta.env=" + getExecuteType());
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven4ScopeManagerConfiguration.java

            ArrayList<org.eclipse.aether.scope.DependencyScope> result = new ArrayList<>();
            result.add(internalScopeManager.createDependencyScope(
                    DependencyScope.COMPILE.id(), DependencyScope.COMPILE.isTransitive(), all()));
            result.add(internalScopeManager.createDependencyScope(
                    DependencyScope.RUNTIME.id(),
                    DependencyScope.RUNTIME.isTransitive(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top