- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 2,385 for When (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// Configure the mock transport with the server data transport.server = serverData; smbtStatic = mockStatic(SmbTransport.class); smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445, inet, 0, null)).thenReturn(transport); smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445)).thenReturn(transport); } @AfterEach void tearDown() { if (smbtStatic != null) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
void testGetFileNameWithVariousValues(String fileName) { when(mockFileNotifyInfo.getFileName()).thenReturn(fileName); assertEquals(fileName, mockFileNotifyInfo.getFileName()); } @Test @DisplayName("Test getFileName with null value") void testGetFileNameWithNull() { when(mockFileNotifyInfo.getFileName()).thenReturn(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* * <p>The resulting set's iterator does not support {@code remove()}, but all other set methods * are supported. When given an element that doesn't satisfy the predicate, the set's {@code * add()} and {@code addAll()} methods throw an {@link IllegalArgumentException}. When methods * such as {@code removeAll()} and {@code clear()} are called on the filtered set, only elements
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
return delegate; } @Override public void addListener(Runnable listener, Executor exec) { executionList.add(listener, exec); // When a listener is first added, we run a task that will wait for the delegate to finish, // and when it is done will run the listeners. if (hasListeners.compareAndSet(false, true)) { if (delegate.isDone()) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testHasDefaultCredentials_withNonAnonymous() { when(mockCredentials.isAnonymous()).thenReturn(false); assertTrue(context.hasDefaultCredentials()); } @Test void testHasDefaultCredentials_withAnonymous() { when(mockCredentials.isAnonymous()).thenReturn(true); assertFalse(context.hasDefaultCredentials()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
byte[] data = { 0x01, 0x02 }; // This constructor call itself should not throw an error, as it's just storing the values. // The error should occur when System.arraycopy is called. ByteEncodable encodable = new ByteEncodable(data, 1, 2); // off=1, len=2, data.length=2. 1+2 > 2 byte[] dest = new byte[5];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
<description><![CDATA[ Specifies that this profile will be activated when a matching JDK is detected. ]]></description> </field> <field> <name>os</name> <version>1.0.0</version> <description><![CDATA[ Specifies that this profile will be activated when matching OS attributes are detected. ]]></description> <association>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 22 11:03:29 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
* When a term starts with this prefix, it is treated as a regular expression * pattern rather than an exact match term. */ protected String regexPrefix = "regex:"; /** * Placeholder string used in regex-based related content templates. * This placeholder is replaced with the actual search query when * a regex pattern matches the query. */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java
import com.google.common.testing.SerializableTester; import org.junit.Ignore; /** * Basic reserialization test for collection types that must preserve {@code equals()} behavior when * reserialized. (Sets and Lists, but not bare Collections.) * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 1.9K bytes - Viewed (0) -
guava-gwt/src/com/google/common/html/Html.gwt.xml
<exclude name="**/testing/**"/> </source> <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package; seeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.5K bytes - Viewed (0)