Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 3,016 for jest (0.02 sec)

  1. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

        /**
         * Test the constructor of MsrpcQueryInformationPolicy.
         * It should correctly call the super constructor and set ptype and flags.
         */
        @Test
        @DisplayName("Constructor should initialize fields and call super constructor")
        void constructorTest() {
            short level = 1;
    
            // Create an instance of the class under test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                        "Error while attempting to shut down the service after failure.",
                        ignored);
              }
              notifyFailed(t);
              // requireNonNull is safe now, just as it was above.
              requireNonNull(runningTask).cancel(false); // prevent future invocations.
            } finally {
              lock.unlock();
            }
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            Path jarPath = tempDir.resolve("test-theme.jar");
            Files.createFile(jarPath);
    
            ThemeHelper mockThemeHelper = new ThemeHelper() {
                @Override
                protected Path getJarFile(Artifact artifact) {
                    return jarPath;
                }
            };
    
            Artifact artifact = new Artifact("fess-theme-test", "1.0.0");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            localLogMsg.remove();
        }
    
        public void test_setLoggerName() {
            String originalLoggerName = crawlerStatsHelper.loggerName;
            crawlerStatsHelper.setLoggerName("test.stats.logger");
            assertEquals("test.stats.logger", crawlerStatsHelper.loggerName);
            crawlerStatsHelper.setLoggerName(originalLoggerName);
        }
    
        public void test_setMaxCacheSize() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/foo");
    
            @Test
            void setup() {
                assertEquals(0, cmd.readSetupWireFormat(new byte[10], 0, 0));
            }
    
            @Test
            void parameters() {
                assertEquals(0, cmd.readParametersWireFormat(new byte[10], 0, 0));
            }
    
            @Test
            void data() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            exp = "test.txt";
            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
    
            url = "http://example.com/test%20+%2B.txt";
            exp = "test  +.txt";
            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
    
            url = "file://example.com/test%20+%2B.txt";
            exp = "test ++.txt";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.lang.reflect.Array;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class ArrayUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testAsArray() throws Exception {
            assertArrayEquals(new int[] { 1, 2 }, ArrayUtil.asIntArray(1, 2));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

        }
    
        @Test
        void testConstructor() {
            NetworkInterfaceInfo info = new NetworkInterfaceInfo(testAddress, 1000);
    
            assertEquals(testAddress, info.getAddress());
            assertEquals(1000, info.getLinkSpeed());
            assertFalse(info.isIpv6());
            assertEquals(0, info.getCapability());
        }
    
        @Test
        void testIPv6Constructor() throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            String params = "test";
            byte[] buffer = createBuffer(10, dataBytes, params);
    
            // Verify buffer structure
            assertTrue(buffer.length >= 14, "Buffer should contain header, params and data");
        }
    
        @Test
        public void testByteOperations() {
            // Test byte operations that were used in the original test
            byte b = (byte) 0xFF;
            int value = b & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.dcerpc.ndr.NdrBuffer;
    
    /**
     * Comprehensive test suite for jcifs.dcerpc.DcerpcBind class.
     * Tests DCE/RPC bind message functionality for MSRPC protocol compliance.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top