Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 3,084 for shouldn (0.04 sec)

  1. 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)
  2. 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)
  3. tests/upsert_test.go

    	}
    
    	if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil {
    		t.Errorf("no error should happen when find languages with code, but got %v", err)
    	} else if len(langs) != 1 {
    		t.Errorf("should only find only 1 languages, but got %+v", langs)
    	} else if langs[0].Name != "upsert-new" {
    		t.Errorf("should update name on conflict, but got name %+v", langs[0].Name)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. docs/en/docs/management-tasks.md

    * There should be tests testing the source example.
    * Before the PR is applied, the new tests should fail.
    * After applying the PR, the new tests should pass.
    * Coverage should stay at 100%.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        assertFalse(
            "removeAll(emptyCollection) should return false",
            collection.removeAll(MinimalCollection.of()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAll_nonePresent() {
        assertFalse(
            "removeAll(disjointCollection) should return false",
            collection.removeAll(MinimalCollection.of(e3())));
        expectUnchanged();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            // Should alternate between channels
            ChannelInfo first = loadBalancer.selectChannel(mockMessage);
            ChannelInfo second = loadBalancer.selectChannel(mockMessage);
    
            assertNotNull(first);
            assertNotNull(second);
            // Due to round-robin, should get different channels or same order
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbConstantsTest.java

                    assertEquals(0, attributes[i] & attributes[j], "Attributes should not overlap in bit patterns");
                }
            }
        }
    
        @Test
        @DisplayName("Should have resource types with power-of-2 values")
        void testResourceTypeBitPatterns() {
            // Resource types should be powers of 2 for bit flag usage
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTransportPoolTest.java

        @BeforeEach
        void setUp() {
            // Common setup for all tests
        }
    
        @Nested
        @DisplayName("GetSmbTransport Methods")
        class GetSmbTransportTests {
    
            @Test
            @DisplayName("Should get transport by name with default parameters")
            void testGetSmbTransportByName() throws UnknownHostException, IOException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            // 1. Class should be final (or have private constructor)
            Constructor<?>[] constructors = SystemUtil.class.getDeclaredConstructors();
            assertEquals("Should have exactly one constructor", 1, constructors.length);
            assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers()));
    
            // 2. All methods should be static
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException();
    
            // Assert - message and cause are null
            assertNull(ex.getMessage(), "Default constructor should have null message");
            assertNull(ex.getCause(), "Default constructor should have null cause");
    
            // Assert - toString shows class name when message is null
            assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top