Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 546 for testLast (0.05 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link EventBus}.
     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@code EnumBiMap}.
     *
     * @author Mike Bostock
     * @author Jared Levy
     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible
    @NullMarked
    public class EnumBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CloserTest.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Closer}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CloserTest extends TestCase {
    
      private TestSuppressor suppressor;
    
      @Override
      protected void setUp() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests {@link SequentialExecutor}.
     *
     * @author JJ Furman
     */
    @NullUnmarked
    public class SequentialExecutorTest extends TestCase {
    
      private static class FakeExecutor implements Executor {
        final Queue<Runnable> tasks = new ArrayDeque<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users_test.go

    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("windows is clunky disable these tests")
    	}
    	for i, testCase := range iamTestSuites {
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    			func(t *testing.T) {
    				suite := testCase
    				c := &check{t, testCase.serverType}
    
    				suite.SetUpSuite(c)
    				suite.TestUserCreate(c)
    				suite.TestUserPolicyEscalationBug(c)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTransportTest.java

            verify(smbTransport).getRemoteAddress(); // Verify that the method was called
        }
    
        @Test
        void testGetRemoteHostName() {
            // Arrange
            String hostName = "testHost";
            when(smbTransport.getRemoteHostName()).thenReturn(hostName);
    
            // Act
            String result = smbTransport.getRemoteHostName();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    		},
    
    		// Add new cases as seen
    	}
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			gotMeta, dangling := isObjectDangling(testCase.metaArr, testCase.errs, testCase.dataErrs)
    			if !gotMeta.Equals(testCase.expectedMeta) {
    				t.Errorf("Expected %#v, got %#v", testCase.expectedMeta, gotMeta)
    			}
    			if dangling != testCase.expectedDangling {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

    import java.io.StringReader;
    import java.io.StringWriter;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code BaseEncoding}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class BaseEncodingTest extends TestCase {
    
      public void testSeparatorsExplicitly() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

    import java.lang.reflect.Modifier;
    import java.nio.ByteBuffer;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Locale;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Hashing}.
     *
     * <p>TODO(b/33919189): Migrate repeated testing methods to {@link HashTestUtils} and tweak unit
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  10. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

    import java.util.stream.LongStream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class ImmutableLongArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top