Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1101 - 1110 of 3,829 for test$ (0.09 seconds)

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

    import java.util.Objects;
    import java.util.stream.Stream;
    
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                assertFalse(result, "Should return false for invalid signature");
            }
    
            @Test
            @DisplayName("Should correctly verify signatures - regression test for inverted logic bug")
            void testVerifySignatureLogicRegression() throws Exception {
                // This test ensures the signature verification logic is not inverted
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      @Test
      public void equivalent_nodeSetsDiffer() {
        network.addNode(N1);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addNode(N2);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      @Test
      public void equivalent_nodeSetsDiffer() {
        network.addNode(N1);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addNode(N2);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.dcerpc.DcerpcConstants;
    import jcifs.dcerpc.rpc.policy_handle;
    
    /**
     * Tests for the {@link MsrpcLsarClose} class.
     */
    class MsrpcLsarCloseTest {
    
        private policy_handle mockHandle;
    
        @BeforeEach
        void setUp() {
            // Create a mock policy_handle for each test
            mockHandle = mock(policy_handle.class);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Test for logging configuration behavior in LookupInvoker.
     * This test verifies that the fix for GH-11199 works correctly.
     */
    class LookupInvokerLoggingTest {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         *
         * @throws Exception if any.
         */
        @Test
        public void testDotDot() throws Exception {
            assertNull(ReflectionValueExtractor.evaluate("h..value", new ValueHolder("value")));
        }
    
        /**
         * <p>testBadIndexedSyntax.</p>
         *
         * @throws Exception if any.
         */
        @Test
        public void testBadIndexedSyntax() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  8. 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)
  9. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

        }
    
        @Test
        void testConstructor() {
            // Test if the offsets are initialized correctly by the constructor.
            assertEquals(69, smbComNtTransaction.primarySetupOffset, "primarySetupOffset should be initialized to 69");
            assertEquals(51, smbComNtTransaction.secondaryParameterOffset, "secondaryParameterOffset should be initialized to 51");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

                    () -> listener.transferStarted(event(session, resource, TransferEvent.EventType.STARTED)));
        }
    
        @Test
        void handlesAbsentTransferSource() throws InterruptedException, TransferCancelledException {
            TransferResource resource = new TransferResource(null, null, "http://maven.org/test/test-resource", null, null);
    
            RepositorySystemSession session = Mockito.mock(RepositorySystemSession.class);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 5K bytes
    - Click Count (0)
Back to Top