Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for testOf1 (0.04 sec)

  1. cmd/batch-handlers_test.go

    	}
    	type PrefixTemp struct {
    		Prefix BatchJobPrefix `yaml:"prefix"`
    	}
    	tests := []struct {
    		name    string
    		b       PrefixTemp
    		args    args
    		want    []string
    		wantErr bool
    	}{
    		{
    			name: "test1",
    			b:    PrefixTemp{},
    			args: args{
    				yamlStr: `
    prefix: "foo"
    `,
    			},
    			want:    []string{"foo"},
    			wantErr: false,
    		},
    		{
    			name: "test2",
    			b:    PrefixTemp{},
    			args: args{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

            // Setup mock notify information
            when(mockNotifyInfo1.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED);
            when(mockNotifyInfo1.getFileName()).thenReturn("test1.txt");
    
            when(mockNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED);
            when(mockNotifyInfo2.getFileName()).thenReturn("test2.txt");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    condition.build(builder);
                    resultMap.put("index", index);
                    resultMap.put("query", builder.toString());
                    return OptionalEntity.of(Map.of("_id", "001", "title", "test1", "content", "test2"));
                }
            };
            ComponentUtil.register(client, "searchEngineClient");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
            DisposableUtil.dispose();
            assertThat(count, is(1));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. go.sum

    github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
    github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
    github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
    github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 79.9K bytes
    - Viewed (0)
  6. cmd/site-replication_test.go

    // TestGetMissingSiteNames
    func TestGetMissingSiteNames(t *testing.T) {
    	testCases := []struct {
    		currSites []madmin.PeerInfo
    		oldDepIDs set.StringSet
    		newDepIDs set.StringSet
    		expNames  []string
    	}{
    		// Test1: missing some sites in replicated setup
    		{
    			[]madmin.PeerInfo{
    				{Endpoint: "minio1:9000", Name: "minio1", DeploymentID: "dep1"},
    				{Endpoint: "minio2:9000", Name: "minio2", DeploymentID: "dep2"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            // Add first document - should trigger indexing because cache size is 1
            Map<String, Object> dataMap1 = new HashMap<>();
            dataMap1.put("url", "http://example.com/test1");
            indexUpdateCallback.store(paramMap, dataMap1);
            assertEquals(1, indexingHelper.sendDocumentsCalled);
    
            // Add second document - should trigger indexing again
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
        public void test_getAppType() {
            // Test default empty when no env var is set
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeImplTest.java

            SmbTreeImpl tree3 = new SmbTreeImpl(session, "COMM", "COMM");
            assertEquals(SmbConstants.TYPE_COMM, tree3.getTreeType());
        }
    
        // Test case for DFS related methods
        @Test
        void testDfs() throws SmbException {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertFalse(tree.isDfs());
            assertFalse(tree.isInDomainDfs());
            tree.markDomainDfs();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. tests/joins_test.go

    package tests_test
    
    import (
    	"fmt"
    	"regexp"
    	"sort"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestJoins(t *testing.T) {
    	user := *GetUser("joins-1", Config{Company: true, Manager: true, Account: true, NamedPet: false})
    
    	DB.Create(&user)
    
    	var user2 User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top