Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1891 - 1900 of 2,277 for Tests (0.05 seconds)

  1. guava-tests/test/com/google/common/base/ThrowablesTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings({
      "deprecation", // tests of numerous deprecated methods
      "nullness", // TODO(cpovirk): fix errors
    })
    @NullUnmarked
    public class ThrowablesTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestMethodOrder;
    
    import io.restassured.RestAssured;
    import io.restassured.path.json.JsonPath;
    
    /**
     * Integration Tests which need an execution of crawler
     * - /api/admin/joblog
     * - /api/admin/crawlinginfo
     * - /api/admin/failureurl
     * - /api/admin/searchlist
     * */
    @Tag("it")
    @TestMethodOrder(MethodOrderer.OrderAnnotation.class)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
            // Due to normalization removing duplicate backslashes, true UNC validation doesn't work
            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ImmutableSortedMultiset}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ImmutableSortedMultisetTest extends TestCase {
      @AndroidIncompatible // test-suite builders
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  5. tests/associations_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func AssertAssociationCount(t *testing.T, data interface{}, name string, result int64, reason string) {
    	if count := DB.Model(data).Association(name).Count(); count != result {
    		t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count)
    	}
    
    	var newUser User
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  6. misc/cgo/gmp/gmp.go

    func GcdInt(d, x, y, a, b *Int) {
    	d.doinit()
    	x.doinit()
    	y.doinit()
    	a.doinit()
    	b.doinit()
    	C.mpz_gcdext(&d.i[0], &x.i[0], &y.i[0], &a.i[0], &b.i[0])
    }
    
    // ProbablyPrime performs n Miller-Rabin tests to check whether z is prime.
    // If it returns true, z is prime with probability 1 - 1/4^n.
    // If it returns false, z is not prime.
    func (z *Int) ProbablyPrime(n int) bool {
    	z.doinit()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

                return true;
            }
        }
    
        private static class MockSearchEngineClient extends SearchEngineClient {
            // Mock implementation - no admin client needed for tests
        }
    
        private static class MockSearchLogBhv extends SearchLogBhv {
            public void selectBulk(Consumer<Object> entityLambda, Consumer<List<SearchLog>> entityListLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/base/FunctionsTest.java

    import java.io.Serializable;
    import java.util.HashMap;
    import java.util.Map;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Functions}.
     *
     * @author Mike Bostock
     * @author Vlad Patryshev
     */
    @GwtCompatible
    @NullMarked
    public class FunctionsTest extends TestCase {
    
      public void testIdentity_same() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

    import jcifs.DialectVersion;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SmbComNtTransactionResponse
     */
    @DisplayName("SmbComNtTransactionResponse Tests")
    class SmbComNtTransactionResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TestSmbComNtTransactionResponse response;
    
        // Concrete implementation for testing
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, (byte) command);
        }
    
        /**
         * Nested class for testing buffer operations
         */
        @Nested
        @DisplayName("Buffer Operations Tests")
        class BufferOperationsTests {
    
            @Test
            @DisplayName("Test write operations with empty buffer")
            public void testWriteOperationsWithEmptyBuffer() {
                // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
Back to Top