Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getLogLineCount (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy

            daemonLog.lines().withCloseable { lines ->
                lines.skip(fromLine).anyMatch { it.contains(searchString) }
            }
        }
    
        @Override
        long getLogLineCount() {
            return daemonLog.lines().withCloseable { lines -> lines.count() }
        }
    
        DaemonFixture becomesIdle() {
            waitForState(Idle)
            this
        }
    
        DaemonFixture stops() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonFixture.java

        boolean logContains(long fromLine, String searchString);
    
        /**
         * Returns the number of lines in the daemon log.
         *
         * Works without reading the whole log file into memory.
         */
        long getLogLineCount();
    
        /**
         * Returns the TCP port used by this daemon.
         */
        int getPort();
    
        /**
         * Forcefully kills this daemon and all child processes.
         */
        void kill();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top