Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 6,076 for newE (0.03 seconds)

  1. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException exception = new SomeChainingException(new SomeChainingException(cause));
        assertThat(getRootCause(exception)).isSameInstanceAs(cause);
      }
    
      public void testGetRootCause_loop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

                lsarpc.LsarRefDomainList domains = new lsarpc.LsarRefDomainList();
                domains.count = 1;
                domains.max_count = 1;
                domains.domains = new lsarpc.LsarTrustInformation[1];
                domains.domains[0] = new lsarpc.LsarTrustInformation();
                domains.domains[0].name = new UnicodeString("TESTDOM", false);
                domains.domains[0].sid = new jcifs.dcerpc.rpc.sid_t();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                }
            };
    
            callback.store(new DataStoreParams(), new HashMap<>());
            assertEquals(1L, callback.getDocumentSize());
        }
    
        @Test
        public void test_commit_behavior() {
            // Test commit behavior with state tracking
            final AtomicInteger commitCount = new AtomicInteger(0);
            final AtomicLong documentsBeforeCommit = new AtomicLong(0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

                    throw new RuntimeException("Crawling error");
                }
            };
    
            SearchLogService searchLogService = new SearchLogService() {
                @Override
                public void deleteBefore(int days) {
                    throw new RuntimeException("Search error");
                }
            };
    
            JobLogService jobLogService = new JobLogService() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 32.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

            List<LogNotificationEvent> events = new ArrayList<>();
            events.add(new LogNotificationEvent(base, "ERROR", "org.test.A", "first", null));
            events.add(new LogNotificationEvent(base + 1000, "WARN", "org.test.B", "second", null));
            events.add(new LogNotificationEvent(base + 2000, "ERROR", "org.test.C", "third", null));
    
            String details = testableJob.testFormatDetails(events);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
            byte[] buffer = new byte[1000];
            int numThreads = 10;
            Thread[] threads = new Thread[numThreads];
    
            // When - multiple threads calling methods simultaneously
            for (int i = 0; i < numThreads; i++) {
                final int threadIndex = i;
                threads[i] = new Thread(() -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            // Test with different types of causes
            DataStoreException withIOException = new DataStoreException("IO Error", new java.io.IOException("File not found"));
            DataStoreException withNPE = new DataStoreException("NPE Error", new NullPointerException("Null value"));
            DataStoreException withCustom = new DataStoreException("Custom Error", new FessSystemException("System error"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            Exception innerException = new IllegalArgumentException("Invalid argument");
            Error middleError = new AssertionError("Assertion failed", innerException);
            RuntimeException outerException = new RuntimeException("Outer error", middleError);
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message, outerException);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final AtomicBoolean heartbeatCalled = new AtomicBoolean(false);
            final AtomicBoolean fetchCalled = new AtomicBoolean(false);
            final AtomicBoolean cleanupCalled = new AtomicBoolean(false);
            final CoordinatorHelper helper = new CoordinatorHelper() {
                @Override
                public void sendHeartbeat() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION);
            byte[] buffer = new byte[100];
    
            int result = querySecurityDesc.readParametersWireFormat(buffer, 10, 50);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat returns zero")
        void testReadDataWireFormat() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
Back to Top