Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 817 for Given (0.21 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            response = new Smb2TreeConnectResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Should create response with configuration")
        void testConstructorWithConfiguration() {
            // Given & When
            Smb2TreeConnectResponse resp = new Smb2TreeConnectResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            }
    
            @Test
            @DisplayName("Package constructor should initialize with binding and handle")
            void testPackageConstructor() throws Exception {
                // Given
                int maxXmit = 4096;
                int maxRecv = 4096;
                when(mockHandle.getMaxXmit()).thenReturn(maxXmit);
                when(mockHandle.getMaxRecv()).thenReturn(maxRecv);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // Given
            when(request.split()).thenReturn(null);
    
            // When
            CommonServerMessageBlockRequest result = request.split();
    
            // Then
            assertNull(result);
            verify(request, times(1)).split();
        }
    
        @Test
        @DisplayName("Test size returns positive message size")
        void testSizeReturnsPositiveValue() {
            // Given
            int expectedSize = 1024;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/ITBase.java

            if (testToken != null) {
                return;
            }
            given().contentType("application/json").delete(getEsUrl() + "/fess_config.access_token/_doc/" + DEFAULT_TEST_TOKEN_ID);
        }
    
        public static void refresh() {
            given().contentType("application/json").post(getEsUrl() + "/_refresh");
        }
    
        public static String getFessUrl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTransportPoolTest.java

        class GetSmbTransportTests {
    
            @Test
            @DisplayName("Should get transport by name with default parameters")
            void testGetSmbTransportByName() throws UnknownHostException, IOException {
                // Given
                when(transportPool.getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false)).thenReturn(transport);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/HexdumpTest.java

     */
    @DisplayName("Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert byte array to hex string")
        void testToHexString() {
            // Given
            byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 };
    
            // When
            String result = Hexdump.toHexString(data);
    
            // Then
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        private static final String ALGORITHM_NAME = "AES-256-GCM";
    
        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
            // Given & When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException();
    
            // Then
            assertNull(exception.getMessage(), "Default constructor should have null message");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              ;
            }
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
      /** getAndSet returns previous value and sets to given value at given index */
      public void testGetAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
          for (double x : VALUES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/rpcTest.java

        @Nested
        @DisplayName("UUID Tests")
        class UuidTests {
    
            @Test
            @DisplayName("Should encode UUID correctly")
            void testUuidTEncode() throws NdrException {
                // Given: A UUID with test values
                rpc.uuid_t uuid = new rpc.uuid_t();
                uuid.time_low = 0x12345678;
                uuid.time_mid = (short) 0x9ABC;
                uuid.time_hi_and_version = (short) 0xDEF0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSink.java

      }
    
      /**
       * Writes the given character sequence to this sink.
       *
       * @throws IOException if an I/O error while writing to this sink
       */
      public void write(CharSequence charSequence) throws IOException {
        checkNotNull(charSequence);
    
        try (Writer out = openStream()) {
          out.append(charSequence);
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top