- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 2,268 for Method (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator * without changing its state, so the tester needs a steady supply of fresh Iterators. * * <p>If your iterator supports modification through {@code remove()}, you may wish to override the * verify() method, which is called after each sequence and is guaranteed to be called
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
assertNotNull(writeParameterWords); Method writeBytes = clazz.getDeclaredMethod("writeBytesWireFormat", byte[].class, int.class); assertNotNull(writeBytes); Method readParameterWords = clazz.getDeclaredMethod("readParameterWordsWireFormat", byte[].class, int.class); assertNotNull(readParameterWords);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
// When/Then try { java.lang.reflect.Method method = Type2Message.class.getDeclaredMethod("makeTargetInfo", CIFSContext.class, String.class); method.setAccessible(true); byte[] targetInfo = (byte[]) method.invoke(null, mockContext, TEST_DOMAIN); assertNotNull(targetInfo);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* the supplied executors. * * <p>This method is idempotent. Calling it several times in parallel is semantically equivalent * to calling it exactly once. * * @since 10.0 (present in 1.0 as {@code run}) */ public void execute() { // Lock while we update our state so the add method above will finish adding any listeners // before we start to run them.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented. * * <p>Note that although your APIs should be liberal in what they accept, your methods which * <i>return</i> iterables should make every attempt to return ones of the robust variety.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.ListFeature; import java.lang.reflect.Method; import org.junit.Ignore; /** * A generic JUnit test which tests {@code set()} operations on a list. Can't be invoked directly; * please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// Set response as received using reflection Method setReceivedMethod = ServerMessageBlock2Response.class.getDeclaredMethod("received"); setReceivedMethod.setAccessible(true); setReceivedMethod.invoke(response); // Set tree ID Method setTreeIdMethod = ServerMessageBlock2.class.getDeclaredMethod("setTreeId", int.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java
return new OpenJdk6SetTests().allTests(); } @Override protected Collection<Method> suppressForTreeSetNatural() { return asList( getAddNullUnsupportedMethod(), getAddAllNullUnsupportedMethod(), getCreateWithNullUnsupportedMethod()); } @Override protected Collection<Method> suppressForCheckedSet() { return asList(getAddNullSupportedMethod(), getAddSupportedNullPresentMethod());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
} @Test public void testReadParameterWordsWireFormat() { // This method is expected to do nothing and return 0 int result = smbComQueryInformation.readParameterWordsWireFormat(new byte[0], 0); assertEquals(0, result); } @Test public void testReadBytesWireFormat() { // This method is expected to do nothing and return 0Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt
@Throws(IOException::class) override fun writeTo(sink: BufferedSink) { delegate().writeTo(uppercaseSink(sink).buffer()) } } return request .newBuilder() .method(request.method, uppercaseBody) .build() } private fun uppercaseSink(sink: Sink): Sink = object : ForwardingSink(sink) { @Throws(IOException::class) override fun write( source: Buffer,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.9K bytes - Viewed (0)