Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5081 - 5090 of 5,397 for returns (0.04 sec)

  1. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

    @ExtendWith(MockitoExtension.class)
    class SmbUnsupportedOperationExceptionTest {
    
        // Provides a variety of messages including edge cases
        static Stream<String> messages() {
            return Stream.of("custom message", "", " ", "αβγ", "x".repeat(1000), null);
        }
    
        @Test
        @DisplayName("Default constructor sets the expected message and no cause")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

        }
    
        public void test_getContent_maxAlphanum() {
            DocumentHelper documentHelper = new DocumentHelper() {
                protected int getMaxAlphanumTermSize() {
                    return 2;
                }
            };
    
            ResponseData responseData = new ResponseData();
            Map<String, Object> dataMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            @Test
            @DisplayName("Should return correct size of 24 bytes")
            void testSize() {
                // Given
                SrvCopychunk chunk = new SrvCopychunk(0, 0, 0);
    
                // When
                int size = chunk.size();
    
                // Then
                assertEquals(EXPECTED_SIZE, size);
            }
    
            @ParameterizedTest
            @DisplayName("Should return same size regardless of values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://host/\u0008").encodedPath).isEqualTo("/%08")
        assertThat(parse("http://host/\ufffd").encodedPath).isEqualTo("/%EF%BF%BD")
      }
    
      @Test
      fun usernameCharacters() {
        if (!isJvm) return // TODO: this test is broken on non-JVM platforms.
        UrlComponentEncodingTester
          .newInstance()
          .override(
            Encoding.PERCENT,
            '['.code,
            ']'.code,
            '{'.code,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
                public Iterator<String> iterator() {
                  return singleton("a").iterator();
                }
              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
                  }
                  return 25;
                }
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        exec = newCachedThreadPool();
    
        task.addListener(
            new Runnable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
                public Iterator<String> iterator() {
                  return singleton("a").iterator();
                }
              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        }
    
        boolean wasCalled() {
          return wasCalled;
        }
    
        void setKeyPrefix(String keyPrefix) {
          this.keyPrefix = keyPrefix;
        }
    
        void setValuePrefix(int valuePrefix) {
          this.valuePrefix = valuePrefix;
        }
    
        @Override
        public Integer load(String key) {
          wasCalled = true;
          return valuePrefix + Integer.parseInt(key.substring(keyPrefix.length()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(inputStream.read()).isEqualTo('B'.code)
        assertThat(inputStream.read()).isEqualTo('C'.code)
        try {
          inputStream.read() // if Content-Length was accurate, this would return -1 immediately
          fail<Any>()
        } catch (expected: SocketTimeoutException) {
        }
        val urlConnection2 = server.url("/").toUrl().openConnection()
        val in2 = urlConnection2.getInputStream()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            when(mockData.getExpiration()).thenReturn(System.currentTimeMillis() + 60000);
            when(mockData.getPathConsumed()).thenReturn(0);
            when(mockData.getDomain()).thenReturn("DOMAIN");
            return (DfsReferralDataImpl) base.combine(mockData);
        }
    
        @Nested
        @DisplayName("Interface Method Contract Tests")
        class InterfaceMethodTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top