Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for expected_name (0.08 seconds)

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

  1. tests/test_request_params/test_path/test_required_str.py

            ),
        ],
    )
    def test_schema(path: str, expected_name: str, expected_title: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot(
            [
                {
                    "required": True,
                    "schema": {"title": Is(expected_title), "type": "string"},
                    "name": Is(expected_name),
                    "in": "path",
                }
            ]
        )
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 09 15:35:43 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            }
    
            boolean result = actualArch.equals(test);
    
            return reverse ? !result : result;
        }
    
        private boolean determineNameMatch(String expectedName, String actualName) {
            String test = expectedName.toLowerCase(Locale.ENGLISH);
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. 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)
  6. src/test/java/jcifs/SmbResourceTest.java

            void testGetName() throws CIFSException {
                // Given
                String expectedName = "test.txt";
                when(mockResource.getName()).thenReturn(expectedName);
    
                // When
                String name = mockResource.getName();
    
                // Then
                assertEquals(expectedName, name, "Should return correct name");
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            void testGetNameMethod() {
                byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8);
                CreateContextRequest request = mock(CreateContextRequest.class);
                when(request.getName()).thenReturn(expectedName);
    
                byte[] actualName = request.getName();
                assertArrayEquals(expectedName, actualName);
                verify(request, times(1)).getName();
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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