- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 41 for test_post (0.1 seconds)
-
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
assertEquals(25, ESSourceReader.getLimitDocNum(50, 50, -1)); assertEquals(10, ESSourceReader.getLimitDocNum(50, 50, 10)); } @Test public void test_sort() throws Exception { String indexName = "test-index"; Client client = runner.client(); SuggestSettings settings = suggester.settings(); int num = 10000;
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sun Nov 23 13:04:17 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testStringConfigurationDelegation() { // Given when(mockDelegate.getOemEncoding()).thenReturn("UTF-8"); when(mockDelegate.getNetbiosHostname()).thenReturn("TESTHOST"); when(mockDelegate.getDefaultDomain()).thenReturn("WORKGROUP"); when(mockDelegate.getDefaultUsername()).thenReturn("testuser"); when(mockDelegate.getDefaultPassword()).thenReturn("testpass");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
props.setProperty("jcifs.smb.client.password", "testpass"); props.setProperty("jcifs.smb.client.domain", "testdomain"); props.setProperty("jcifs.netbios.hostname", "testhost"); props.setProperty("jcifs.netbios.scope", ""); props.setProperty("jcifs.smb.client.connTimeout", "35000"); props.setProperty("jcifs.smb.client.soTimeout", "35000");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_DNS)); // Only DNS, no broadcast when(mockConfig.getNetbiosHostname()).thenReturn("TESTHOST"); when(mockConfig.getNetbiosScope()).thenReturn(null); when(mockConfig.getNetbiosCachePolicy()).thenReturn(30); // Short cache when(mockConfig.getWinsServers()).thenReturn(new InetAddress[0]);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
when(config.getSessionTimeout()).thenReturn(30_000); when(config.getResponseTimeout()).thenReturn(5_000); when(address.getHostAddress()).thenReturn("127.0.0.1"); when(address.getHostName()).thenReturn("testhost"); transport = new SmbTransportImpl(context, address, 445, null, 0, false); } /** * Test that pre-auth integrity hash is properly synchronized */ @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
tensorflow/BUILD
output_package = "tensorflow._api.v2", packages_to_ignore = select({ ":disable_tf_lite_py": [ "tensorflow.python.framework.test_ops", "tensorflow.lite", ], "//conditions:default": ["tensorflow.python.framework.test_ops"], }), root_file_name = "v2.py", root_init_template = "api_template.__init__.py", visibility = ["//visibility:public"], )
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Nov 12 19:21:56 GMT 2025 - 53.1K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java
verify(dataHelper).getUrlQueueList(oldSessionId); verify(dataHelper).addUrlQueueList(newSessionId, mockQueue); verify(dataHelper).removeUrlQueueList(oldSessionId); } public void test_poll() { // Setup String sessionId = "session123"; UrlQueueImpl<Long> urlQueue = new UrlQueueImpl<>(); urlQueue.setUrl("https://example.com");
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 13 13:29:22 GMT 2025 - 14.1K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java
// InputStream in = // ResourceUtil.getResourceAsStream("extractor/test_pass.pdf"); // TikaExtractor extractor = // (TikaExtractor) getContainer().getComponent( // "tikaExtractorForPdfPassword"); // Map<String, String> params = new HashMap<String, String>(); // params.put(ExtractData.URL, "http://example.com/test_pass.pdf"); // ExtractData extractData = extractor.getText(in, params);Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Aug 07 02:55:08 GMT 2025 - 30.6K bytes - Click Count (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
response = client.put("/items/foo", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"} def test_put(client: TestClient): response = client.put( "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"} ) assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 21.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
SmbTransportImpl mockTransport = Mockito.mock(SmbTransportImpl.class); Mockito.when(mockTransport.acquire()).thenReturn(mockTransport); SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); int threadCount = 10; int operationsPerThread = 200; ExecutorService executor = Executors.newFixedThreadPool(threadCount);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0)