Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for testClass (0.22 sec)

  1. src/test/java/jcifs/config/PropertyConfigurationTest.java

            Properties props = new Properties();
            // Set some default test properties
            props.setProperty("jcifs.smb.client.username", "testuser");
            props.setProperty("jcifs.smb.client.password", "testpass");
            props.setProperty("jcifs.smb.client.domain", "testdomain");
            props.setProperty("jcifs.netbios.hostname", "testhost");
            props.setProperty("jcifs.netbios.scope", "");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Then
            assertEquals(messageSize, transformHeader.getOriginalMessageSize());
        }
    
        @Test
        @DisplayName("Should set and get flags")
        void testFlags() {
            // Given
            int flags = 0x0001; // Encrypted flag
    
            // When
            transformHeader.setFlags(flags);
    
            // Then
            assertEquals(flags, transformHeader.getFlags());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

        assertEquals(a, sortedSet.last());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
        assertEquals(c, sortedSet.last());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

        // Test getLoginCredential method
        public void test_getLoginCredential_returnsValidCredential() {
            // Setup test credential
            TestLoginCredential expectedCredential = new TestLoginCredential("testuser", "testpass");
            authenticator.setLoginCredential(expectedCredential);
    
            // Execute
            LoginCredential result = authenticator.getLoginCredential();
    
            // Verify
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            assertNull(sslSocketFactory);
        }
    
        public void test_request_withBasicAuth() {
            setupMockConfig("localhost:9200", "testuser", "testpass");
    
            curlHelper.init();
    
            CurlRequest request = new CurlRequest(Curl.Method.GET, "http://localhost:9200/test");
            CurlRequest processedRequest = callProtectedRequest(curlHelper, request);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            when(mockDelegate.getDefaultDomain()).thenReturn("WORKGROUP");
            when(mockDelegate.getDefaultUsername()).thenReturn("testuser");
            when(mockDelegate.getDefaultPassword()).thenReturn("testpass");
            when(mockDelegate.getNativeLanman()).thenReturn("jCIFS");
    
            // When
            String oemEncoding = delegatingConfig.getOemEncoding();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            // Configure authentication - set fields directly since NtlmPasswordAuthentication is final
            mockAuth.username = "testuser";
            mockAuth.domain = "TESTDOMAIN";
            mockAuth.password = "testpass";
    
            when(mockAuth.getAnsiHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getUnicodeHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getName()).thenReturn("testuser");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(null, navigableMap.higherEntry(c.getKey()));
        assertEquals(null, navigableMap.higherKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
        assertEquals(c, navigableMap.lastEntry());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollLast() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(null, navigableMap.higherEntry(c.getKey()));
        assertEquals(null, navigableMap.higherKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
        assertEquals(c, navigableMap.lastEntry());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollLast() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top