- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 3,107 for correct (0.05 seconds)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
@Test @DisplayName("Should create request with correct command type") void testConstructorSetsCorrectCommand() throws Exception { // Given Configuration mockConfig = mock(Configuration.class); // When Smb2TreeDisconnectRequest req = new Smb2TreeDisconnectRequest(mockConfig); // Then - verify command is set correctly using reflectionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
public void testAssertPropertyNotNull(String property) { assertPropertyNotNull(property); } } /** * Test serialVersionUID exists and has correct value */ @Test public void test_serialVersionUID() throws Exception { Field serialVersionField = FessLabels.class.getDeclaredField("serialVersionUID"); assertNotNull(serialVersionField);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0) -
.github/CONTRIBUTING.md
- Get working code on a personal branch with tests before you submit a PR. - OkHttp is a small and light dependency. Don't introduce new dependencies or major new functionality. - OkHttp targets the intersection of RFC correct *and* widely implemented. Incorrect implementations that are very widely implemented e.g. a bug in Apache, Nginx, Google, Firefox should also be handled. Before your code can be accepted into the project you must also sign the
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 17 04:16:26 GMT 2019 - 1.4K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacCredentialType.java
if (!isCredentialTypeCorrect()) { throw new PACDecodingException("Invalid PAC credential type"); } } /** * Validates whether the credential type data is correct. * @return true if the credential type is valid, false otherwise */ public boolean isCredentialTypeCorrect() { return this.credentialType != null && this.credentialType.length < MINIMAL_BUFFER_SIZE;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertSame(testRequestBuffer, requestBuffer); // Verify multiple calls return the same instance assertSame(requestBuffer, negotiation.getRequestRaw()); // Verify content is correct assertArrayEquals(new byte[] { 0x01, 0x02, 0x03, 0x04 }, requestBuffer); } @Test @DisplayName("getResponseRaw should return the same response buffer") void testGetResponseRaw() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
private Trans2GetDfsReferral trans2GetDfsReferral; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() throws Exception { // Given String filename = "\\\\server\\share\\file.txt"; // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
Optional<Integer> noMatch = findNtStatus(0xdeadbeef); assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent"); } @Test @DisplayName("Mocked consumer receives correct NTSTATUS value") void testConsumerInteraction() { final int dosErr = 0x00010001; final int expectedNt = 0xc0000002; interface NtStatusConsumer { void consume(int ntStatus);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
int timeout3 = delegatingConfig.getResponseTimeout(); // Then assertEquals(30000, timeout1, "First call should return correct value"); assertEquals(30000, timeout2, "Second call should return correct value"); assertEquals(30000, timeout3, "Third call should return correct value"); verify(mockDelegate, times(3)).getResponseTimeout(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
tests/non_std_test.go
} var animals []Animal DB.Find(&animals) if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) { t.Error("RowsAffected should be correct when do batch update") } animal = Animal{From: "somewhere"} // No name fields, should be filled with the default value (galeone)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
sb = new StringBuffer(); ace.appendCol(sb, "longer string", 5); assertEquals("longer string", sb.toString()); } @Test @DisplayName("Test getFlags returns correct value") void testGetFlags() { ace.flags = 0x00; assertEquals(0x00, ace.getFlags()); ace.flags = 0xFF; assertEquals(0xFF, ace.getFlags());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0)