Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for TEST1 (0.02 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            ProfileActivation activation;
    
            activation = new ProfileActivation();
            performProfileActivation(parser.parse(options, new String[] {"-P", "test1,+test2,?test3,+?test4"}), activation);
            assertContainsExactlyInAnyOrder(activation.getRequiredActiveProfileIds(), "test1", "test2");
            assertContainsExactlyInAnyOrder(activation.getOptionalActiveProfileIds(), "test3", "test4");
    
            activation = new ProfileActivation();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            assertEquals("test1", item.get().getInput());
        }
    
        @Test
        public void test_selectList_normal() {
            // Load data first
            protwordsFile.reload(null);
    
            // Test normal pagination
            PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 3);
            assertEquals(3, list.size());
            assertEquals("test1", list.get(0).getInput());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  3. tests/test_annotated.py

    def test_multiple_path():
        app = FastAPI()
    
        @app.get("/test1")
        @app.get("/test2")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
        client = TestClient(app)
        response = client.get("/test1")
        assert response.status_code == 200
        assert response.json() == {"foo": "bar"}
    
        response = client.get("/test1", params={"var": "baz"})
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertEquals(2, cmdList.size());
            assertTrue(cmdList.contains("-D" + Constants.FESS_CONFIG_PREFIX + "test1=value1"));
            assertTrue(cmdList.contains("-D" + Constants.FESS_CONFIG_PREFIX + "test2=value2"));
    
            // Clean up
            System.clearProperty(Constants.FESS_CONFIG_PREFIX + "test1");
            System.clearProperty(Constants.FESS_CONFIG_PREFIX + "test2");
            System.clearProperty("non.fess.property");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            List<LabelType> labelTypeList = new ArrayList<>();
    
            LabelType labelType1 = new LabelType();
            labelType1.setName("Test Label 1");
            labelType1.setValue("test1");
            labelType1.setPermissions(new String[0]);
            labelType1.setVirtualHost("");
            // Locale is derived from value, not set directly
            labelType1.setIncludedPaths("/test.*");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top