Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of 5,741 for new1 (0.02 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            ImmutableList.of(
                new TestFuture(doneSuccess, "doneSuccess", () -> {}),
                new TestFuture(doneFailed, "doneFailed", () -> {}),
                new TestFuture(doneCancelled, "doneCancelled", () -> {}),
                new TestFuture(doneRuntimeException, "doneRuntimeException", () -> {}),
                new TestFuture(delayedSuccess, "delayedSuccess", () -> delayedSuccess.set("b")),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

        @Override
        public Map<String, String> getUserProperties() {
            return Collections.unmodifiableMap(new PropertiesAsMap(getMavenSession().getUserProperties()));
        }
    
        @Nonnull
        @Override
        public Map<String, String> getSystemProperties() {
            return Collections.unmodifiableMap(new PropertiesAsMap(getMavenSession().getSystemProperties()));
        }
    
        @Nonnull
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        }
    
        @Test
        @DisplayName("toByteArray returns mechanismToken reference when present")
        void toByteArrayReturnsToken() throws IOException {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] raw = new byte[] { 11, 12, 13 };
            t.parse(raw);
            // Current behavior of test impl: returns same reference
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

            PACDecodingException e = new PACDecodingException(errorMessage);
            // Expect the message to be set correctly and cause to be null
            assertEquals(errorMessage, e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a cause.
         */
        @Test
        void testCauseConstructor() {
            Throwable cause = new RuntimeException("Root cause");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java

        @Test
        void testHashCodeNullSafe() {
            new ActivationFile().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationFile().equals(null));
    
            new ActivationFile().equals(new ActivationFile());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationFile thing = new ActivationFile();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java

    class ActivationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Activation().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Activation().equals(null));
    
            new Activation().equals(new Activation());
        }
    
        @Test
        void testEqualsIdentity() {
            Activation thing = new Activation();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java

    class CiManagementTest {
    
        @Test
        void testHashCodeNullSafe() {
            new CiManagement().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new CiManagement().equals(null));
    
            new CiManagement().equals(new CiManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            CiManagement thing = new CiManagement();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java

        @Test
        void testHashCodeNullSafe() {
            new DeploymentRepository().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DeploymentRepository().equals(null));
    
            new DeploymentRepository().equals(new DeploymentRepository());
        }
    
        @Test
        void testEqualsIdentity() {
            DeploymentRepository thing = new DeploymentRepository();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java

     */
    class NotifierTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Notifier().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Notifier().equals(null));
    
            new Notifier().equals(new Notifier());
        }
    
        @Test
        void testEqualsIdentity() {
            Notifier thing = new Notifier();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java

        @Test
        void testHashCodeNullSafe() {
            new PluginExecution().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginExecution().equals(null));
    
            new PluginExecution().equals(new PluginExecution());
        }
    
        @Test
        void testEqualsIdentity() {
            PluginExecution thing = new PluginExecution();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top