- Sort Score
- Result 10 results
- Languages All
Results 1051 - 1060 of 1,423 for test2 (0.02 sec)
-
guava-tests/test/com/google/common/math/LinearTransformationTest.java
import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link LinearTransformation}. * * @author Pete Gillin */ @NullUnmarked public class LinearTransformationTest extends TestCase { private static final double ALLOWED_ERROR = 1e-10;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// This is a weak check, but better than nothing. // A more robust test would require a real SMB1SigningDigest. assertTrue(writtenTime != 0 || lastWriteTime == 0); } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeBytesWireFormat(byte[], int)}. */ @Test public void testWriteBytesWireFormat() { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
remoteInterface = new NetworkInterfaceInfo(remoteAddr, 1000); channelInfo = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); } @Test void testConstructor() { assertEquals("test-channel", channelInfo.getChannelId()); assertEquals(mockTransport, channelInfo.getTransport());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import jcifs.BaseTest; /** * Test class for SmbException functionality */ @DisplayName("SmbException Tests") class SmbExceptionTest extends BaseTest { @Test @DisplayName("Should create SmbException with NT status code")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
import org.junit.Ignore; /** * Tester for {@link Multimap#put}. * * @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>Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
public void testReallySimpleFingerprints() { assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8))); // 32 characters long assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8))); // 256 characters long assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8))); } public void testStringsConsistency() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
import org.junit.Ignore; /** * Tester for {@link Multimap#put}. * * @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>Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Properties; import org.junit.jupiter.api.Test; import jcifs.CIFSException; /** * Unit tests for Multi-Channel configuration properties */ class MultiChannelConfigurationTest { @Test void testDefaultMultiChannelSettings() throws CIFSException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
} // Clear system properties that might affect the test System.clearProperty("jcifs.properties"); System.clearProperty("java.protocol.handler.pkgs"); // Clear jcifs-specific properties to prevent test interference System.clearProperty("jcifs.smb.client.nativeOs"); System.clearProperty("jcifs.smb.client.nativeLanMan"); } @Test void testInitWithNullProperties() throws CIFSException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
tests/connpool_test.go
package tests_test import ( "context" "database/sql" "os" "reflect" "testing" "gorm.io/driver/mysql" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) type wrapperTx struct { *sql.Tx conn *wrapperConnPool } func (c *wrapperTx) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) { c.conn.got = append(c.conn.got, query) return c.Tx.PrepareContext(ctx, query) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 5.5K bytes - Viewed (0)