Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 6,187 for New (0.02 seconds)

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

            PluginException exception = new PluginException(longMessage);
    
            assertNotNull(exception);
            assertEquals(longMessage, exception.getMessage());
        }
    
        @Test
        public void test_multiLevelExceptionChain() {
            // Test multi-level exception chain
            Throwable level3 = new NullPointerException("Null value");
            Throwable level2 = new IllegalStateException("Invalid state", level3);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        void testEncode() {
            byte[] buffer = new byte[1024];
            int length = response.encode(buffer, 0);
            assertTrue(length >= 0);
        }
    
        @Test
        @DisplayName("Test decode operation")
        void testDecode() {
            byte[] buffer = new byte[1024];
            // Fill with basic SMB header structure
            System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                Type2Message message = new Type2Message(mockContext, Type2Message.NTLMSSP_NEGOTIATE_UNICODE, TEST_CHALLENGE, TEST_TARGET);
                byte[] testContext =
                        new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
                message.setContext(testContext);
                byte[] testTargetInfo = new byte[] { 0x10, 0x20, 0x30 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

            return set.subSet(firstInclusive, lastExclusive);
          } else {
            throw new IllegalArgumentException();
          }
        }
    
        @Override
        public E belowSamplesLesser() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public E belowSamplesGreater() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public E aboveSamplesLesser() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        void testWriteBytesWireFormatFileIdCopy() {
            setupMockConfig();
            byte[] customFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                customFileId[i] = (byte) i;
            }
    
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE, customFileId);
            byte[] buffer = new byte[1024];
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
      }
    
      public Test allTests() {
        TestSuite suite = new TestSuite("java.util Maps");
        suite.addTest(testsForCheckedMap());
        suite.addTest(testsForCheckedNavigableMap());
        suite.addTest(testsForCheckedSortedMap());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        testSortDescending(new long[] {}, 0, 0, new long[] {});
        testSortDescending(new long[] {1}, 0, 1, new long[] {1});
        testSortDescending(new long[] {1, 2}, 0, 2, new long[] {2, 1});
        testSortDescending(new long[] {1, 3, 1}, 0, 2, new long[] {3, 1, 1});
        testSortDescending(new long[] {1, 3, 1}, 0, 1, new long[] {1, 3, 1});
        testSortDescending(
            new long[] {GREATEST - 1, 1, GREATEST - 2, 2},
            1,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            // Test constructor with message and cause
            String message = "Test error message";
            Throwable cause = new RuntimeException("Underlying cause");
            SearchEngineClientException exception = new SearchEngineClientException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            super.setUp(testInfo);
            suggestCreator = new SuggestCreator();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        // Test constructor
        @Test
        public void test_constructor() {
            SuggestCreator creator = new SuggestCreator();
            assertNotNull(creator);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      public void testResolveOwnerClass() {
        assertEquals(Integer.class, new Owner<Integer>().new Inner<String>() {}.getOwnerType());
      }
    
      private static class Mapping<F, T> {
    
        final Type f = new TypeToken<F>(getClass()) {}.getType();
        final Type t = new TypeToken<T>(getClass()) {}.getType();
    
        Type getFromType() {
          return new TypeToken<F>(getClass()) {}.getType();
        }
    
        Type getToType() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
Back to Top