- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for Act (0.09 seconds)
-
src/test/java/org/codelibs/curl/CurlTest.java
// ## Act ## final CurlRequest request = Curl.get(url); // ## Assert ## assertNotNull(request); assertEquals(Method.GET, request.method()); } @Test public void test_PostFactoryMethod() { // ## Arrange ## final String url = "http://example.com"; // ## Act ## final CurlRequest request = Curl.post(url);Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 16.3K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
// ## Arrange ## CurlRequest req = new MockCurlRequest(Curl.Method.POST, "http://dummy"); req.threshold(0); // always create tmp file // ## Act ## long before = countTmpFiles(); logger.info("Before request. Number of temp files: " + before); req.execute(res -> {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
CurlResponse response = new CurlResponse(); response.setEncoding("UTF-8"); response.setContentCache(new ContentCache(content.getBytes(java.nio.charset.StandardCharsets.UTF_8))); // ## Act ## String result = response.getContentAsString(); // ## Assert ## assertEquals(content, result); } @Test public void test_GetContentAsString_WithDifferentEncoding() {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
File file = cos.getFile(); // This sets done=true assertTrue(file.exists()); file.delete(); assertFalse(file.exists()); // ## Act & Assert ## // close() should not throw even though the file was already deleted cos.close(); // done=true since getFile() was called, so cleanup is skipped } @Test
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
// ## Act ## byte[] result = cache.getContentAsBytes(); // ## Assert ## assertEquals(content, new String(result, "UTF-8")); } @Test public void testGetContentAsBytes_EmptyData() throws IOException { // ## Arrange ## ContentCache cache = new ContentCache(new byte[0]); // ## Act ##Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java
/* @Test public void test_component() throws Exception { // ## Arrange ## String appWebPkg = ".app.web."; String actionSuffix = "Action"; // ## Act ## policeStoryOfJavaClassChase((srcFile, clazz) -> { if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction return; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
// ## Act ## request.timeout(0, 0); // ## Assert ## assertEquals(0, request.connectTimeout); assertEquals(0, request.readTimeout); } @Test public void test_TimeoutFluentChaining() { // ## Arrange & Act ##Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
architecture/runtimes.md
- Tooling API client. This a library that is embedded into applications, such as IDEs or CI agents, that allows them to act as a Gradle client. - Worker processes. Long-running daemon processes that the Gradle daemon starts to run specific kinds of work, such as compilation or test execution.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu May 02 06:42:46 GMT 2024 - 2.3K bytes - Click Count (0) -
CLAUDE.md
- Comprehensive Javadoc on public APIs ## Test Conventions - Test class names end with `Test` - Test methods start with `test_` prefix - Tests use `## Arrange ##`, `## Act ##`, `## Assert ##` comments - Some integration tests require network access ## Important Notes for AI Assistants 1. **Resource Management**: Always use try-with-resources with `CurlResponse`.
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jan 08 07:28:24 GMT 2026 - 4.3K bytes - Click Count (0) -
architecture/README.md
that can send requests to a Gradle daemon. Each daemon runs one request at a time. Generally speaking, the daemons only act in response to a request from a client and do not take any action on their own. There are some background actions that the daemon takes, for example monitoring system memory, watching for file changes or cleaning up caches.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 12 09:50:57 GMT 2025 - 3.6K bytes - Click Count (0)