Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 503 for toasts (0.04 sec)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            } catch (MalformedURLException e) {
                throw new AssertionError("Failed to create SMB URL: " + spec, e);
            }
        }
    
        // Utility to build a minimal locator for connect tests
        private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) {
            return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbConstantsTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SmbConstants interface constants
     */
    @DisplayName("SmbConstants Tests")
    class SmbConstantsTest extends BaseTest {
    
        @Test
        @DisplayName("Should define default connection constants")
        void testDefaultConstants() {
            assertEquals(445, SmbConstants.DEFAULT_PORT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/MIENameTest.java

            buf[i++] = (byte) (nameLen & 0xFF);
            // NAME
            System.arraycopy(nameBytes, 0, buf, i, nameLen);
            return buf;
        }
    
        // Provide a common OID for tests (Kerberos V5 mechanism OID encoded in DER)
        private static ASN1ObjectIdentifier testOid() {
            return new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
        }
    
        private static byte[] oidDer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/testing.md

    ///
    
    ## Разделение тестов и приложения
    
    В реальном приложении Вы, вероятно, разместите тесты в отдельном файле.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                    final int cost = chain.getCreditCost();
                    final CommonServerMessageBlockRequest next = chain.getNext();
                    if (log.isTraceEnabled()) {
                        log.trace(String.format("%s costs %d avail %d (%s)", chain.getClass().getName(), cost, this.credits.availablePermits(),
                                this.name));
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    					c.Fatalf("Error setting up openid providers for tests: %v", err)
    				}
    				suite.TestOpenIDSTSWithRolePolicy(c, testRoleARNs[0], testRoleMap[testRoleARNs[0]])
    				suite.TestOpenIDSTSWithRolePolicy(c, testRoleARNs[1], testRoleMap[testRoleARNs[1]])
    				suite.TestOpenIDServiceAccWithRolePolicy(c)
    				suite.TearDownSuite(c)
    			},
    		)
    	}
    }
    
    // Access Management Plugin tests
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb/SpnegoContextTest.java

    import org.mockito.ArgumentCaptor;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    
    /**
     * Tests for SpnegoContext focusing on delegation, error handling, and edge cases.
     */
    @ExtendWith(MockitoExtension.class)
    class SpnegoContextTest {
    
        @Mock
        Configuration config;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    import org.mockito.junit.jupiter.MockitoSettings;
    import org.mockito.quality.Strictness;
    
    /**
     * Tests for SmbTree interface.
     * This test class covers all methods of the SmbTree interface using Mockito for mocking.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbTreeTest {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. .github/workflows/maven.yml

            if: failure() || cancelled()
            with:
              name: ${{ github.run_number }}-full-build-artifact-${{ runner.os }}-${{ matrix.java }}
              path: '**/target/surefire-reports/*'
    
      integration-tests:
        needs: initial-build
        runs-on: ${{ matrix.os }}
        strategy:
          fail-fast: false
          matrix:
            os: [ubuntu-latest, macos-latest, windows-latest]
            java: ['17', '21', '24']
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Aug 25 07:07:00 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/testing.md

    Si quieres llamar a funciones `async` en tus pruebas además de enviar solicitudes a tu aplicación FastAPI (por ejemplo, funciones asincrónicas de bases de datos), echa un vistazo a las [Pruebas Asincrónicas](../advanced/async-tests.md){.internal-link target=_blank} en el tutorial avanzado.
    
    ///
    
    ## Separando pruebas
    
    En una aplicación real, probablemente tendrías tus pruebas en un archivo diferente.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top