Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 2,277 for Tests (0.02 seconds)

  1. android/guava/src/com/google/common/util/concurrent/Runnables.java

      /*
       * If we inline this, it's not longer a singleton under Android (at least under the Marshmallow
       * version that we're testing under) or J2CL.
       *
       * That's not necessarily a real-world problem, but it does break our tests.
       */
      @SuppressWarnings({"InlineLambdaConstant", "UnnecessaryLambda"})
      private static final Runnable EMPTY_RUNNABLE = () -> {};
    
      /** Returns a {@link Runnable} instance that does nothing when run. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 05 15:30:14 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/collect/testing/MyTester.java

    /** Support class added to a suite as part of {@link FeatureSpecificTestSuiteBuilderTest}. */
    /*
     * @Ignore affects the Android test runner (and only the Android test runner): It respects JUnit 4
     * annotations even on JUnit 3 tests.
     *
     * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably
     * soon won't be.
     */
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @Ignore
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            // Since SamrOpenDomain's constructor is called, we implicitly test that the arguments
            // are passed up. Mockito cannot directly verify super() calls without PowerMock,
            // which is not ideal for simple constructor tests.
            // The primary responsibility of this constructor is setting ptype and flags,
            // which are directly verifiable.
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/PackageSanityTests.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.AbstractPackageSanityTests;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    @J2ktIncompatible
    @GwtIncompatible
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Runnables}.
     *
     * @author Olivier Pernet
     */
    @GwtCompatible
    @NullUnmarked
    public class RunnablesTest extends TestCase {
      public void testDoNothingRunnableIsSingleton() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/PackageSanityTests.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.AbstractPackageSanityTests;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Basic sanity tests for classes in {@code common.base}. */
    
    @J2ktIncompatible
    @GwtIncompatible
    @NullUnmarked
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

    import com.google.common.testing.RelationshipTester.Item;
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class RelationshipTesterTest extends TestCase {
      public void testNulls() {
        new ClassSanityTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/NetbiosAddressTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.netbios.NbtAddress;
    
    /**
     * Tests for NetbiosAddress interface and NbtAddress implementation.
     * This test focuses on verifying constants and basic functionality.
     */
    @ExtendWith(MockitoExtension.class)
    class NetbiosAddressTest {
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

    import java.util.AbstractSet;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code removeAll} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  10. README.md

    ## 🧪 Building and Testing
    
    ### Development Setup
    ```bash
    # Clone the repository
    git clone https://github.com/codelibs/corelib.git
    cd corelib
    
    # Compile the project
    mvn clean compile
    
    # Run all tests
    mvn test
    
    # Run specific test class
    mvn test -Dtest=BeanUtilTest
    
    # Run specific test method  
    mvn test -Dtest=BeanUtilTest#testCopyBeanToBean
    ```
    
    ### Code Quality and Formatting
    ```bash
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top