Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 7301 - 7310 of 7,804 for RETURN (0.08 seconds)

  1. cmd/storage-rest_test.go

    		if err == nil || errors.Is(err, errUnformattedDisk) {
    			break
    		}
    		time.Sleep(time.Duration(rand.Float64() * float64(100*time.Millisecond)))
    	}
    
    	return restClient
    }
    
    func TestStorageRESTClientDiskInfo(t *testing.T) {
    	restClient := newStorageRESTHTTPServerClient(t)
    
    	testStorageAPIDiskInfo(t, restClient)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals(0x7F, allCaps, "All capabilities combined should equal 0x7F");
            }
    
            private boolean isPowerOfTwo(int n) {
                return n > 0 && (n & (n - 1)) == 0;
            }
        }
    
        @Nested
        @DisplayName("Info Level Constants")
        class InfoLevelConstants {
    
            @Test
            @DisplayName("File info level should be 1")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                    private static final long serialVersionUID = 1L;
    
                    @Override
                    public Integer getSuggestSystemMonitorIntervalAsInteger() {
                        return 60;
                    }
                };
                ComponentUtil.setFessConfig(mockConfig);
    
            } catch (Exception e) {
                // Ignore setup errors in test environment
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

        public void test_getResponse_returnsNull() {
            assertNull(authenticator.getResponse(null));
        }
    
        @Test
        public void test_getLoginCredential_withRequest() {
            // With a request context, should return ActionResponseCredential for OAuth redirect
            final var credential = authenticator.getLoginCredential();
            assertNotNull(credential);
            assertTrue(credential instanceof ActionResponseCredential);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            generator.setCommandList(Collections.singletonList("echo test"));
            try {
                final boolean result = generator.generate("test_id", outputFile);
                // Should return false for invalid parent directory
                assertFalse(result);
            } catch (final Exception e) {
                assertTrue(true);
            }
        }
    
        // Test command list scenarios
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/CurlTest.java

            final CurlRequest request2 = Curl.get("http://example.com");
    
            // ## Assert ##
            assertNotNull(request1);
            assertNotNull(request2);
            assertTrue("Factory methods should return different instances", request1 != request2);
        }
    
        @Test
        public void test_ProtectedConstructor() throws Exception {
            // ## Test that protected constructor can be accessed via reflection ##
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        assertThat(UnsignedBytes.join(",", (byte) 128, (byte) -1)).isEqualTo("128,255");
      }
    
      private static boolean unsafeComparatorAvailable() {
        return UnsafeComparator.INSTANCE.isFunctional();
      }
    
      public void testLexicographicalComparatorChoice() {
        Comparator<byte[]> defaultComparator = UnsignedBytes.lexicographicalComparator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      /** Concrete subclass for testing. */
      private static class TestedFuture<V extends @Nullable Object> extends AbstractFuture<V> {
        private static <V extends @Nullable Object> TestedFuture<V> create() {
          return new TestedFuture<V>();
        }
      }
    
      private static final class CountingRunnable implements Runnable {
        int count;
    
        @Override
        public void run() {
          count++;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // free (4 bytes)
            SMBUtil.writeInt4(500000, buffer, offset);
            offset += 4;
    
            // bytesPerSect (2 bytes + 2 padding)
            SMBUtil.writeInt2(512, buffer, offset);
    
            return buffer;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      // conflicts across different test runs.
      private <E extends Enum<E>>
          CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
              Class<E> enumClass, Policy policy) {
        return new CycleDetectingLockFactory.WithExplicitOrdering<E>(
            policy, CycleDetectingLockFactory.createNodes(enumClass));
      }
    
      public void testDeadlock_twoLocks() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
Back to Top