Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1261 - 1270 of 3,751 for Rtest (0.45 seconds)

  1. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the Trans2FindNext2 class.
     */
    class Trans2FindNext2Test {
    
        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

        }
    
        @Test
        void testReadParameterWordsWireFormat_InvalidDialect() {
            byte[] paramWords = new byte[2];
            paramWords[0] = 11; // dialectIndex > 10
    
            int bytesRead = response.readParameterWordsWireFormat(paramWords, 0);
    
            assertEquals(2, bytesRead);
            assertEquals(11, response.dialectIndex);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

      }
    
      @Test
      @Throws(IOException::class)
      fun http1DoesntSupportDuplex() {
        val call =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .post(AsyncRequestBody())
              .build(),
          )
        assertFailsWith<ProtocolException> {
          call.execute()
        }
      }
    
      @Test
      fun trueDuplexClientWritesFirst() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  4. cmd/erasure-object_test.go

    			if err != nil {
    				t.Fatal("dir/obj not found before last test")
    			}
    			_, actualErr := xl.DeleteObject(ctx, test.bucket, test.object, ObjectOptions{})
    			if test.expectedErr != nil && actualErr != test.expectedErr {
    				t.Errorf("Expected to fail with %s, but failed with %s", test.expectedErr, actualErr)
    			}
    			if test.expectedErr == nil && actualErr != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.3K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader.jsp

                    <div class="col-md-12">
                        <c:if test="${!displayCreateLink}">
                            <la:link href="../webconfig/" styleClass="btn btn-primary ${f:h(editableClass)}">
                                <la:message key="labels.reqheader_create_web_config"/>
                            </la:link>
                        </c:if>
                        <c:if test="${displayCreateLink}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

            .isInstanceOf<SSLSocketImpl>()
        }
      }
    
      @Test
      fun testSupportedProtocols() {
        val factory = SSLSocketFactoryImpl()
        val s = factory.createSocket() as SSLSocketImpl
    
        assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList())
      }
    
      @Test
      @Disabled
      fun testMozilla() {
        assumeNetwork()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            return new URL(null, spec, new Handler());
        }
    
        @Test
        @DisplayName("getConfig returns context config")
        void getConfig_returnsConfig() {
            SmbTreeConnection c = newConn();
            assertSame(config, c.getConfig());
        }
    
        @Test
        @DisplayName("acquire calls tree.acquire on first usage, release calls tree.release at zero")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. okhttp-coroutines/build.gradle.kts

      api(libs.square.okio)
      api(libs.kotlin.stdlib)
    
      testImplementation(libs.kotlin.test.annotations)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testApi(libs.assertk)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.kotlinx.coroutines.test)
      testImplementation(projects.mockwebserver3Junit5)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 792 bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java

            new Build().equals(new Build());
        }
    
        @Test
        void testEqualsIdentity() {
            Build thing = new Build();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Build().toString());
        }
    
        @Test
        public void testToStringNotNonsense() {
            Build build = new Build();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        }
    
        @Test
        @DisplayName("Should construct with delegate and credentials")
        void testConstructor() {
            // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper)
            // and the credentials. The delegate is tested implicitly by calling super's methods.
            // We can directly test getCredentials() to ensure it returns the initial credentials.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top