Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,907 for _shouldn (0.05 sec)

  1. 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)
  2. src/test/java/jcifs/ResolverTypeTest.java

            assertNotNull(ResolverType.RESOLVER_WINS, "RESOLVER_WINS should not be null.");
            assertNotNull(ResolverType.RESOLVER_BCAST, "RESOLVER_BCAST should not be null.");
            assertNotNull(ResolverType.RESOLVER_DNS, "RESOLVER_DNS should not be null.");
            assertNotNull(ResolverType.RESOLVER_LMHOSTS, "RESOLVER_LMHOSTS should not be null.");
        }
    
        /**
         * Tests the total number of enum constants.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(24, bytesDecoded, "Should decode exactly 24 bytes");
            assertEquals(0, response.getCapabilities(), "Capabilities should be zero");
            assertArrayEquals(new byte[16], response.getServerGuid(), "Server GUID should be all zeros");
            assertEquals(0, response.getSecurityMode(), "Security mode should be zero");
            assertEquals(0, response.getDialect(), "Dialect should be zero");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

        }
    
        /**
         * Test the writeParameterWordsWireFormat method.
         * This method should do nothing and return 0.
         */
        @Test
        void testWriteParameterWordsWireFormat() {
            byte[] dst = new byte[10];
            int dstIndex = 0;
            // The method should return 0 as it writes no parameter words
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_supportedAbsent() {
        assertEquals(
            "computeIfAbsent(notPresent, function) should return new value",
            v3(),
            getMap()
                .computeIfAbsent(
                    k3(),
                    k -> {
                      assertEquals(k3(), k);
                      return v3();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // When/Then: Should throw DcerpcException for invalid URLs
                assertThrows(DcerpcException.class, () -> DcerpcHandle.parseBinding(url));
            }
    
            @Test
            @DisplayName("Should handle binding URLs without endpoints correctly")
            void testParseBindingWithoutEndpoint() {
                // When/Then: URLs without proper endpoints should fail
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                }
            });
    
            MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
    
            // Should return early without doing anything
            try {
                notificationHelper.sendToSlack(null, discloser);
            } catch (Exception e) {
                fail("sendToSlack() should not throw an exception with blank URLs: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top