Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 590 for Selection (0.11 seconds)

  1. src/test/java/jcifs/http/HandlerTest.java

            // Restore system properties and clean up static state
            System.setProperties(originalSystemProperties);
            resetHandlerState();
        }
    
        /**
         * Resets the static state of the Handler class using reflection.
         * This is crucial for ensuring that tests are isolated from each other.
         */
        private void resetHandlerState() throws Exception {
            // Reset the static factory field
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

        // DELETE /api/admin/duplicatehost/setting/{id}
        /**
         * Deletes a specific duplicate host setting.
         *
         * @param id the duplicate host setting ID to delete
         * @return JSON response with deletion status
         */
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            duplicateHostService.getDuplicateHost(id).ifPresent(entity -> {
                try {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            assertTrue(result.startsWith("TransCallNamedPipeResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        void testGetResponseLength() throws Exception {
            // Use reflection to set dataCount
            Field dataCountField = SmbComTransactionResponse.class.getDeclaredField("dataCount");
            dataCountField.setAccessible(true);
            dataCountField.setInt(response, 42);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(tree.isSMB2()).thenReturn(false);
            when(tree.getConfig()).thenReturn(config);
            when(config.getPid()).thenReturn(1234);
    
            // Stub send to populate the provided response instance via reflection
            Mockito.doAnswer(inv -> {
                Object resp = inv.getArgument(1);
                // Set private fields: status on SmbComTransactionResponse and available on TransPeekNamedPipeResponse
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

         *
         * @param dictId identifier of the dictionary
         * @param id identifier of the mapping entry to delete
         * @return JSON response containing deletion result and entry ID
         */
        // DELETE /api/admin/dict/mapping/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

        }
    
        /**
         * Deletes a boost document rule setting by ID.
         *
         * @param id the ID of the boost document rule to delete
         * @return JSON response indicating the deletion status
         */
        // DELETE /api/admin/boostdoc/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static class WithTypeVariable {
    
        @SuppressWarnings("unused")
        <T> void withoutBound(List<T> list) {}
    
        @SuppressWarnings({
          "unused",
          /*
           * Since reflection can't tell the difference between <T> and <T extends Object>, it doesn't
           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  8. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection
     * access issues, if any.
     *
     * @author Ben Yu
     */
    public class ForwardingWrapperTesterTest extends TestCase {
    
      private final ForwardingWrapperTester tester = new ForwardingWrapperTester();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

        }
    
        // DELETE /api/admin/accesstoken/setting/{id}
        /**
         * Deletes an access token setting by ID.
         *
         * @param id the access token ID to delete
         * @return JSON response confirming deletion
         */
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            accessTokenService.getAccessToken(id).ifPresent(entity -> {
                try {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/DfsTest.java

            assertNull(testDfs.getTrustedDomains(auth));
        }
    
        @Test
        void testGetTrustedDomains_Success() throws IOException, SmbAuthException {
            // This test is complex due to static method dependencies and reflection access
            // For now, we'll test the disabled path which is safer
            testDfs.setDisabled(true);
            assertNull(testDfs.getTrustedDomains(auth));
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top