Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 3,016 for jest (0.02 sec)

  1. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testIntWriteBytesTo() {
        byte[] dest = new byte[4];
        HashCode.fromInt(42).writeBytesTo(dest, 0, 4);
        assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest));
      }
    
      public void testLongWriteBytesTo() {
        byte[] dest = new byte[8];
        HashCode.fromLong(42).writeBytesTo(dest, 0, 8);
        assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/HandlerTest.java

            return new Handler(ctx);
        }
    
        @Test
        @DisplayName("getDefaultPort returns SMB default port")
        void testGetDefaultPort() {
            // Arrange
            Handler handler = newHandler();
            // Act & Assert
            assertEquals(SmbConstants.DEFAULT_PORT, handler.getDefaultPort(), "Default port should match SmbConstants");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("title", "Test Document 1");
            doc1.put("content", "Test content 1");
            documentItems.add(doc1);
    
            Map<String, Object> doc2 = new HashMap<>();
            doc2.put("title", "Test Document 2");
            doc2.put("content", "Test content 2");
            documentItems.add(doc2);
    
            searchRenderData.setDocumentItems(documentItems);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

            // Test with null properties
            assertTrue(Features.deployBuildPom(null));
        }
    
        @Test
        void testDeployBuildPomWithStringTrue() {
            // Test with string "true"
            Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "true");
            assertTrue(Features.deployBuildPom(properties));
        }
    
        @Test
        void testDeployBuildPomWithStringFalse() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords_details.jsp

                    <c:if test="${crudMode==2 || crudMode==3 || crudMode==4}">
                        <la:hidden property="id"/>
                    </c:if>
                    <div class="row">
                        <div class="col-md-12">
                            <div
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 7.2K bytes
    - Viewed (0)
  8. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import kotlin.time.Duration.Companion.seconds
    import kotlinx.coroutines.CancellationException
    import kotlinx.coroutines.Dispatchers
    import kotlinx.coroutines.TimeoutCancellationException
    import kotlinx.coroutines.coroutineScope
    import kotlinx.coroutines.job
    import kotlinx.coroutines.supervisorScope
    import kotlinx.coroutines.test.runTest
    import kotlinx.coroutines.withContext
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/BaseConfigurationTest.java

        }
    
        @Test
        @DisplayName("Test getBatchLimit method")
        void testGetBatchLimit() {
            // Test default batch limit
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
    
            // Test unspecified batch limit
            assertEquals(1, config.getBatchLimit("UnknownCommand"));
    
            // Test caching behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NbtAddressTest.java

        }
    
        @Test
        void testGetName() {
            // Test getName method
            mockName = new Name(mockConfig, "TEST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            assertSame(mockName, nbtAddress.getName());
        }
    
        @Test
        void testGetAddress() {
            // Test getAddress for correct byte array conversion
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top