Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 854 for Assert (0.14 sec)

  1. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import java.util.ArrayDeque;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Queue;
    import java.util.concurrent.CountDownLatch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

                String expectedUuid = "8a885d04-1ceb-11c9-9fe8-08002b104860";
    
                // Act
                String actualUuid = DcerpcConstants.DCERPC_UUID_SYNTAX_NDR.toString().toLowerCase();
    
                // Assert
                assertNotNull(DcerpcConstants.DCERPC_UUID_SYNTAX_NDR, "DCERPC_UUID_SYNTAX_NDR should not be null");
                assertEquals(expectedUuid, actualUuid, "DCERPC_UUID_SYNTAX_NDR should have the correct UUID value");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            try (SmbTreeHandleImpl t1 = target.ensureTreeConnected(); SmbTreeHandleImpl t2 = target.ensureTreeConnected()) {
                assertSame(tree, t1);
                assertSame(tree, t2);
            }
    
            // Assert: pipe.ensureTreeConnected invoked once, acquire twice
            verify(pipe, times(1)).ensureTreeConnected();
            verify(tree, times(2)).acquire();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.singleton;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import static com.google.common.math.StatsTesting.createPartitionedFilledPairedStatsAccumulator;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.math.StatsTesting.ManyValues;
    import java.util.Collections;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

     * limitations under the License.
     */
    
    package com.google.common.testing.anotherpackage;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Equivalence;
    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

    package com.google.common.collect;
    
    import static com.google.common.collect.ImmutableSet.toImmutableSet;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.singleton;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Equivalence;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        void ensureDFSResolvedDelegates() throws Exception {
            // Confirms DFS resolution is delegated with the correct locator
            // Act
            handle.ensureDFSResolved();
            // Assert & interaction verify
            verify(treeConnection).ensureDFSResolved(resourceLoc);
        }
    
        @Test
        @DisplayName("hasCapability delegates and propagates exceptions")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertThat;
    
    import java.util.Date;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.core.beans.converter.DateConverter;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/QueuesTest.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Stopwatch;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.concurrent.ArrayBlockingQueue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top