- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for getResult (0.04 sec)
-
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
} private static final class ResultMsg extends TestMessage { void setResult(int r) { this.result = r; } } @Test void testGetResult() { ResultMsg m = new ResultMsg(); assertNull(m.getResult()); m.setResult(0xDEAD); DcerpcException e = m.getResult(); assertEquals(0xDEAD, e.getErrorCode()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
class ResultHandlingTests { @Test @DisplayName("getResult should return null when result is 0") void testGetResultSuccess() throws Exception { // Given setResultField(bind, 0); // When DcerpcException result = bind.getResult(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
assertEquals(NegTokenTarg.UNSPECIFIED_RESULT, nt.getResult(), "new object should have UNSPECIFIED_RESULT"); } @Test @DisplayName("serialization omits tags when field is null") void testSerializationOmittingNullFields() throws IOException { NegTokenTarg token = new NegTokenTarg(); token.setResult(NegTokenTarg.ACCEPT_INCOMPLETE); // mechanism, token and mic are left null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
} /** * Gets the negotiation result code * @return the result code */ public int getResult() { return this.result; } /** * Sets the negotiation result code * @param result the result code to set */ public void setResult(final int result) { this.result = result; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
} return true; } @Override public List<String> getResult() { return collector; } }; Files.readLines(temp, UTF_8, collectNonEmptyLines); assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world ").inOrder(); assertTrue(temp.delete()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
throw new SmbException("Server chose an unsupported mechanism " + targ.getMechanism()); } this.selectedMech = targ.getMechanism(); if (targ.getResult() == NegTokenTarg.REQUEST_MIC) { this.requireMic = true; } this.firstResponse = false;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
} return true; } @Override public List<String> getResult() { return collector; } }; Files.readLines(temp, UTF_8, collectNonEmptyLines); assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world ").inOrder(); assertTrue(temp.delete()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
class ResultManagementTests { @Test @DisplayName("getResult should return null for success (result=0)") void testGetResultSuccess() { message.result = 0; assertNull(message.getResult()); } @Test @DisplayName("getResult should return DcerpcException for non-zero result") void testGetResultError() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
this.flags |= flag; } /** * Get the result of the DCERPC call. * @return result exception, if the call failed */ public DcerpcException getResult() { if (this.result != 0) { return new DcerpcException(this.result); } return null; } void encode_header(final NdrBuffer buf) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
flags |= flag; } /** * Get the result of the DCERPC call. * @return result exception if the call failed, null otherwise */ public DcerpcException getResult() { if (result != 0) { return new DcerpcException(result); } return null; } void encode_header(final NdrBuffer buf) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0)