Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 3,508 for should (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadInvalidStructureSize() {
                // Create buffer with invalid structure size
                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(23, buffer, 0); // Invalid size (should be 24)
    
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            innerBuilder.add(new TermQuery(new Term("content", "inner")), BooleanClause.Occur.SHOULD);
    
            BooleanQuery.Builder outerBuilder = new BooleanQuery.Builder();
            outerBuilder.add(innerBuilder.build(), BooleanClause.Occur.SHOULD);
            outerBuilder.add(new TermQuery(new Term("content", "outer")), BooleanClause.Occur.SHOULD);
            BooleanQuery nestedQuery = outerBuilder.build();
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ConfigTest.java

        }
    
        @Test
        @DisplayName("Should get integer property with default value")
        void testGetIntWithDefault() {
            assertEquals(123, Config.getInt(testProperties, "test.int", 0));
            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
        @DisplayName("Should get integer property")
        void testGetInt() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlTest.java

            }
    
            assertTrue("GET method should exist", hasGet);
            assertTrue("POST method should exist", hasPost);
            assertTrue("PUT method should exist", hasPut);
            assertTrue("DELETE method should exist", hasDelete);
            assertTrue("HEAD method should exist", hasHead);
            assertTrue("OPTIONS method should exist", hasOptions);
            assertTrue("TRACE method should exist", hasTrace);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacGroupTest.java

        @Test
        void testConstructor() {
            // Verify that the constructor correctly sets the id and attributes
            assertEquals(mockSid, pacGroup.getId(), "The SID should be correctly set in the constructor.");
            assertEquals(attributes, pacGroup.getAttributes(), "The attributes should be correctly set in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getId()}.
         */
        @Test
        void testGetId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. tests/joins_test.go

    		t.Fatalf("joins NamedPet and Account should not empty:%v", user1)
    	}
    
    	// Account should empty
    	DB.Delete(&user1.Account)
    
    	var user2 User
    	DB.Model(&User{}).Joins("NamedPet").Joins("Account").First(&user2, user.ID)
    	if user2.NamedPet == nil || user2.Account.ID != 0 {
    		t.Fatalf("joins Account should not empty:%v", user2)
    	}
    
    	// NamedPet should empty
    	DB.Delete(&user1.NamedPet)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbExceptionTest.java

        }
    
        @Test
        @DisplayName("Should preserve stack trace information")
        void testStackTracePreservation() {
            // When
            SmbException exception = new SmbException("Test exception");
    
            // Then
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Should contain this test method in stack trace
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    # Basic canonicalization, uppercase should be converted to lowercase
    file:c:\\foo\\bar.html file:///tmp/mock/path s:file p:/c:/foo/bar.html
    
    # Spaces should fail
    \s\sFile:c|////foo\\bar.html  s:file p:/c:////foo/bar.html
    
    # This should fail
    C|/foo/bar  s:file p:/C:/foo/bar
    
    # This should fail
    /C|\\foo\\bar  s:file p:/C:/foo/bar
    //C|/foo/bar  s:file p:/C:/foo/bar
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            assertNotNull("Mapping option should not be null", mappingOption);
            OptionalThing<JsonFieldNaming> fieldNamingOpt = mappingOption.getFieldNaming();
            assertTrue("Field naming should be present", fieldNamingOpt.isPresent());
            assertEquals("Field naming should be CAMEL_TO_LOWER_SNAKE", JsonFieldNaming.CAMEL_TO_LOWER_SNAKE, fieldNamingOpt.get());
        }
    
        public void test_instanceCreation() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NbtExceptionTest.java

    import jcifs.CIFSException;
    
    class NbtExceptionTest {
    
        /**
         * Test the constructor of NbtException.
         * It should correctly set errorClass and errorCode, and the message should be derived from getErrorString.
         */
        @Test
        @DisplayName("NbtException constructor should correctly set error class, error code, and message")
        void testConstructor() {
            int errorClass = NbtException.ERR_NAM_SRVC;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top