- Sort Score
- Result 10 results
- Languages All
Results 1191 - 1200 of 1,595 for Tests (0.05 sec)
-
cmd/batch-job-common-types.go
type BatchJobYamlErr struct { line, col int msg string } // message returns the error message excluding line, col information. // Intended to be used in unit tests. func (b BatchJobYamlErr) message() string { return b.msg } // Error implements Error interface func (b BatchJobYamlErr) Error() string {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/net_test.go
if testCase.expectedIPList.Contains(ip) { found = true } } if !found { t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList) } } } } // Tests finalize api endpoints. func TestGetAPIEndpoints(t *testing.T) { host, port := globalMinioHost, globalMinioPort defer func() { globalMinioHost, globalMinioPort = host, port }() testCases := []struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K 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) -
docs/smb3-features/04-directory-leasing-design.md
entry.invalidate(); } invalidateChildren(child); // Recursive } } } } ``` ## 8. Testing Strategy ### 8.1 Unit Tests ```java @Test public void testDirectoryCacheEntry() { DirectoryCacheEntry entry = new DirectoryCacheEntry( "/test/dir", new Smb2LeaseKey(), DirectoryCacheScope.IMMEDIATE_CHILDREN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} private boolean isRdmaAvailable() { return new DisniRdmaProvider().isAvailable() || new JxioRdmaProvider().isAvailable(); } ``` ## 7. Testing Strategy ### 7.1 Unit Tests ```java @Test public void testRdmaProviderSelection() { RdmaProvider provider = RdmaProviderFactory.createProvider("auto"); assertNotNull(provider); assertTrue(provider.isAvailable()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K 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) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
* @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class MultimapPutTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.3K bytes - Viewed (0)