- Sort Score
- Num 10 results
- Language All
Results 1261 - 1270 of 1,823 for Tests (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import java.lang.ref.WeakReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests of basic {@link LoadingCache} operations with all possible combinations of key & value * strengths. * * @author mike nonemacher */ @NullUnmarked public class CacheReferencesTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import java.util.Iterator; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link SubscriberRegistry}. * * @author Colin Decker */ @NullUnmarked public class SubscriberRegistryTest extends TestCase { private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link AbstractInvocationHandler}. * * @author Ben Yu */ @NullUnmarked public class AbstractInvocationHandlerTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5.8K bytes - Click Count (0) -
cmd/jwt_test.go
claims.SetExpiry(UTCNow().Add(defaultJWTExpiry)) claims.SetAccessKey(accessKey) token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, claims) return token.SignedString([]byte(secretKey)) } // Tests web request authenticator. func TestWebRequestAuthenticate(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
import jakarta.servlet.http.HttpSession; import jcifs.SmbResourceLocator; import jcifs.context.SingletonContext; import jcifs.smb.NtlmPasswordAuthentication; import jcifs.smb.SmbFile; /** * Unit tests for the NetworkExplorer servlet. * Tests initialization, authentication handling, and servlet lifecycle. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class NetworkExplorerTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
} public int getLeaseVersion() { return getIntProperty(LEASE_VERSION, 2); // Default to V2 if supported } } ``` ## 8. Testing Strategy ### 8.1 Unit Tests ```java package jcifs.tests.smb3; import org.junit.Test; import static org.junit.Assert.*; public class LeaseTest { @Test public void testLeaseKeyGeneration() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; import jcifs.SmbTransport; import jcifs.internal.CommonServerMessageBlock; /** * Unit tests for ChannelFailover */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class ChannelFailoverTest { @Mock private ChannelManager mockChannelManager; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
import org.mockito.quality.Strictness; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.SmbSession; import jcifs.SmbTransport; import jcifs.internal.CommonServerMessageBlock; /** * Unit tests for ChannelManager */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class ChannelManagerTest { @Mock private CIFSContext mockContext; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; /** * Unit tests for the Trans2FindNext2 class. */ class Trans2FindNext2Test { /** * Verifies constructor initializes protocol fields and limits correctly. */ @Test void testConstructorInitializesFields() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
docs/en/docs/advanced/security/http-basic-auth.md
#### A "professional" attack { #a-professional-attack } Of course, the attackers would not try all this by hand, they would write a program to do it, possibly with thousands or millions of tests per second. And they would get just one extra correct letter at a time.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5K bytes - Click Count (0)