Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 572 for addLine (0.19 sec)

  1. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        }
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        try {
          equalsTester.addEqualityGroup(reference, equalObject1, null);
          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /** Test adding null equal object yields error */
      public void testAddNullEqualObject() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCompileIntegrationTest.groovy

            when:
            outputs.snapshot()
            main.replace("a: 21, b: 21", "a: 5, b: 7")
            succeeds("compileDebugSwift")
    
            then:
            outputs.recompiledFile(main)
        }
    
        def 'adding a new file only compiles new file'() {
            given:
            def outputs = new CompilationOutputsFixture(file("build/obj/main/debug"), [".o"])
            def app = new SwiftApp()
            settingsFile << "rootProject.name = 'app'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_repositories.adoc

    == Maven repositories
    
    Many organizations host dependencies in an in-house Maven repository only accessible within the company's network.
    Gradle can declare Maven repositories by URL.
    
    For adding a custom Maven repository you can do:
    
    .Adding custom Maven repository
    ====
    include::sample[dir="snippets/artifacts/defineRepository/kotlin",files="build.gradle.kts[tags=maven-like-repo]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 43.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/installation.adoc

    [subs="attributes"]
    ----
    ❯ export PATH=$PATH:/opt/gradle/gradle-{gradleVersion}/bin
    ----
    
    Alternatively, you could also add the environment variable `GRADLE_HOME` and point this to the unzipped distribution.
    Instead of adding a specific version of Gradle to your `PATH`, you can add `$GRADLE_HOME/bin` to your `PATH`.
    When upgrading to a different version of Gradle, simply change the `GRADLE_HOME` environment variable.
    
    [subs="attributes"]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileAttributesTest.java

                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

            list.add(0, 'a')
            list.add(0, 'b')
    
            then:
            1 * action.execute('a')
            1 * action.execute('b')
            0 * action._
        }
    
        def "cannot add duplicate element by adding element at given index"() {
            given:
            list.add('a')
    
            when:
            list.add(1, 'a')
    
            then:
            InvalidUserDataException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. tests/integration/pilot/common/traffic.go

    	toN int
    	// viaIngress makes the ingress gateway the caller for tests
    	viaIngress bool
    	// sourceMatchers allows adding additional filtering for workload agnostic cases to test using fewer clients
    	sourceMatchers []match.Matcher
    	// targetMatchers allows adding additional filtering for workload agnostic cases to test using fewer targets
    	targetMatchers []match.Matcher
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 19:10:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. src/go/types/stdlib_test.go

    	if err != nil {
    		return ""
    	}
    	defer f.Close()
    
    	var src [4 << 10]byte // read at most 4KB
    	n, _ := f.Read(src[:])
    
    	var first string
    	var s scanner.Scanner
    	s.Init(fset.AddFile("", fset.Base(), n), src[:n], nil /* ignore errors */, scanner.ScanComments)
    	for {
    		_, tok, lit := s.Scan()
    		switch tok {
    		case token.COMMENT:
    			// remove trailing */ of multi-line comment
    			if lit[1] == '*' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    }
    
    func (tw *Writer) writePAXHeader(hdr *Header, paxHdrs map[string]string) error {
    	realName, realSize := hdr.Name, hdr.Size
    
    	// TODO(dsnet): Re-enable this when adding sparse support.
    	// See https://golang.org/issue/22735
    	/*
    		// Handle sparse files.
    		var spd sparseDatas
    		var spb []byte
    		if len(hdr.SparseHoles) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyHandler.java

        /**
         * Creates a dependency without adding it to a configuration.
         *
         * @param dependencyNotation The dependency notation, in one of the notations described above.
         * @return The dependency.
         */
        Dependency create(Object dependencyNotation);
    
        /**
         * Creates a dependency without adding it to a configuration, and configures the dependency using
         * the given closure.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top