Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 878 for Verify (0.32 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java

            assertEquals(MsrpcSamrCloseHandle.DCERPC_FIRST_FRAG | MsrpcSamrCloseHandle.DCERPC_LAST_FRAG, msrpcSamrCloseHandle.getFlags(),
                    "flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
            // Verify that the super constructor was called with the correct handle.
            // This is implicitly tested by the object being created without error and
            // the fields set by the constructor being correct.
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

        void testConstructor() {
            // Given & When
            Smb2LockResponse lockResponse = new Smb2LockResponse(mockConfig);
    
            // Then
            assertNotNull(lockResponse);
            // Verify it's an instance of ServerMessageBlock2Response
            assertTrue(lockResponse instanceof jcifs.internal.smb2.ServerMessageBlock2Response);
        }
    
        @Test
        @DisplayName("Constructor should handle null configuration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        }
    
        manualExecutorTask[0].run();
    
        for (Future<?> result : results) {
          if (!result.isCancelled()) {
            result.get(10, SECONDS);
          }
          // TODO(cpovirk): Verify that the cancelled futures are exactly ones that we expect.
        }
    
        assertThat(logHandler.getStoredLogRecords()).isEmpty();
      }
    
      public void testAvoidsStackOverflow_manySubmitted() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            @Test
            @DisplayName("Should handle response as part of ServerMessageBlock2")
            void testAsServerMessageBlock2Response() {
                // Verify inheritance
                assertTrue(response instanceof ServerMessageBlock2);
    
                // Verify command can be retrieved from parent
                assertEquals(0, response.getCommand());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. .github/workflows/maven.yml

            run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper "-Dmaven=4.0.0-rc-3"
    
          - name: Build Maven distributions
            shell: bash
            run: ./mvnw verify -e -B -V
    
          - name: List contents of target directory
            shell: bash
            run: ls -la apache-maven/target
    
          - name: Upload Maven distributions
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Aug 25 07:07:00 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/Derived.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Simple derived class to verify that we handle generics correctly. */
    @GwtCompatible
    @NullUnmarked
    class Derived extends Base {
      public Derived(String s) {
        super(s);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

              multimap.putAll("bar", asList(4, 5));
              multimap.put("foo", 6);
              return multimap.entries().listIterator(startIndex);
            }
    
            @Override
            protected void verify(List<Entry<String, Integer>> elements) {
              assertEquals(elements, multimap.entries());
            }
          }.test();
        }
      }
    
      @GwtIncompatible // unreasonably slow
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.ArgumentMatchers.isNull;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        list.add(new MockRunnable(countDownLatch), exec);
        list.add(new MockRunnable(countDownLatch), exec);
        assertEquals(3L, countDownLatch.getCount());
    
        list.execute();
    
        // Verify that all of the runnables execute in a reasonable amount of time.
        assertTrue(countDownLatch.await(1L, SECONDS));
      }
    
      public void testExecute_idempotent() {
        AtomicInteger runCalled = new AtomicInteger();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            String msg = "\u00A1\u00A2"; // two Unicode characters
            byte[] encoded = encodeUnicode(msg);
            assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes");
    
            // Verify little-endian encoding
            assertEquals((byte) 0xA1, encoded[0], "First byte of first character");
            assertEquals((byte) 0x00, encoded[1], "Second byte of first character");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top