Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,660 for 2test (0.28 sec)

  1. src/test/java/jcifs/netbios/UniAddressTest.java

                assertFalse(UniAddress.isDotQuadIP(input));
            }
    
            @Test
            void shouldReturnTrueForInvalidOctetValues() {
                // isDotQuadIP does not validate octet values, only checks format
                assertTrue(UniAddress.isDotQuadIP("192.168.1.256"));
                assertTrue(UniAddress.isDotQuadIP("999.999.999.999"));
            }
    
            @Test
            void shouldThrowExceptionForNullInput() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            assertEquals("test", getQuery("", new String[] { "test" }, Collections.emptyMap(), Collections.emptyMap(), false));
            assertEquals("test (query1 OR query2)",
                    getQuery("", new String[] { "test", "query1 OR query2" }, Collections.emptyMap(), Collections.emptyMap(), false));
            assertEquals("(test || extra)",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun headers() {
        var headers: Headers = Headers.of("", "")
        headers = Headers.of(mapOf("" to ""))
        val size: Int = headers.size()
      }
    
      @Test @Disabled
      fun httpLoggingInterceptor() {
        val interceptor = HttpLoggingInterceptor()
        val level = interceptor.getLevel()
      }
    
      @Test @Disabled
      fun httpUrl() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .test();
      }
    
      public void testRoundToDouble_smallPositive() {
        new RoundToDoubleTester(BigDecimal.valueOf(16)).setExpectation(16.0, values()).test();
      }
    
      public void testRoundToDouble_maxPreciselyRepresentable() {
        new RoundToDoubleTester(BigDecimal.valueOf(1L << 53))
            .setExpectation(Math.pow(2, 53), values())
            .test();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        }
    
        @Test
        @DisplayName("Should get local host name")
        void testGetLocalName() {
            // When
            NetbiosName localName = nameServiceClient.getLocalName();
    
            // Then
            assertNotNull(localName, "Local name should not be null");
            assertTrue(localName.getName().length() > 0, "Local name should not be empty");
        }
    
        @Test
        @DisplayName("Should get unknown name")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("Test with various file ID patterns")
        void testWithVariousFileIdPatterns() {
            // Test with all zeros
            byte[] zeroFileId = new byte[16];
            Smb2CloseRequest zeroRequest = new Smb2CloseRequest(mockConfig, zeroFileId, testFileName);
            testFileIdInRequest(zeroRequest, zeroFileId);
    
            // Test with all ones
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            super.tearDown();
        }
    
        // Test creator initialization
        public void test_creatorInitialization() {
            assertNotNull(creator);
        }
    
        // Test with different mail configurations
        public void test_mailConfiguration() {
            FessConfig config = ComponentUtil.getFessConfig();
    
            assertEquals("Test Admin", config.getMailFromName());
            assertEquals("test@example.com", config.getMailFromAddress());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

        @Mock
        private NdrObject mockNdrObject;
    
        private MsrpcQueryInformationPolicy queryPolicy;
    
        @BeforeEach
        void setUp() {
            // Setup is done through individual test methods
        }
    
        @Test
        void constructor_shouldInitializeWithValidParameters() {
            // Arrange
            short level = 3;
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameTest.java

        void equals_withDifferentHexCode_shouldReturnFalse() {
            Name name1 = new Name(mockConfig, "TEST", 0x20, "scope");
            Name name2 = new Name(mockConfig, "TEST", 0x1C, "scope");
    
            assertFalse(name1.equals(name2));
        }
    
        @Test
        void equals_withDifferentScope_shouldReturnFalse() {
            Name name1 = new Name(mockConfig, "TEST", 0x20, "scope1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4_test.go

    		bytes.NewReader(fmt.Appendf(nil, "%4097d", 1)),
    		// Test - 4
    		bytes.NewReader([]byte("1000;chunk-signature=111123333333333333334444211\r\n")),
    	}
    	testCases := []testCase{
    		// Test - 1 - small bufio reader.
    		{
    			bufio.NewReaderSize(readers[0], 16),
    			errLineTooLong,
    			nil,
    			nil,
    		},
    		// Test - 2 - unexpected end of the reader.
    		{
    			bufio.NewReader(readers[1]),
    			io.ErrUnexpectedEOF,
    			nil,
    			nil,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top