- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 4,822 for Void (0.08 seconds)
-
src/test/java/jcifs/smb/SpnegoContextTest.java
void testGetFlagsDelegates() { SpnegoContext ctx = newContext(); when(this.mechContext.getFlags()).thenReturn(0xCAFE); assertEquals(0xCAFE, ctx.getFlags()); verify(this.mechContext, times(1)).getFlags(); } @Test @DisplayName("dispose delegates to underlying mechanism context") void testDisposeDelegates() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
return nextBlock; } @Override public void setNext(ServerMessageBlock2 next) { this.nextBlock = next; } // Helper methods to manipulate parent's private fields via reflection or protected methods public void setStatusForTest(int status) { // Workaround: Use reflection to set private status field try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
private NtTransNotifyChangeResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); response = new NtTransNotifyChangeResponse(mockConfig); } @Test @DisplayName("Test constructor creates instance with empty notification list") void testConstructor() { assertNotNull(response); assertNotNull(response.getNotifyInformation());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
assertTrue(osddHelper.hasOpenSearchFile()); } @Test public void test_setOsddPath() { final OsddHelper osddHelper = new OsddHelper(); osddHelper.setOsddPath("test/path/osdd.xml"); assertEquals("test/path/osdd.xml", osddHelper.osddPath); } @Test public void test_setEncoding() { final OsddHelper osddHelper = new OsddHelper();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
@Test @DisplayName("Textual constructor null throws NullPointerException") void testTextualConstructorNull() { assertThrows(NullPointerException.class, () -> new SID((String) null)); } @Test @DisplayName("Binary constructor happy path and round-trip via toByteArray") void testBinaryConstructorAndToByteArray() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
@CollectionSize.Require(absent = ZERO) public void testAddAtIndex_supportedPresent() { getList().add(0, e0()); expectAdded(0, e0()); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) /* * absent = ZERO isn't required, since unmodList.add() must * throw regardless, but it keeps the method name accurate. */ public void testAddAtIndex_unsupportedPresent() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
public class ResponseTest { @Mock private Response mockResponse; @BeforeEach void setUp() { // Reset mock before each test to ensure clean state // MockitoExtension handles this automatically for @Mock fields, but good to be aware. } @Test void testIsReceived() { // Test initial state (should be false by default for a fresh mock)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsJobLogCB.java
public void columnId() { doColumn("_id"); } public void columnEndTime() { doColumn("endTime"); } public void columnJobName() { doColumn("jobName"); } public void columnJobStatus() { doColumn("jobStatus"); } public void columnLastUpdated() { doColumn("lastUpdated");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsPathMappingCB.java
public void columnId() { doColumn("_id"); } public void columnCreatedBy() { doColumn("createdBy"); } public void columnCreatedTime() { doColumn("createdTime"); } public void columnProcessType() { doColumn("processType"); } public void columnRegex() { doColumn("regex");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
public void testOf0() { assertThat(ImmutableIntArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableIntArray.of(0).asList()).containsExactly(0); } public void testOf2() { assertThat(ImmutableIntArray.of(0, 1).asList()).containsExactly(0, 1).inOrder(); } public void testOf3() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.2K bytes - Click Count (0)