- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 714 for rejection (0.13 seconds)
-
src/test/java/jcifs/SmbResourceTest.java
boolean canWrite = mockResource.canWrite(); // Then assertTrue(exists, "Should support SMB existence checks"); assertTrue(isFile, "Should support SMB file type detection"); assertTrue(canRead, "Should support SMB read permission checks"); assertTrue(canWrite, "Should support SMB write permission checks"); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
} @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { new ClassSanityTester().forAllPublicStaticMethods(Predicates.class).testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
// Force accessibility and create instance to achieve coverage constructor.setAccessible(true); assertNotNull(constructor.newInstance(), "Should be able to create instance via reflection"); } @Nested @DisplayName("Header Constants") class HeaderConstants { @Test @DisplayName("SMB2 header length should be 64 bytes") void testSmb2HeaderLength() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
// Absent key -> CIFSException CIFSException noKey = assertThrows(CIFSException.class, session::getSessionKey); assertTrue(noKey.getMessage().contains("No session key")); // Set a key via reflection and verify retrieval byte[] key = new byte[] { 1, 2, 3, 4 }; setField(session, "sessionKey", key); assertArrayEquals(key, session.getSessionKey()); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
for (LoadBalancingStrategy strategy : strategies) { loadBalancer.setStrategy(strategy); assertEquals(strategy, loadBalancer.getStrategy()); } // Test channel selection with mock request when no channels available ServerMessageBlock2Request mockRequest = mock(ServerMessageBlock2Request.class); when(mockRequest.getTreeId()).thenReturn(123);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
List<ChannelInfo> list = new ArrayList<>(channels); return list.get(ThreadLocalRandom.current().nextInt(list.size())); } // Weighted random selection int random = ThreadLocalRandom.current().nextInt(totalWeight); int currentWeight = 0; for (ChannelInfo channel : channels) { currentWeight += channel.getScore();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/background-tasks.md
* Quaisquer argumentos nomeados que devem ser passados para a função de tarefa (`message="some notification"`). ## Injeção de dependências { #dependency-injection }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
* selected in the static initializer of AbstractFuture. This is convenient and performant but * introduces some testing difficulties. This test exercises the fallback strategies. * * <p>To force selection of our fallback strategies, we load {@link AbstractFuture} (and all of * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certainCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
"Flags should be set for first and last fragment"); // Verify private fields using reflection Field bindingField = DcerpcBind.class.getDeclaredField("binding"); bindingField.setAccessible(true); assertSame(mockBinding, bindingField.get(bindWithParams), "Binding should be set");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
SmbSession result = transport.getSmbSession(ctx, host, domain); assertSame(session, result); verify(transport).getSmbSession(eq(ctx), eq(host), eq(domain)); } // SMB2 detection: true/false and exception path @Test @DisplayName("isSMB2 returns true/false and can throw") void isSMB2_variants() throws Exception { when(transport.isSMB2()).thenReturn(true, false);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0)