- Sort Score
- Result 10 results
- Languages All
Results 751 - 760 of 5,228 for newA (0.02 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.set(new Foo())); assertFalse(future.setException(new Exception("bar"))); assertFalse(future.setFuture(SettableFuture.create())); // Check that the future has been set properly. assertFalse(future.isDone()); assertFalse(future.isCancelled()); assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS)); FooChild value = new FooChild(); nested.set(value);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testConstructorWithMessageAndCause() { String message = "Test message with cause."; Throwable cause = new RuntimeException("Original cause."); DcerpcException exception = new DcerpcException(message, cause); assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
@BeforeEach void setUp() { handler = new Handler(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create handler with default constructor") void testDefaultConstructor() { // When Handler testHandler = new Handler(); // Then assertNotNull(testHandler);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
@Test void testShareInfoCtr0EncodeWithArray() throws NdrException { srvsvc.ShareInfoCtr0 ctr0 = new srvsvc.ShareInfoCtr0(); ctr0.count = 2; ctr0.array = new srvsvc.ShareInfo0[2]; ctr0.array[0] = new srvsvc.ShareInfo0(); ctr0.array[0].netname = "Share1"; ctr0.array[1] = new srvsvc.ShareInfo0(); ctr0.array[1].netname = "Share2"; // Set up mocksRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
byte[] dst = new byte[100]; int result = response.writeDataWireFormat(dst, 0); assertEquals(0, result); } @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ForwardingSetTest.class); suite.addTest( SetTestSuiteBuilder.using( new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) { return new StandardImplForwardingSet<>(new LinkedHashSet<>(asList(elements))); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.1K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
This artifact has a dependency on Google's Brotli decoder (95 KiB). * New: `EventListener.proxySelectStart()`, `proxySelectEnd()` events give visibility into the proxy selection process. * New: `Response.byteString()` reads the entire response into memory as a byte string. * New: `OkHttpClient.x509TrustManager` accessor. * New: Permit [new WebSocket response codes][iana_websocket]: 1012 (Service Restart), 1013 (TryRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} catch (Exception e) { throw new RuntimeException(e); } } @Test @DisplayName("Test setFileId method") void testSetFileId() { request = new Smb2QueryInfoRequest(mockConfig); byte[] newFileId = new byte[16]; for (int i = 0; i < 16; i++) { newFileId[i] = (byte) (i + 10); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
@J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( SetTestSuiteBuilder.using(new ImmutableSetCopyOfGenerator()) .named(ImmutableSetTest.class.getName()) .withFeatures( CollectionSize.ANY,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* * {@snippet : * final WeakHashMap<Object, Object> map = new WeakHashMap<>(); * map.put(new Object(), Boolean.TRUE); * GcFinalization.awaitDone(new FinalizationPredicate() { * public boolean isDone() { * return map.isEmpty(); * } * }); * } * * <p>Even if your non-test code does not use finalization, you can use this class to test forRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0)