- Sort Score
- Result 10 results
- Languages All
Results 1191 - 1200 of 1,595 for Tests (0.05 sec)
-
src/cmd/asm/internal/lex/lex.go
type Macro struct { name string // The #define name. args []string // Formal arguments. tokens []Token // Body of macro. } // Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests. func Tokenize(str string) []Token { t := NewTokenizer("command line", strings.NewReader(str), nil) var tokens []Token for { tok := t.Next() if tok == scanner.EOF { break }Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
var client = clientTestRule.newClient() @StartStop private val server = MockWebServer() @BeforeEach fun setUp() { // Default after JDK 14, but we are avoiding tests that assume special setup. // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true") // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (1) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* * @param <InputT> the type of the individual inputs * @param <OutputT> the type of the output (i.e. this) future */ @GwtCompatible @SuppressWarnings( // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || "ShortCircuitBoolean") abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
@Mock private Configuration config; @Mock private Credentials creds; @Mock private NameServiceClient nsc; // Minimal URLStreamHandler to allow creating smb:// URLs in tests private static final URLStreamHandler SMB_HANDLER = new URLStreamHandler() { @Override protected URLConnection openConnection(URL u) { return null; // not used } };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
} private void checkLogged(Throwable t) { assertSame(t, popLoggedThrowable()); } /* * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use * builder.build() and then cast? */ private static <K, V> LocalCache<K, V> makeLocalCache(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
@Mock private InputStream mockInputStream; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); packet = new TestSessionServicePacket(); } // Tests for static methods @Test @DisplayName("writeInt2 should correctly write 16-bit integer") void testWriteInt2() { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(0x1234, dst, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
public String getHandleStateDirectory() { return getProperty(HANDLE_STATE_DIR, System.getProperty("user.home") + "/.jcifs/handles"); } ``` ## 8. Testing Strategy ### 8.1 Unit Tests ```java package jcifs.tests.smb3; import org.junit.Test; import static org.junit.Assert.*; public class PersistentHandleTest { @Test public void testHandleGuidGeneration() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
import com.google.common.cache.LocalCache.Strength; import com.google.common.testing.EqualsTester; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary * conditions. * * @author Adam Winer */ @NullUnmarked public class CacheBuilderSpecTest extends TestCase { public void testParse_empty() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 19.1K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
import jcifs.Configuration; import jcifs.DialectVersion; import jcifs.ResolverType; /** * Comprehensive test suite for DelegatingConfiguration class. * Tests the delegation pattern and ensures all methods properly delegate. */ @DisplayName("DelegatingConfiguration Tests") class DelegatingConfigurationTest extends BaseTest { @Mock private Configuration mockDelegate; private DelegatingConfiguration delegatingConfig;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for Smb3KeyDerivation. * Tests the SMB3 SP800-108 Counter Mode Key Derivation implementation. */ @DisplayName("Smb3KeyDerivation Tests") class Smb3KeyDerivationTest { private byte[] sessionKey; private byte[] preauthIntegrity; @BeforeEach void setUp() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0)