Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 3,380 for Rtest (0.02 seconds)

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

            boolean getHasMore() {
                return hasMore;
            }
        }
    
        @Test
        public void hasMoreElements_initially_returnsTrue() {
            DummyResponse d = new DummyResponse();
            assertTrue(d.hasMoreElements(), "With default values hasMoreElements should be true");
        }
    
        @Test
        public void hasMoreElements_errorCodeNonZero_returnsFalse() {
            DummyResponse d = new DummyResponse();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            }
        }
    
        @Test
        void testConstructorWithUnrecognizedField() throws IOException, GeneralSecurityException {
            // Test with an unrecognized field in the ticket
            // Note: In the actual implementation, field 99 would come after mandatory fields,
            // so decryption happens first. We test with a mocked successful decryption.
    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)
  3. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @BeforeEach
        void setUp() {
            smb = new TestServerMessageBlock();
        }
    
        @Test
        void testInt2ReadWrite() {
            byte[] buffer = new byte[2];
            ServerMessageBlock.writeInt2(0x1234, buffer, 0);
            assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0));
        }
    
        @Test
        void testInt4ReadWrite() {
            byte[] buffer = new byte[4];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

            if (returned != null) {
                assertEquals(url, returned.toString());
            }
    
            // Test that getAddress returns null for our dummy implementation
            assertNull(loc.getAddress());
        }
    
        @Test
        @DisplayName("Test DFS referral data")
        void testDfsReferralData() throws Exception {
            String url = "smb://server/share/path/";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

    import java.util.Collection;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalCollection}.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalCollectionTest extends TestCase {
      public static Test suite() {
        return CollectionTestSuiteBuilder.using(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. docs/tr/docs/advanced/async-tests.md

    `TestClient`, standart pytest kullanarak normal `def` test fonksiyonlarınızın içinden asenkron FastAPI uygulamasını çağırmak için içeride bazı “sihirli” işlemler yapar. Ancak bu sihir, onu asenkron fonksiyonların içinde kullandığımızda artık çalışmaz. Testlerimizi asenkron çalıştırdığımızda, test fonksiyonlarımızın içinde `TestClient` kullanamayız.
    
    `TestClient`, [HTTPX](https://www.python-httpx.org) tabanlıdır ve neyse ki API'yi test etmek için HTTPX'i doğrudan kullanabiliriz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

                  "sun.misc.Unsafe",
                  AtomicReferenceFieldUpdater.class.getName()));
    
      public static TestSuite suite() {
        // we create a test suite containing a test for every AbstractFutureTest test method and we
        // set it as the name of the test.  Then in runTest we can reflectively load and invoke the
        // corresponding method on AbstractFutureTest in the correct classloader.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

    import java.util.List;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for DirectoryCacheEntry
     */
    public class DirectoryCacheEntryTest {
    
        private DirectoryCacheEntry entry;
        private Smb2LeaseKey leaseKey;
        private String directoryPath = "/test/dir";
    
        @BeforeEach
        public void setUp() {
            leaseKey = new Smb2LeaseKey();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  9. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import kotlin.time.Duration.Companion.seconds
    import kotlinx.coroutines.CancellationException
    import kotlinx.coroutines.Dispatchers
    import kotlinx.coroutines.TimeoutCancellationException
    import kotlinx.coroutines.coroutineScope
    import kotlinx.coroutines.job
    import kotlinx.coroutines.supervisorScope
    import kotlinx.coroutines.test.runTest
    import kotlinx.coroutines.withContext
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

    package org.apache.maven.cli.transfer;
    
    import org.apache.maven.cli.transfer.FileSizeFormat.ScaleUnit;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    @Deprecated
    class FileSizeFormatTest {
    
        @Test
        void testNegativeSize() {
            FileSizeFormat format = new FileSizeFormat();
    
            long negativeSize = -100L;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top