Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 3,176 for Chen (0.03 seconds)

  1. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

         */
        @Test
        void testConstructor_EmptyToken() {
            // 1. GIVEN
            byte[] emptyToken = new byte[0];
            Map<Integer, KerberosKey> keys = new HashMap<>();
    
            // 2. WHEN & 3. THEN
            // When ASN1InputStream.readObject() returns null due to empty input,
            // ASN1Util.as() throws NullPointerException (not wrapped)
            Exception exception = assertThrows(Exception.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

               assert expected == actual.get(i)
            }
    
            when:
            result = gradleRunner(transformTask).build()
    
            then:
            result.task(transformTask).outcome == TaskOutcome.UP_TO_DATE
    
            when:
            buildFile.write(buildFile.text.replace("blah", "baz"))
            result = gradleRunner(transformTask).build()
    
            then:
            result.task(transformTask).outcome == TaskOutcome.SUCCESS
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
            Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials);
            Mockito.when(mockCredentials.unwrap(Mockito.any())).thenReturn(mockCredentialsInternal);
            Mockito.when(mockCredentialsInternal.clone()).thenReturn(mockCredentialsInternal);
            Mockito.when(mockTransport.acquire()).thenReturn(mockTransport);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. src/test/java/jcifs/BufferCacheTest.java

            doNothing().when(mockBufferCache).releaseBuffer(buffer);
    
            // When & Then
            assertDoesNotThrow(() -> {
                mockBufferCache.releaseBuffer(buffer);
            }, "releaseBuffer should handle valid buffers");
        }
    
        @Test
        @DisplayName("getBuffer should return buffers for use")
        void testGetBufferBasicUsage() {
            // When
            byte[] buffer1 = testCache.getBuffer();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. docs/en/docs/environment-variables.md

    * `C:\Windows\System32`
    
    ////
    
    When you type a **command** in the terminal, the operating system **looks for** the program in **each of those directories** listed in the `PATH` environment variable.
    
    For example, when you type `python` in the terminal, the operating system looks for a program called `python` in the **first directory** in that list.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/search/SuggestWordsApiTests.java

            params.put("q", "test");
    
            given().contentType("application/json")
                    .header("Referer", getFessUrl())
                    .params(params)
                    .when()
                    .get("/api/v1/suggest-words")
                    .then()
                    .statusCode(200)
                    .body("record_count", greaterThanOrEqualTo(0));
        }
    
        @Test
        public void testSuggestWords_withNum() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy

        def "restResources does nothing when there are no tests"() {
            given:
            internalBuild()
            buildFile << """
                apply plugin: 'elasticsearch.java'
                apply plugin: 'elasticsearch.rest-resources'
            """
    
            String api = "foo.json"
            setupRestResources([api])
    
            when:
            def result = gradleRunner("copyRestApiSpecsTask").build()
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 20 21:05:16 GMT 2021
    - 7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        }
    
        @Test
        @DisplayName("Should create exception with error code and message")
        void testBasicCreation() {
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_NOT_FOUND, "test.txt");
    
            // Then
            assertNotNull(exception);
            assertEquals(SmbOperationException.ErrorCode.FILE_NOT_FOUND, exception.getErrorCode());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // When & Then - should handle gracefully
            assertThrows(Exception.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify NotifyResponse interface implementation")
        void testNotifyResponseInterface() {
            // Then
            assertTrue(response instanceof NotifyResponse);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

        }
    
        /**
         * Registers a callback to be executed when the computation is complete.
         * @param consumer The callback.
         * @return The promise.
         */
        public Promise then(final Consumer<RESPONSE> consumer) {
            return promise.then(consumer);
        }
    
        /**
         * Registers a callback to be executed when the computation fails.
         * @param consumer The callback.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top