Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 1,595 for Tests (0.01 sec)

  1. utils/tests/utils.go

    package tests
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"go/ast"
    	"reflect"
    	"testing"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) {
    	for _, name := range names {
    		rv := reflect.Indirect(reflect.ValueOf(r))
    		ev := reflect.Indirect(reflect.ValueOf(e))
    		if rv.IsValid() != ev.IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e)
    			return
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            request.addHeader("Host", "example.com");
            result = virtualHostHelper.getVirtualHostPath(page);
            assertEquals("/site1/search", result.getRoutingPath());
    
            // The header remains for subsequent tests due to static request handling
            // Different matching header added to same request
            request.addHeader("X-Forwarded-Host", "test.com");
            result = virtualHostHelper.getVirtualHostPath(page);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code Multiset}
     * implementation.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class MultisetTestSuiteBuilder<E>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

     * Optimized for fast execution with minimal network calls.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    @DisplayName("NameServiceClientImpl Tests")
    class NameServiceClientImplTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private NetbiosAddress mockNetbiosAddress;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for FileRenameInformation2
     */
    @DisplayName("FileRenameInformation2 Tests")
    class FileRenameInformation2Test {
    
        private FileRenameInformation2 fileRenameInfo;
    
        @BeforeEach
        void setUp() {
            fileRenameInfo = new FileRenameInformation2();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetNavigationTester<E> extends AbstractMultisetTester<E> {
      private SortedMultiset<E> sortedMultiset;
      private List<E> entries;
      private Entry<E> a;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. schema/relationship_test.go

    package schema_test
    
    import (
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func checkStructRelation(t *testing.T, data interface{}, relations ...Relation) {
    	if s, err := schema.Parse(data, &sync.Map{}, schema.NamingStrategy{}); err != nil {
    		t.Errorf("Failed to parse schema, got error %v", err)
    	} else {
    		for _, rel := range relations {
    			checkSchemaRelation(t, s, rel)
    		}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser_test.go

    				t.Errorf("Test %d: Expected the result to be \"%v\", but got \"%v\". ", i+1, testCase.expectedSignedHeaders, actualSignedHeaders)
    			}
    		}
    	}
    }
    
    // TestParseSignV4 - Tests Parsing of v4 signature form the authorization string.
    func TestParseSignV4(t *testing.T) {
    	sampleTimeStr := UTCNow().Format(yyyymmdd)
    	testCases := []struct {
    		inputV4AuthStr    string
    		expectedAuthField signValues
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        private CommandGenerator generator;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            generator = new CommandGenerator();
        }
    
        // Basic setter tests
        public void test_setCommandTimeout() throws Exception {
            final long timeout = 5000L;
            generator.setCommandTimeout(timeout);
            assertTrue(true);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top