Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for testSalt (0.14 seconds)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Mock random for predictable salt generation
            doAnswer(invocation -> {
                byte[] buffer = invocation.getArgument(0);
                System.arraycopy(testSalt, 0, buffer, 0, Math.min(buffer.length, testSalt.length));
                return null;
            }).when(mockRandom).nextBytes(any(byte[].class));
        }
    
        @Test
        @DisplayName("Should create request with default settings")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

        class PreauthIntegrityNegotiateContextTest {
    
            private PreauthIntegrityNegotiateContext context;
            private byte[] testSalt;
            private int[] testHashAlgos;
    
            @BeforeEach
            void setUp() {
                testSalt = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
                testHashAlgos = new int[] { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 };
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_number_mismatch.py

        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_lt.md")],
        indirect=True,
    )
    def test_lt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 1
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  4. scripts/tests/test_translation_fixer/test_html_links/test_html_links_number_mismatch.py

        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_lt.md")],
        indirect=True,
    )
    def test_lt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        # assert result.exit_code == 1, result.output
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/test_markdown_links/test_mkd_links_number_mismatch.py

        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_lt.md")],
        indirect=True,
    )
    def test_lt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        # assert result.exit_code == 1, result.output
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_lines_number_mismatch.py

        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_lines_number_lt.md")],
        indirect=True,
    )
    def test_lt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        # assert result.exit_code == 1, result.output
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_code_includes/test_number_mismatch.py

        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_lt.md")],
        indirect=True,
    )
    def test_lt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 1
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_number_mismatch.py

        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_lt.md")],
        indirect=True,
    )
    def test_lt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        # assert result.exit_code == 1, result.output
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

    import java.util.Iterator;
    
    import org.junit.Test;
    
    /**
     * @author taichi
     */
    public class LruHashMapTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testAll() throws Exception {
            final LruHashMap<String, String> lru = new LruHashMap<String, String>(3);
            lru.put("aaa", "111");
            lru.put("bbb", "222");
            lru.put("ccc", "333");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
        assertEquals(c.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testHeadMapExclusive() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
Back to Top