- Sort Score
- Result 10 results
- Languages All
Results 1521 - 1530 of 1,810 for testFind (0.3 sec)
-
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* anything that might slow down execution on such a hot path. Given that the methods are only * package-private, I feel OK with just not testing them for NPE. * * Note that testing casValue is particularly dangerous because it uses Unsafe under some * versions of Java, and apparently Unsafe can cause SIGSEGV instead of NPE—almost as if it's * not safe. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
return getLongProperty(WITNESS_RECONNECT_DELAY, 1000); // 1 second } public boolean isWitnessServiceDiscovery() { return getBooleanProperty(WITNESS_SERVICE_DISCOVERY, true); } ``` ## 7. Testing Strategy ### 7.1 Unit Tests ```java @Test public void testWitnessRegistration() { WitnessRegistration registration = new WitnessRegistration( "\\\\server\\share",
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
*/ @Test void testSuccessfulHandshake() throws IOException, SecurityException { // This test is simplified to verify basic handshake behavior // Full NTLM handshake testing would require more complex mocking // Arrange - Mock a server that supports NTLM mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.testing import android.os.Build import com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider import com.amazon.corretto.crypto.provider.SelfTestStatus import java.lang.reflect.Method import java.security.Security
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 15.4K bytes - Viewed (1) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
void setUp() throws UnknownHostException { // Configure mock context with fast timeouts when(mockContext.getConfig()).thenReturn(mockConfig); // Setup configuration with minimal timeouts for fast testing when(mockConfig.getNetbiosSoTimeout()).thenReturn(100); // Very short timeout when(mockConfig.getNetbiosRetryTimeout()).thenReturn(50); // Very short retry
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
import org.apache.maven.session.scope.internal.SessionScope; import org.codehaus.plexus.PlexusContainer; import org.codehaus.plexus.component.repository.exception.ComponentLookupException; import org.codehaus.plexus.testing.PlexusTest; import org.eclipse.aether.RepositorySystem; import org.eclipse.aether.RepositorySystemSession; import org.eclipse.aether.impl.MetadataGeneratorFactory; import org.eclipse.aether.repository.RemoteRepository;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent.testing; import static com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService; import static java.util.concurrent.Executors.callable; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent.testing; import static com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService; import static java.util.concurrent.Executors.callable; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.collect.Synchronized.SynchronizedCollection; import com.google.common.collect.Synchronized.SynchronizedSet; import com.google.common.testing.SerializableTester; import java.io.Serializable; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestCase;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0)