Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 990 for assert (0.03 sec)

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

    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import java.util.concurrent.Callable;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. tests/prepared_stmt_test.go

    	}
    	// Wait for 40 seconds to give the statements in the cache enough time to expire.
    	time.Sleep(time.Second * 40)
    	// Assert whether the connection pool of tx is successfully converted to the *gorm.PreparedStmtDB type.
    	AssertEqual(t, ok, true)
    	// Assert whether the number of statement keys stored in the PreparedStmtDB is 0 after 40 seconds.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

    import static com.google.common.math.MathTesting.FINITE_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.POSITIVE_FINITE_DOUBLE_CANDIDATES;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import java.lang.reflect.Method;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link DoubleUtils}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    import static org.codelibs.core.io.LineIterator.iterable;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import java.io.StringReader;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class IndexedIteratorTest {
    
        /**
         * @throws Exception
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

    import static org.hamcrest.CoreMatchers.equalTo;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.junit.Assert.assertThat;
    
    import java.util.Locale;
    
    import org.codelibs.core.misc.DisposableUtil;
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.normalizer;
    
    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.junit.Assert.assertEquals;
    
    import org.codelibs.fess.suggest.Suggester;
    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.junit.AfterClass;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.TruthJUnit.assume;
    import static org.junit.Assert.assertThrows;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

     */
    package org.codelibs.fess.suggest.util;
    
    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Modifier;
    import java.time.ZonedDateTime;
    import java.util.ArrayList;
    import java.util.Arrays;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Objects;
    import java.util.Set;
    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            };
    
            // Test each pattern and see what actually works
            for (String cron : potentiallyValidCrons) {
                boolean result = validator.isValid(cron, context);
                // Don't assert true/false here, just test that method doesn't throw
                assertNotNull("Validation should return a boolean result for: " + cron, Boolean.valueOf(result));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top