- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 79 for testTest (0.04 sec)
-
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_DNS)); // Only DNS, no broadcast when(mockConfig.getNetbiosHostname()).thenReturn("TESTHOST"); when(mockConfig.getNetbiosScope()).thenReturn(null); when(mockConfig.getNetbiosCachePolicy()).thenReturn(30); // Short cache when(mockConfig.getWinsServers()).thenReturn(new InetAddress[0]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
transaction.txn_buf = new byte[1024]; transaction.maxBufferSize = 1024; } @Test @DisplayName("Test reset() method resets transaction state") void testReset() { // Modify state transaction.nextElement(); // Reset transaction.reset(); // Verify state is reset
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
immutableCell('b', 2, "blah"), immutableCell('c', 3, "blah"))) instanceof SparseImmutableTable<?, ?, ?>); } public void testGet() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertEquals("foo", testInstance.get('a', 1)); assertEquals("bar", testInstance.get('b', 1));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
final FieldDesc aaa = beanDesc.getFieldDesc("aaa"); aaa.setStaticFieldValue(String.class); } /** * @throws Exception */ @Test public void testList() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final FieldDesc hoge = beanDesc.getFieldDesc("list");
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
public void testContainsKey() { boolean unused = create().containsKey(null); } public void testContainsValue() { boolean unused = create().containsValue(null); } public void testGet() { Object unused = create().get(null); } public void testPut() { create().put(null, null); } public void testPutAll() { create().putAll(new HashMap<String, Integer>()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements()); itr.remove(); } /** * @throws Exception */ @Test public void testNext() throws Exception { final EnumerationIterator<String> itr = new EnumerationIterator<String>(new Vector<String>().elements()); assertThat(itr.hasNext(), is(not(true))); } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
mockContext.withCredentials(mock(Credentials.class)); mockContext.renewCredentials("hint", new Exception()); }); } @Test @DisplayName("Should get SmbResource") void testGet() throws CIFSException { // Given String url = "smb://server/share/file"; SmbResource mockResource = mock(SmbResource.class); when(mockContext.get(url)).thenReturn(mockResource);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
assertArrayEquals(plaintext, decrypted); assertNotEquals(new String(plaintext), new String(encrypted)); } @Test @DisplayName("Should perform DES encryption/decryption") void testDES() throws Exception { // Given byte[] key = "testkey1".getBytes(); // 8 bytes for DES byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size) // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testStringConfigurationDelegation() { // Given when(mockDelegate.getOemEncoding()).thenReturn("UTF-8"); when(mockDelegate.getNetbiosHostname()).thenReturn("TESTHOST"); when(mockDelegate.getDefaultDomain()).thenReturn("WORKGROUP"); when(mockDelegate.getDefaultUsername()).thenReturn("testuser"); when(mockDelegate.getDefaultPassword()).thenReturn("testpass");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0)