Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for testTest (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test read string length without termination throws exception")
            void testReadStringLengthNoTermination() {
                byte[] buffer = "TestTest".getBytes();
    
                assertThrows(RuntimeCIFSException.class, () -> {
                    testBlock.readStringLength(buffer, 0, 3);
                });
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(GenericsUtil.getGenericParameter(t2, 0), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
        public void testList() throws Exception {
            final Method m1 = ListType.class.getMethod("listOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, List.class), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

         */
        @Test
        public void testConcurrentTreeOperationsThreadSafe() throws Exception {
            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            int threadCount = 10;
            int opsPerThread = 100;
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/NameServiceClientTest.java

        }
    
        @Test
        void testGetNbtAllByAddress_StringIntString() throws UnknownHostException {
            // Arrange
            String host = "testHost";
            int type = 0x20;
            String scope = "testScope";
            NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class) };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/LmhostsTest.java

                writer.write("192.168.1.100 TESTHOST\n");
                writer.write("10.0.0.1      SERVER01\n");
            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // Test first host
            NbtAddress result = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result);
            assertEquals("TESTHOST", result.getHostName());
    
            // Test second host
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      public void testImmutableTable() {
        assertFreshInstance(new TypeToken<ImmutableTable<String, Integer, ImmutableList<String>>>() {});
      }
    
      public void testList() {
        assertFreshInstance(new TypeToken<List<String>>() {});
        assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {});
      }
    
      public void testArrayList() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NbtAddressTest.java

            // Test the constructor with minimal parameters
            mockName = new Name(mockConfig, "TESTHOST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    
            assertNotNull(nbtAddress);
            assertEquals("TESTHOST", nbtAddress.getHostName());
            assertArrayEquals(new byte[] { (byte) 192, (byte) 168, (byte) 1, (byte) 1 }, nbtAddress.getAddress());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        private SmbTransport transport;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Setup transport fields that are accessed directly
            transport.tconHostName = "testHost";
            // Setup session.transport field (accessed directly in SmbTree)
            session.transport = transport;
            // Setup session to return transport via method call
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/settings.md

    {* ../../docs_src/settings/app02_an_py39/main.py hl[17,19:21] *}
    
    ### Configurações e testes
    
    Então seria muito fácil fornecer uma configuração diferente durante a execução dos testes sobrescrevendo a dependência de `get_settings`:
    
    {* ../../docs_src/settings/app02/test_main.py hl[9:10,13,21] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. docs/pt/docs/features.md

    * Suporte a **WebSocket**.
    * Suporte a **GraphQL**.
    * Tarefas em processo _background_.
    * Eventos na inicialização e encerramento.
    * Cliente de testes construído sobre HTTPX.
    * Respostas em **CORS**, GZip, Static Files, Streaming.
    * Suporte a **Session e Cookie**.
    * 100% de cobertura de testes.
    * 100% do código utilizando _type annotations_.
    
    ## Recursos do Pydantic
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top