Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,562 for new2 (0.07 sec)

  1. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            CommandExecutionException cmdNotFound = new CommandExecutionException("Command 'xyz' not found");
            assertTrue(cmdNotFound.getMessage().contains("not found"));
    
            // Scenario 2: Command timeout
            CommandExecutionException timeout =
                    new CommandExecutionException("Command execution timed out after 30 seconds", new RuntimeException("Timeout"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        class BadRunnableException extends RuntimeException {}
    
        CountingRunnable before = new CountingRunnable();
        Runnable bad =
            new Runnable() {
              @Override
              public void run() {
                throw new BadRunnableException();
              }
            };
        CountingRunnable after = new CountingRunnable();
    
        future.addListener(before, directExecutor());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testRotate() {
        testRotate(new boolean[] {}, -1, new boolean[] {});
        testRotate(new boolean[] {}, 0, new boolean[] {});
        testRotate(new boolean[] {}, 1, new boolean[] {});
    
        testRotate(new boolean[] {true}, -2, new boolean[] {true});
        testRotate(new boolean[] {true}, -1, new boolean[] {true});
        testRotate(new boolean[] {true}, 0, new boolean[] {true});
        testRotate(new boolean[] {true}, 1, new boolean[] {true});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .createTestSuite();
      }
    
      private static String[] dedupe(String[] elements) {
        Set<String> tmp = new LinkedHashSet<>();
        Collections.addAll(tmp, elements);
        return tmp.toArray(new String[0]);
      }
    
      static <T> Comparator<T> arbitraryNullFriendlyComparator() {
        return new NullFriendlyComparator<>();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

        }
    
        public void test_multiLevelCause() {
            // Test with nested exceptions
            Throwable rootCause = new IllegalStateException("Root problem");
            Throwable intermediateCause = new RuntimeException("Intermediate problem", rootCause);
            GsaConfigException exception = new GsaConfigException("Top level GSA error", intermediateCause);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
      }
    
      public void testBridgeMethodIgnored() {
        new NullPointerTester().testAllPublicInstanceMethods(new StringFoo());
      }
    
      private abstract static class DefaultValueChecker {
    
        private final Map<Integer, Object> arguments = new HashMap<>();
    
        @CanIgnoreReturnValue
        final DefaultValueChecker runTester() {
          new NullPointerTester().testInstanceMethods(this, Visibility.PACKAGE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

         */
        @Test
        void testEquals() {
            SmbShareInfo instance1 = new SmbShareInfo("SHARE1", 0, "remark1");
            SmbShareInfo instance2 = new SmbShareInfo("SHARE1", 1, "remark2");
            SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1");
            Object notAShareInfo = new Object();
    
            assertTrue(instance1.equals(instance2)); // Should be equal based on netName
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertTrue(synonymItem1.equals(synonymItem1));
            assertTrue(synonymItem1.equals(new SynonymItem(1, new String[] { "a" }, new String[] { "b" })));
            assertFalse(synonymItem1.equals(new SynonymItem(2, new String[] { "a" }, new String[] { "B", })));
            assertFalse(synonymItem1.equals(new SynonymItem(2, new String[] { "A" }, new String[] { "b" })));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5K bytes
    - Viewed (1)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            byte[] buffer = new byte[100];
            int read = trans2FindFirst2.readParametersWireFormat(buffer, 0, 100);
    
            assertEquals(0, read);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat returns 0")
        void testReadDataWireFormat() {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertNull(user.getName());
    
            // Test with special characters in name
            user = new TestFessUser("******@****.***", new String[] {}, new String[] {}, new String[] {});
            assertEquals("******@****.***", user.getName());
    
            // Test with Unicode characters
            user = new TestFessUser("ユーザー名", new String[] {}, new String[] {}, new String[] {});
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top