- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 870 for contexts (0.34 sec)
-
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 {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader()))); final ClassLoader context = Thread.currentThread().getContextClassLoader(); try { final ClassLoader cl = new URLClassLoader(new URL[0], getClass().getClassLoader()); Thread.currentThread().setContextClassLoader(cl);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
builder.add(-1); Object[] prevArray = null; for (int i = 0; i < 10; i++) { builder.add(i); assertNotSame(builder.contents, prevArray); prevArray = builder.contents; ImmutableSet<Integer> unused = builder.build(); } } @GwtIncompatible("Builder impl") public void testPresizedBuilderDedups() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
@Test void testDoFile() throws Exception { initializeNetworkExplorer(false, "jCIFS"); // Setup mock file with minimal required behavior String content = "File content for testing"; byte[] contentBytes = content.getBytes(); when(smbFile.length()).thenReturn((long) contentBytes.length); when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
// Create reconnect context DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.getFileId()); // This would typically involve: // 1. Creating a new Smb2CreateRequest with reconnect context // 2. Adding lease context if needed // 3. Sending the request through the appropriate transport
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
verify(mockContext).withDefaultCredentials(); } @Test @DisplayName("Should get context with anonymous credentials") void testWithAnonymousCredentials() { // Given CIFSContext newContext = mock(CIFSContext.class); when(mockContext.withAnonymousCredentials()).thenReturn(newContext); // When CIFSContext context = mockContext.withAnonymousCredentials();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java
import jcifs.Decodable; /** * SMB2 Create Context response interface. This interface defines the contract for * context data returned in SMB2 Create responses. * * @author mbechler * */ public interface CreateContextResponse extends Decodable { /** * Get the name of this create context. * @return context name as byte array */ byte[] getName();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
QueryContext context = buildQuery("test"); assertEquals(2, context.sortBuilders().size()); } public void test_addDefaultSort_scoreField() { queryHelper.addDefaultSort("_score", "DESC"); QueryContext context = buildQuery("test"); assertEquals(1, context.sortBuilders().size()); assertTrue(context.sortBuilders().get(0).toString().contains("_score"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
FessWebResourceRoot.class.getName()); // Verify constructor exists with Context parameter try { FessWebResourceRoot.class.getConstructor(Context.class); assertTrue("Constructor with Context parameter exists", true); } catch (final NoSuchMethodException e) { fail("Constructor with Context parameter should exist"); } } public void test_methodsExist() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.3K bytes - Viewed (0)