Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 3,016 for jest (0.02 sec)

  1. guava-tests/test/com/google/common/primitives/DoublesTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (double value : VALUES) {
          assertThat(Doubles.hashCode(value)).isEqualTo(Double.hashCode(value));
        }
      }
    
      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testIsFinite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

    import javax.security.auth.login.LoginException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockedConstruction;
    import org.mockito.Mockito;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Test class for KerberosCredentials.
     */
    class KerberosCredentialsTest {
    
        @Mock
        private LoginContext loginContext;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SmbFile;
    
    class Trans2FindFirst2ResponseTest {
    
        private Trans2FindFirst2Response response;
    
        @BeforeEach
        void setUp() {
            response = new Trans2FindFirst2Response();
        }
    
        // Test cases for SmbFindFileBothDirectoryInfo inner class
        @Test
        void testSmbFindFileBothDirectoryInfo_Getters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

        }
    
        public void test_toString_withSpecialCharacters() {
            // Test toString with special characters
            String name = "special[]param";
            String[] values = { "[value]", ",comma,", "quote\"test" };
            RequestParameter param = new RequestParameter(name, values);
    
            String expected = "[special[]param, [[value], ,comma,, quote\"test]]";
            assertEquals(expected, param.toString());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    
    class PunycodeTest {
      /** https://datatracker.ietf.org/doc/html/rfc3492#section-7.1 */
      @Test fun rfc3492Samples() {
        // (A) Arabic (Egyptian)
        testEncodeDecode(
          unicode = "ليهمابتكلموشعربي؟",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

      }
    
      @Test
      fun portImplicitlyStarts() {
        assertThat(server.port).isGreaterThan(0)
      }
    
      @Test
      fun hostnameImplicitlyStarts() {
        assertThat(server.hostName).isNotNull()
      }
    
      @Test
      fun toProxyAddressImplicitlyStarts() {
        assertThat(server.toProxyAddress()).isNotNull()
      }
    
      @Test
      fun differentInstancesGetDifferentPorts() {
        val other = MockWebServer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    			if test.fault == MissingUploadID {
    				uploadID = "upload1"
    			}
    			// constructing a v4 signed HTTP request.
    			reqV4, err = newTestSignedRequestV4(http.MethodPut,
    				getPutObjectPartURL("", bucketName, test.objectName, uploadID, test.partNumber),
    				int64(len(test.content)), bytes.NewReader([]byte(test.content)), test.accessKey, test.secretKey, nil)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        public void test_stackTracePopulated() {
            // Test that stack trace is properly populated
            InvalidAccessTokenException exception = new InvalidAccessTokenException("JWT", "Invalid signature");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test method
            StackTraceElement firstElement = stackTrace[0];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    
    /**
     * Test MediaType API and parsing.
     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    open class MediaTypeTest {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/TransportTest.java

            }
    
            @Test
            @DisplayName("readn should throw IOException when buffer too short")
            void shouldThrowWhenBufferTooShort() {
                InputStream is = new ByteArrayInputStream("test".getBytes());
                assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top