Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for expected_name (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/NameServiceClientTest.java

        @Test
        void testGetLocalName() {
            // Arrange
            NetbiosName expectedName = mock(NetbiosName.class);
            when(nameServiceClient.getLocalName()).thenReturn(expectedName);
    
            // Act
            NetbiosName actualName = nameServiceClient.getLocalName();
    
            // Assert
            assertNotNull(actualName);
            assertEquals(expectedName, actualName);
            verify(nameServiceClient, times(1)).getLocalName();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
          if (expectedName.endsWith(".")) {
            expectedName = expectedName.substring(0, expectedName.length() - 1);
          }
    
          assertThat(domain.toString()).isEqualTo(expectedName);
        }
      }
    
      public void testPublicSuffixExclusion() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
          if (expectedName.endsWith(".")) {
            expectedName = expectedName.substring(0, expectedName.length() - 1);
          }
    
          assertThat(domain.toString()).isEqualTo(expectedName);
        }
      }
    
      public void testPublicSuffixExclusion() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            void testGetNameMethod() {
                byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8);
                CreateContextResponse response = mock(CreateContextResponse.class);
                when(response.getName()).thenReturn(expectedName);
    
                byte[] actualName = response.getName();
                assertArrayEquals(expectedName, actualName);
                verify(response, times(1)).getName();
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.position(22);
            String[] expectedNames = { "NAME1", "NAME2", "NAME3", "NAME4", "NAME5" };
            for (String name : expectedNames) {
                bb.put(name.getBytes(StandardCharsets.UTF_16LE));
                bb.putShort((short) 0);
            }
    
            referral.decode(testBuffer, 0, testBuffer.length);
    
            assertArrayEquals(expectedNames, referral.getExpandedNames());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

    /**
     * Tests for {@link Uninterruptibles}.
     *
     * @author Anthony Zana
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class UninterruptiblesTest extends TestCase {
      private static final String EXPECTED_TAKE = "expectedTake";
    
      /** Timeout to use when we don't expect the timeout to expire. */
      private static final long LONG_DELAY_MS = 2500;
    
      private static final long SLEEP_SLACK = 2;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

    /**
     * Tests for {@link Uninterruptibles}.
     *
     * @author Anthony Zana
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class UninterruptiblesTest extends TestCase {
      private static final String EXPECTED_TAKE = "expectedTake";
    
      /** Timeout to use when we don't expect the timeout to expire. */
      private static final long LONG_DELAY_MS = 2500;
    
      private static final long SLEEP_SLACK = 2;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
Back to Top