Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 1,422 for test1 (0.02 sec)

  1. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

    public class BooleanFunctionTest extends UnitFessTestCase {
    
        public void test_apply_string() {
            BooleanFunction<String> isNotEmpty = s -> s != null && !s.isEmpty();
    
            assertTrue(isNotEmpty.apply("test"));
            assertTrue(isNotEmpty.apply("a"));
            assertFalse(isNotEmpty.apply(""));
            assertFalse(isNotEmpty.apply(null));
        }
    
        public void test_apply_integer() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

     */
    package org.apache.maven.building;
    
    import java.util.Collections;
    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    
    class ProblemCollectorFactoryTest {
    
        @Test
        void testNewInstance() {
            ProblemCollector collector1 = ProblemCollectorFactory.newInstance(null);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jul 20 20:19:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. schema/index_test.go

    		t.Run(ei.Name, func(t *testing.T) {
    			ai := actual[i]
    			tests.AssertObjEqual(t, ai, ei, "Name", "Class", "Type", "Where", "Comment", "Option")
    
    			if len(ei.Fields) != len(ai.Fields) {
    				t.Errorf("expected index %q field length is %d but actual %d", ei.Name, len(ei.Fields), len(ai.Fields))
    				return
    			}
    			for i, ef := range ei.Fields {
    				af := ai.Fields[i]
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 06 02:27:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. buildscripts/verify-build.sh

    	if ! wget -q -O "$FUNCTIONAL_TESTS" https://raw.githubusercontent.com/minio/mc/master/functional-tests.sh; then
    		echo "failed to download https://raw.githubusercontent.com/minio/mc/master/functional-tests.sh"
    		exit 1
    	fi
    
    	sed -i 's|-sS|-sSg|g' "$FUNCTIONAL_TESTS"
    	chmod a+x "$FUNCTIONAL_TESTS"
    }
    
    function main() {
    	echo "Testing in FS setup"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            assertNotNull(result);
            assertTrue(result.contains("test@seed#with$special%chars"));
        }
    
        public void test_clearCache() {
            // Test that clearCache doesn't throw exception
            popularWordHelper.clearCache();
    
            // Verify cache is cleared (we can't directly test this without accessing the cache)
            // But we can test that it doesn't throw exceptions
            assertTrue(true);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         * @param excludes the patterns of files to exclude, or null/empty for no exclusion
         * @param useDefaultExcludes whether to augment excludes with default SCM exclusion patterns
         * @return a PathMatcher that can be used to test if paths should be included
         * @throws NullPointerException if baseDirectory is null
         */
        @Nonnull
        PathMatcher createPathMatcher(
                @Nonnull Path baseDirectory,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

    import okhttp3.testing.PlatformRule
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class CacheCorruptionTest {
      var fileSystem = FakeFileSystem()
    
      @JvmField
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

    import org.apache.maven.building.Problem.Severity;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    class DefaultProblemCollectorTest {
    
        @Test
        void testGetProblems() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
     * implementation.
     */
    @GwtIncompatible
    public class SortedMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
      public static <K, V> SortedMapTestSuiteBuilder<K, V> using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. buildscripts/verify-healing-empty-erasure-set.sh

    	echo "Remove the contents of the disks belonging to '${1}' erasure set"
    
    	rm -rf ${WORK_DIR}/${1}/*/
    
    	set -x
    	start_minio_3_node $2
    }
    
    function main() {
    	# use same ports for all tests
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	perform_test "2" ${start_port}
    	perform_test "1" ${start_port}
    	perform_test "3" ${start_port}
    }
    
    (__init__ "$@" && main "$@")
    rv=$?
    purge "$WORK_DIR"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top