Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 1,431 for testUsing (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            assertTrue(conn instanceof Handler.GcsURLConnection);
            Handler.GcsURLConnection gcsConn = (Handler.GcsURLConnection) conn;
    
            // Use reflection to access private fields for testing
            assertEquals("mybucket", getField(gcsConn, "bucketName"));
            assertEquals("path/to/object.txt", getField(gcsConn, "objectName"));
        }
    
        /**
         * Test URL parsing with bucket only (no object path).
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         */
        @Test
        void testSuccessfulHandshake() throws IOException, SecurityException {
            // This test is simplified to verify basic handshake behavior
            // Full NTLM handshake testing would require more complex mocking
    
            // Arrange - Mock a server that supports NTLM
            mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.testing
    
    import android.os.Build
    import com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider
    import com.amazon.corretto.crypto.provider.SelfTestStatus
    import java.lang.reflect.Method
    import java.security.Security
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  4. src/test/java/jcifs/SmbWatchHandleTest.java

        }
    
        /**
         * Test call() method as Callable in executor service
         */
        @Test
        void testCallAsCallable() throws Exception {
            // Create a real implementation for testing Callable behavior
            SmbWatchHandle realHandle = new SmbWatchHandle() {
                private int callCount = 0;
    
                @Override
                public List<FileNotifyInformation> watch() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  5. src/test/java/jcifs/internal/RequestTest.java

        }
    
        @Test
        @DisplayName("Test Request with concrete implementation")
        void testConcreteImplementation() {
            // Create a concrete implementation for testing
            TestRequest testRequest = new TestRequest();
    
            // Test initResponse
            CommonServerMessageBlockResponse testResponse = testRequest.initResponse(context);
            assertNotNull(testResponse);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okhttp3.internal.closeQuietly
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import org.bouncycastle.tls.TlsFatalAlert
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        assertEquals(1, numCalls.get());
      }
    
      /*
       * Under Android, MyError propagates up and fails the test?
       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
       * sees an Error?
       */
      @AndroidIncompatible
      public void testTaskThrowsError() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static junit.framework.Assert.assertTrue;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. docs/ru/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    Прочитайте его, чтобы лучше понять, что изменилось.
    
    ## Тесты { #tests }
    
    Убедитесь, что у вас есть [тесты](../tutorial/testing.md){.internal-link target=_blank} для вашего приложения и что вы запускаете их в системе непрерывной интеграции (CI).
    
    Так вы сможете выполнить обновление и убедиться, что всё работает как ожидается.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 10 20:54:56 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.internal.Finalizer;
    import com.google.common.collect.Sets;
    import com.google.common.testing.GcFinalization;
    import java.io.Closeable;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.lang.ref.Cleaner;
    import java.lang.ref.Cleaner.Cleanable;
    import java.lang.ref.Reference;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top