Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 417 for line1 (0.17 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractLoggingHooksFunctionalTest.groovy

            lines = file("output.txt").text.readLines()
    
            then:
            lines.containsAll([
                    'error',
                    'System.out',
                    'System.err'
            ])
    
            and:
            !lines.contains('debug')
            !lines.contains('info')
            !lines.contains('lifecycle')
            !lines.contains('warn')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/SpringBootWebAppTestOutputNormalizer.groovy

            List<String> lines = output.readLines()
            int buildSuccessfulLineIndex = lines.indexOf("BUILD SUCCESSFUL in 0s")
            assert buildSuccessfulLineIndex != -1
    
            List<String> normalized = lines.subList(0, buildSuccessfulLineIndex).grep { !it.isEmpty() } + "" + lines.subList(buildSuccessfulLineIndex, lines.size())
            return normalized.join("\n")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/go/doc/comment/testdata/code.txt

    More text.
    
          Blocks
        can
    
      have
        blank
          lines.
    -- gofmt --
    Text.
    
    	A tab-indented
    	(no, not eight-space indented)
    	code block and haiku.
    
    More text.
    
    	One space
    	 is
    	  enough
    	   to
    	    start
    	     a
    	      block.
    
    More text.
    
    	    Blocks
    	  can
    
    	have
    	  blank
    	    lines.
    -- markdown --
    Text.
    
    	A tab-indented
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:47 UTC 2022
    - 944 bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesErrorHandlingIntegrationTest.groovy

            failure.assertHasLineNumber(lines + 3)
            failure.assertHasCause("There was an error while evaluating a component metadata rule for org.test:projectA:1.0.")
            failure.assertHasCause("No signature of method: WrongRule.foo() is applicable for argument types: () values: []")
        }
    
        def "produces sensible error for invalid component metadata rule" () {
            def lines = buildFile.readLines().size()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/LineReader.java

      private final char[] buf = cbuf.array();
    
      private final Queue<String> lines = new ArrayDeque<>();
      private final LineBuffer lineBuf =
          new LineBuffer() {
            @Override
            protected void handleLine(String line, String end) {
              lines.add(line);
            }
          };
    
      /** Creates a new instance that will read lines from the given {@code Readable} object. */
      public LineReader(Readable readable) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/filter.go

    	if m := loc.Mapping; m != nil && re.MatchString(m.File) {
    		return nil
    	}
    	var lines []Line
    	for _, ln := range loc.Line {
    		if fn := ln.Function; fn != nil {
    			if re.MatchString(fn.Name) || re.MatchString(fn.Filename) {
    				continue
    			}
    		}
    		lines = append(lines, ln)
    	}
    	return lines
    }
    
    // matchedLines returns the lines in the location that match
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSinkTester.java

        String separator = System.getProperty("line.separator");
        sink.writeLines(lines);
    
        assertContainsExpectedLines(separator);
      }
    
      public void testWriteLines_specificSeparator() throws IOException {
        String separator = "\r\n";
        sink.writeLines(lines, separator);
    
        assertContainsExpectedLines(separator);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProgressLoggingFixture.groovy

            println "-> CHECKING: $progressContent"
            def lines = progressContent
            def startIndex = lines.indexOf("[START " + operation + "]")
            if (startIndex == -1) {
                return false
            }
            lines = lines[startIndex..<lines.size()]
            lines = lines[0..lines.indexOf("[END " + operation + "]")]
            lines.size() >= 2
        }
    
        @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. testing/soak/src/integTest/groovy/org/gradle/launcher/daemon/DaemonPerformanceMonitoringSoakTest.groovy

                    }
                    if (newDaemons > 1) {
                        return true
                    }
                    def lines = gradle.standardOutput.readLines()
                    dataFile << lines[lines.findLastIndexOf { it.startsWith "Starting" }]
                    dataFile << "  " + lines[lines.findLastIndexOf { it.contains "Total time:" }]
                    dataFile << "\n"
                }
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

                    return false;
                }
            }
            return true;
        }
    
        /**
         * Finds all the lines in the actual line that match any line in the expected list.
         *
         * @return a map of expected line index to a list of all actual line indices that match the expected line
         */
        private static Map<Integer, List<Integer>> findMatchingLines(List<String> expectedLines, List<String> actualLines) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top