- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 2,377 for tests (0.02 seconds)
-
guava-gwt/src/com/google/common/io/Io.gwt.xml
util.concurrent, like nearly all our packages, has two .gwt.xml files: one for prod and one for tests. However, unlike our other packages, as of this writing it has test supersource but no prod supersource. GWT happens to use the prod .gwt.xml, so it looks for no supersource for tests, either. This causes it to fail to find AtomicLongMapTest.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
import com.google.common.escape.UnicodeEscaper; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link PercentEscaper}. * * @author David Beaumont */ @GwtCompatible @NullUnmarked public class PercentEscaperTest extends TestCase { /** Tests that the simple escaper treats 0-9, a-z and A-Z as safe */ public void testSimpleEscaper() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
internal/config/storageclass/storage-class_test.go
{9, 2, false, 16}, } for i, tt := range tests { err := validateParity(tt.ssParity, tt.rrsParity, tt.setDriveCount) if err != nil && tt.success { t.Errorf("Test %d, Expected success, got %s", i+1, err) } if err == nil && !tt.success { t.Errorf("Test %d, Expected failure, got success", i+1) } } } func TestParityCount(t *testing.T) { tests := []struct { sc stringCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Click Count (0) -
cmd/data-usage-cache_test.go
"BETWEEN_1024B_AND_1_MB": 2, "BETWEEN_10_MB_AND_64_MB": 1, }, }, } for i, test := range tests { t.Run(fmt.Sprintf("Test-%d", i), func(t *testing.T) { var h sizeHistogram for _, sz := range test.sizes { h.add(sz) } got := h.toMap() exp := test.want // what is in exp is in got for k := range exp { if exp[k] != got[k] {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jan 13 07:51:08 GMT 2024 - 2.6K bytes - Click Count (0) -
src/archive/tar/reader_test.go
t.Errorf("test %d, readGNUSparsePAXHeaders(): got %v, want %v", i, got, v.wantMap) } if err != v.wantErr { t.Errorf("test %d, readGNUSparsePAXHeaders() = %v, want %v", i, err, v.wantErr) } if hdr.Size != v.wantSize { t.Errorf("test %d, Header.Size = %d, want %d", i, hdr.Size, v.wantSize) } if hdr.Name != v.wantName {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for TransportException class */ public class TransportExceptionTest { @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create exception with no arguments") void testDefaultConstructor() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
import org.junit.jupiter.api.Test; /** * Tests for the DfsReferral class. * This class tests the functionality of the DfsReferral class, * ensuring that objects are constructed correctly, appended properly, * and that the toString method returns the expected format. */ class DfsReferralTest { /** * Tests the default constructor of the DfsReferral class.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.8K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
* * @param expected the option value expected by the test * @return the expected value with separators of the host */ private static String toPlatformSpecific(String expected) { return expected.replace("/", File.separator).replace(":", File.pathSeparator); } /** * Tests the formatting of an option without module name. */ @Test public void testOption() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Nov 13 14:20:26 GMT 2025 - 2.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests operations on a NavigableSet. Can't be invoked directly; please * see {@code NavigableSetTestSuiteBuilder}. * * @author Jesse Wilson * @author Louis Wasserman */ @GwtIncompatible @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.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/StandaloneTestPlugin.java
*/ public class StandaloneTestPlugin implements Plugin<Project> { @Override public void apply(final Project project) { project.getPluginManager().apply(StandaloneRestTestPlugin.class); project.getTasks().register("test", Test.class).configure(test -> { test.setGroup(JavaBasePlugin.VERIFICATION_GROUP); test.setDescription("Runs unit tests that are separate");
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 23 09:36:58 GMT 2021 - 1.4K bytes - Click Count (0)