Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 24 for TEST1 (0.02 seconds)

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  2. 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");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  3. 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));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. 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"},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertEquals(0x20, nbtAddress.getNameType());
        }
    
        @Test
        void testHashCode() {
            // Test hashCode consistency
            mockName = new Name(mockConfig, "TEST1", 0x20, null);
            Name mockName2 = new Name(mockConfig, "TEST2", 0x20, null);
            NbtAddress nbtAddress1 = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  6. 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));
    
        }
    
        @Test
        public void test_getAppType() {
            // Test default empty when no env var is set
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        }
    
        @Test
        public void test_sizeOf_complexNestedStructures() {
            // Complex nested structure
            Map<String, Object> complexMap = new HashMap<>();
            complexMap.put("strings", Arrays.asList("test1", "test2"));
            complexMap.put("numbers", Arrays.asList(1, 2, 3));
            complexMap.put("nested", Maps.map("inner", "value").$());
            complexMap.put("array", new String[] { "array1", "array2" });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  9. src/test/java/jcifs/util/ResourceManagerTest.java

                return name;
            }
        }
    
        @Test
        @DisplayName("Test resource registration and tracking")
        void testResourceRegistration() {
            TestResource resource = new TestResource("test1");
            String resourceId = resourceManager.registerResource(resource);
    
            assertNotNull(resourceId);
            assertTrue(resourceId.contains("TestResource"));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertNull(System.getProperty("fess." + now));
            assertNull(System.getProperty("test." + now));
            appValue.set("=abc\nfess." + now + "=test1\ntest." + now + "=test2");
            helper.updateSystemProperties();
            assertEquals("test1", System.getProperty("fess." + now));
            assertEquals("test2", System.getProperty("test." + now));
        }
    
        @Test
        public void test_getCurrentTime() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
Back to Top