Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for equals (0.17 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGeneratorTest.groovy

                            String descriptor, boolean isInterface, Supplier<MethodNode> readMethodNode) {
                        if (owner.equals("java/io/File")) {
                            if (name.equals("listFiles") && descriptor.equals("()[Ljava/io/File;") && (opcode == Opcodes.INVOKEVIRTUAL || opcode == Opcodes.INVOKEINTERFACE)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 19:21:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

                             if (name.equals("isIncremental") && descriptor.equals("()Z") && (opcode == Opcodes.INVOKEVIRTUAL || opcode == Opcodes.INVOKEINTERFACE)) {
                                 mv._INVOKESTATIC(TASK__ADAPTER_TYPE, "access_get_isIncremental", "(Lorg/gradle/test/Task;)Z");
                                 return true;
                             }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

        public static void main(String[] args) {
            if (!"value".equals(System.getProperty("testValue"))) {
                throw new RuntimeException("Expected system property not specified");
            }
            if (!"some value".equals(System.getProperty("testValue2"))) {
                throw new RuntimeException("Expected system property not specified");
            }
            if (!"some value".equals(System.getProperty("testValue3"))) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                        System.out.println("allow unusable daemons = " + allowUnusable);
                        try {
                            if (action.equals("help")) {
                                runHelp(projectDir, gradleVersion, javaHome, gradleUserHome);
                            } else if (action.equals("action")) {
                                buildAction(projectDir, gradleVersion, javaHome, gradleUserHome);
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy

                            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, "custom"))
                        }
                        if (!"${capability}".equals('default')) {
                            outgoing.capability('org.test:sample:1.0')
                        }
                    }
    
                    sample2 {
                        canBeResolved = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            file("build/reports/pmd/test.xml").assertContents(containsClass("org.gradle.Class1Test"))
            output.contains "\tUsing multiple unary operators may be a bug"
            output.contains "\tEnsure you override both equals() and hashCode()"
        }
    
        void "can configure number of threads on good code"() {
            goodCode()
            buildFile << """
                pmd {
                    threads = 2
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DefaultGradleDistribution.groovy

            } else {
                return CacheVersion.parse("0.1");
            }
        }
    
        @Override
        boolean wrapperCanExecute(GradleVersion version) {
            if (version.equals(GradleVersion.version("0.8")) || isVersion("0.8")) {
                // There was a breaking change after 0.8
                return false;
            }
            if (isVersion("0.9.1")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                            // After, we expect the test runtime classpath.
                            String[] filteredCliClasspath = Arrays.copyOfRange(splitCliClasspath, 1, splitCliClasspath.length);
                            java.util.Arrays.equals(splitTestRuntimeClasspath, filteredCliClasspath);
                        } else {
                            List<URL> systemClasspath = Arrays.asList(((URLClassLoader) ClassLoader.getSystemClassLoader()).getURLs());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            def expectedSorted = new ArrayList<String>(expected).sort()
            boolean equals = actual.size() == expectedSorted.size()
            if (equals) {
                for (int i = 0; i < actual.size(); i++) {
                    equals &= actualSorted.get(i).startsWith(expectedSorted.get(i))
                }
            }
            if (!equals) {
                def actualFormatted = Joiner.on("\n").join(actualSorted)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesKotlinDSLDependenciesIntegrationTest.groovy

                    doLast {
                        assert(testCompileClasspathFiles.map { it.name }.equals(listOf("commons-lang3-3.11.jar"))) { "commons-lang3 is an implementation dependency for the default test suite" }
                        assert(testRuntimeClasspathFiles.map { it.name }.equals(listOf("commons-lang3-3.11.jar"))) { "commons-lang3 is an implementation dependency for the default test suite" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 45.8K bytes
    - Viewed (0)
Back to top