- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 3,508 for should (0.03 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java
public void testEquals_self() { assertTrue("An Object should be equal to itself.", collection.equals(collection)); } // Comparisons to null *are* defined. @SuppressWarnings("UndefinedEquals") public void testEquals_null() { // noinspection ObjectEqualsNull assertFalse("An object should not be equal to null.", collection.equals(null)); } // A collection should essentially never be equal to a non-collection.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Set a test time using reflection long testTime = System.currentTimeMillis(); setFieldValue(response, "lastWriteTime", testTime); // All time methods should return the same converted time long expectedTime = testTime + serverTimeZoneOffset; assertEquals(expectedTime, response.getCreateTime()); assertEquals(expectedTime, response.getLastWriteTime());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
assertTrue(messageBytes.length >= 12); // Message type should be 3 (little endian) assertEquals(3, messageBytes[8] & 0xFF); assertEquals(0, messageBytes[9] & 0xFF); assertEquals(0, messageBytes[10] & 0xFF); assertEquals(0, messageBytes[11] & 0xFF); } @Test @DisplayName("Should generate LM and NTLM responses") void testLMAndNTLMResponses() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmFlags.java
/** * Specifies that communication across the authenticated channel * should carry a digital signature (message integrity). */ int NTLMSSP_NEGOTIATE_SIGN = 0x00000010; /** * Specifies that communication across the authenticated channel * should be encrypted (message confidentiality). */ int NTLMSSP_NEGOTIATE_SEAL = 0x00000020; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value."); // Test case 2: Negative value int negativeValue = -54321; NdrLong ndrLongNegative = new NdrLong(negativeValue); assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value."); // Test case 3: Zero value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java
} } public void test_classStructure() { // Verify the class is generic final java.lang.reflect.TypeVariable<?>[] typeParameters = FessActionValidator.class.getTypeParameters(); assertEquals("Should have one type parameter", 1, typeParameters.length); assertEquals("Type parameter should be MESSAGES", "MESSAGES", typeParameters[0].getName());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
List<KerberosAuthData> result = KerberosAuthData.parse(unknownAuthType, emptyToken, mockKeys); // THEN the result should be an empty list assertNotNull(result, "The result should not be null."); assertTrue(result.isEmpty(), "The result should be empty for unknown auth types."); } /** * Test parsing of {@link KerberosConstants#AUTH_DATA_PAC} with an invalid token.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportTest.java
// Act CIFSContext result = smbTransport.getContext(); // Assert assertNotNull(result, "Context should not be null"); assertEquals(cifsContext, result, "Returned context should be the mocked context"); verify(smbTransport).getContext(); // Verify that the method was called } @Test void testUnwrap() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
"tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran); } }; SimpleTearDown tearDownTwo = new SimpleTearDown(callback); stack.addTearDown(tearDownTwo); assertEquals(false, tearDownOne.ran); assertEquals(false, tearDownTwo.ran); stack.runTearDown(); assertEquals("tearDownOne should have run", true, tearDownOne.ran);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
// Test Unicode configuration is enabled by default assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default"); } @Test public void testAsciiConfiguration() throws Exception { Configuration asciiCfg = new OffUnicodeConfig(); assertFalse(asciiCfg.isUseUnicode(), "Unicode should be disabled in ASCII config"); } @Test public void testUnicodeEncoding() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0)