Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for writeContents (0.16 sec)

  1. platforms/jvm/testing-jvm/src/testFixtures/groovy/org/gradle/testing/fixture/JUnitPlatformTestFixture.groovy

            def testSuite = new TestSuite(name, this)
            testSuites.add(testSuite)
            return testSuite
        }
    
        void writeTestClassFiles() {
            testSuites.each { it.writeContents() }
            testClasses.each { it.writeContents() }
        }
    
        static class TestSuite {
            final String name
            final JUnitPlatformTestFixture fixture
    
            Set<TestClass> selected = [] as LinkedHashSet
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

            assert tmpFile.renameTo(file)
            onPublish(file)
        }
    
        private void writeContents(output, Closure cl) {
            output.withWriter("utf-8", cl)
        }
    
        private void writeZipped(TestFile testFile, Closure cl) {
            def bos = new ByteArrayOutputStream()
            writeContents(bos, cl)
    
            ZipArchiveOutputStream zipStream = new ZipArchiveOutputStream(testFile)
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

                    response.setHeaders(con.getHeaderFields());
                } catch (final Exception e) {
                    throw new CurlException("Failed to access the response.", e);
                }
                writeContent(() -> {
                    try {
                        if (con.getResponseCode() < 400) {
                            if (GZIP.equals(con.getContentEncoding())) {
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            if (client == null) {
                throw new FessSystemException("No CrawlerClient: " + configId + ", url: " + url);
            }
            return writeContent(configId, url, client);
        }
    
        protected StreamResponse writeContent(final String configId, final String url, final CrawlerClient client) {
            final StreamResponse response = new StreamResponse(StringUtil.EMPTY);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top