- Sort Score
- Num 10 results
- Language All
Results 1911 - 1920 of 2,277 for Tests (0.02 seconds)
-
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
import java.util.SortedMap; import java.util.SortedSet; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit tests for {@code TreeMultimap} with natural ordering. * * @author Jared Levy */ @GwtCompatible @NullMarked public class TreeMultimapNaturalTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suiteCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InternetDomainNameTest.java
/* * We would ordinarily use constants for the expected results, but * doing it by derivation allows us to reuse the test case definitions * used in other tests. */ String expectedName = Ascii.toLowerCase(inputName); expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", "."); if (expectedName.endsWith(".")) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java
) ) .collect(Collectors.toCollection(TreeSet::new)), currentVersionProperty ); } // for testkit tests, until BwcVersions is extracted into an extension public BwcVersions(SortedSet<Version> allVersions, Version currentVersionProperty) { if (allVersions.isEmpty()) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 16.8K bytes - Click Count (0) -
docs/en/docs/index.md
<small>* estimation based on tests conducted by an internal development team, building production applications.</small> ## Sponsors { #sponsors } <!-- sponsors --> ### Keystone Sponsor { #keystone-sponsor }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 21.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** * Unit tests for the {@link ModelUpgradeStrategy} class. * Tests Maven model version upgrades and namespace transformations. */ @DisplayName("ModelUpgradeStrategy") class ModelUpgradeStrategyTest { private ModelUpgradeStrategy strategy;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 38.8K bytes - Click Count (0) -
src/bytes/buffer_test.go
"fmt" "internal/testenv" "io" "math/rand" "strconv" "testing" "unicode/utf8" ) const N = 10000 // make this bigger for a larger (and slower) test var testString string // test data for write tests var testBytes []byte // test data; same as testString but as a slice. type negativeReader struct{} func (r *negativeReader) Read([]byte) (int, error) { return -1, nil } func init() {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
return new SmbTreeConnection(ctx) { }; } @BeforeEach void setup() { when(ctx.getConfig()).thenReturn(config); // keep retries small for faster and deterministic tests when(config.getMaxRequestRetries()).thenReturn(2); when(config.isTraceResourceUsage()).thenReturn(false); // Mock credentials to avoid NullPointerException
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
@Mock private CreateContextRequest mockCreateContext; private Smb2CreateRequest request; @BeforeEach void setUp() { // Setup will be done in individual tests when needed } @Test @DisplayName("Test constructor with path initialization") void testConstructor() { // Test with normal pathCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
tests/associations_many2many_test.go
package tests_test import ( "fmt" "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) func TestMany2ManyAssociation(t *testing.T) { user := *GetUser("many2many", Config{Languages: 2}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } CheckUser(t, user, user) // Find var user2 User
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Jun 10 13:05:19 GMT 2023 - 13.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
import java.util.HashSet; import java.util.Map; import java.util.Random; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link AtomicLongMap}. * * @author mike nonemacher */ @GwtCompatible @NullUnmarked public class AtomicLongMapTest extends TestCase { private static final int ITERATIONS = 100;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0)