Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 2,907 for xtest (0.02 sec)

  1. src/test/java/jcifs/util/InputValidatorTest.java

            assertDoesNotThrow(() -> InputValidator.validateBufferSize(0, 1000, "test"));
            assertDoesNotThrow(() -> InputValidator.validateBufferSize(1000, 1000, "test"));
        }
    
        @Test
        @DisplayName("Test invalid buffer size validation")
        void testInvalidBufferSize() {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

        class ConstructorTests {
    
            @Test
            @DisplayName("Should create response with configuration")
            void testConstructor() {
                Smb2WriteResponse writeResponse = new Smb2WriteResponse(mockConfig);
                assertNotNull(writeResponse);
                // Note: getConfig() is protected, cannot test directly
            }
    
            @Test
            @DisplayName("Should initialize count to zero")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

    package okhttp3
    
    import java.util.Locale
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import org.junit.jupiter.api.Test
    
    class MediaTypeJvmTest : MediaTypeGetTest() {
      override fun MediaType.charsetName(): String? = this.charset()?.name()
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-gwt/pom.xml

          <artifactId>guava-testlib</artifactId>
          <version>${project.version}</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>guava-testlib</artifactId>
          <version>${project.version}</version>
          <classifier>tests</classifier>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/NetbiosAddressTest.java

        @Test
        void testConstantValues() {
            // Test that constants are properly defined
            assertEquals("*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
                    NbtAddress.ANY_HOSTS_NAME);
            assertEquals("\u0001\u0002__MSBROWSE__\u0002", NbtAddress.MASTER_BROWSER_NAME);
            assertEquals("*SMBSERVER     ", NbtAddress.SMBSERVER_NAME);
    
            // Test node type constants
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertThrows(NullPointerException.class, () -> {
                reqWithNull.size();
            });
        }
    
        @Test
        @DisplayName("Should write consistent structure at different offsets")
        void testWriteBytesAtDifferentOffsets() throws Exception {
            // Test at different offsets
            int[] offsets = { 0, 10, 50, 100, 200 };
    
            for (int offset : offsets) {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import okhttp3.CacheControl.Companion.parse
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(0, cleaned);
            assertNotNull(leaseManager.getLease(key));
        }
    
        @Test
        @DisplayName("Should detect lease capabilities")
        void testLeaseCapabilities() {
            String path = "/share/file.txt";
    
            // Test full lease
            Smb2LeaseKey fullKey = leaseManager.requestLease(path + "1", Smb2LeaseState.SMB2_LEASE_FULL);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

        class ConstantsTest {
    
            @Test
            @DisplayName("Should have correct constant values for PreauthIntegrityNegotiateContext")
            void testPreauthConstants() {
                assertEquals(0x1, PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE);
                assertEquals(0x1, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. cmd/iam-object-store_test.go

    			"policydb/groups/", "cn=project/d,ou=groups,ou=swengg,dc=min,dc=io.json",
    		},
    	}
    	for i, test := range cases {
    		listKey, item := splitPath(test.path, test.secondIndex)
    		if listKey != test.expectedListKey || item != test.expectedItem {
    			t.Errorf("unexpected result on test[%v]: expected[%s, %s] but got [%s, %s]", i, test.expectedListKey, test.expectedItem, listKey, item)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top