Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for rbrace (0.06 sec)

  1. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

          builder.append(args[i++]);
          templateStart = placeholderStart + 2;
        }
        builder.append(template.substring(templateStart));
    
        // if we run out of placeholders, append the extra args in square braces
        if (i < args.length) {
          builder.append(" [");
          builder.append(args[i++]);
          while (i < args.length) {
            builder.append(", ");
            builder.append(args[i++]);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
            doReturn(true).when(trace).isConnected();
            trace.acquire(); // usageCount becomes 1
    
            // Act & Assert: checkRelease should call isConnected() and not throw
            assertDoesNotThrow(trace::checkRelease);
            verify(trace, atLeastOnce()).isConnected();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            String message1 = "Test with suppression enabled";
            CrawlerSystemException exception1 = constructor.newInstance(message1, true, true);
            assertNotNull(exception1);
            assertEquals(message1, exception1.getMessage());
            assertNull(exception1.getCause());
    
            // Test with suppression disabled and writable stack trace
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. logger/slog.go

    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    
    	case l.SlowThreshold != 0 && elapsed > l.SlowThreshold:
    		l.Logger.WarnContext(ctx, "SQL executed", slog.Attr{
    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    
    	case l.LogLevel >= Info:
    		l.Logger.InfoContext(ctx, "SQL executed", slog.Attr{
    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 28 09:34:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

            for (final Entry<String, Map<String, CacheEntry<DfsReferralDataInternal>>> entry : domains.entrySet()) {
                log.trace("Domain " + entry.getKey());
                for (final Entry<String, CacheEntry<DfsReferralDataInternal>> entry2 : entry.getValue().entrySet()) {
                    log.trace("  Root " + entry2.getKey());
                    if (entry2.getValue().map != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

        }
    
        public void test_stackTraceForMessageOnlyConstructor() {
            // Test that stack trace is not writable when using message-only constructor
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Test message");
    
            // The message-only constructor uses super(message, false, false) which disables stack trace
            assertEquals(0, exception.getStackTrace().length);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

            assertSame(root, ex.getRootCause());
        }
    
        /**
         * Verify that {@link #toString()} includes a stack trace when a root cause
         * is present.
         */
        @Test
        @DisplayName("toString with root cause contains stack trace")
        void testToStringWithRootCause() {
            RuntimeException cause = new RuntimeException("boom");
            SmbException ex = new SmbException(0, cause);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            String errorMessage = "Stack trace test error";
            ServletException servletException = new ServletException(errorMessage);
    
            // Wrap it in ServletRuntimeException
            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
            // Verify stack trace is available
            StackTraceElement[] stackTrace = runtimeException.getStackTrace();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

        public void test_stackTrace() {
            // Test stack trace is properly set
            ResultOffsetExceededException exception = new ResultOffsetExceededException("Stack trace test");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Check that the current test method is in the stack trace
            boolean foundTestMethod = false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly captured
            final JobProcessingException exception = new JobProcessingException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify the top of the stack trace points to this test method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top