Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1601 - 1610 of 3,356 for xtest (0.03 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.xml.XmlNode;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    class ModelXmlTest {
    
        @Test
        void testXmlRoundtripWithProperties() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. tests/test_compat.py

        # class "feature"
        assert is_uploadfile_sequence_annotation(Union[list[str], list[UploadFile]])
    
    
    def test_serialize_sequence_value_with_optional_list():
        """Test that serialize_sequence_value handles optional lists correctly."""
        from fastapi._compat import v2
    
        field_info = FieldInfo(annotation=Union[list[str], None])
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class SRuntimeExceptionTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testSeasarRuntimeException() throws Exception {
            final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge"));
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
        platform.assumeHttp2Support()
      }
    
      @Test
      fun serverTruncatesRequestOnLongPostHttp1() {
        serverTruncatesRequestOnLongPost(https = false)
      }
    
      @Test
      fun serverTruncatesRequestOnLongPostHttp2() {
        enableProtocol(Protocol.HTTP_2)
        serverTruncatesRequestOnLongPost(https = true)
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. android-test-app/src/androidTest/kotlin/okhttp/android/testapp/IdnaTest.kt

     * limitations under the License.
     */
    package okhttp3.android
    
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.Assert.assertEquals
    import org.junit.Test
    
    class IdnaTest {
      @Test
      fun testHostnameFunction() {
        assertEquals("xn--n3h.net", "https://☃.net/robots.txt".toHttpUrl().host)
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Aug 03 19:38:06 GMT 2025
    - 869 bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

     * unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method
     * when the expected present count is correct.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNotSameAs
    import java.io.IOException
    import java.net.Proxy
    import java.security.cert.X509Certificate
    import java.time.Duration
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseSocket
    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers.Companion.headersOf
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_response_model/test_tutorial001_tutorial001_01.py

                "tags": [],
                "tax": None,
            },
        ]
    
    
    def test_create_item(client: TestClient):
        item_data = {
            "name": "Test Item",
            "description": "A test item",
            "price": 10.5,
            "tax": 1.5,
            "tags": ["test", "item"],
        }
        response = client.post("/items/", json=item_data)
        assert response.status_code == 200, response.text
        assert response.json() == item_data
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/projects/plugin-manager/project-contributing-system-scope-plugin-dep/pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.its.mng3586</groupId>
      <artifactId>test2</artifactId>
      <version>1.0</version>
    
      <name>Maven Integration Test :: MNG-3586</name>
      <description>
        Test that plugin dependencies with scope system are part of the plugin class realm.
      </description>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.its.plugins</groupId>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> test() {
        for (int run = 0; run < REPETITIONS; run++) {
          testItems();
          delegate.test();
        }
        return this;
      }
    
      private void testItems() {
        for (T item : items) {
          /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top