Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for equals (0.12 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

            // Verify some assumptions: that we've got the correct characters in there, and that we're not using the system encoding
            assert code.contains(new String(Character.toChars(0x3b1)))
            assert !Arrays.equals(code.bytes, file.bytes)
        }
    
        def badCode() {
            file("src/main/java/compile/test/Person.java") << """
                package compile.test;
    
                public class Person {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

                            java.util.jar.Attributes mainAttributes = manifest.getMainAttributes()
                            String symbolicName = mainAttributes.getValue("Bundle-SymbolicName")
                            if ("com.google.guava".equals(symbolicName)) {
                                println "Guava version: " + mainAttributes.getValue("Bundle-Version")
                                break
                            }
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

            outputContains('Hello World!')
    
            cleanup:
            testJavaHome.usingNativeTools().deleteDir() //remove symlink
        }
    
        @Requires(UnitTestPreconditions.UnixDerivative)
        def "java PID equals script PID"() {
            given:
            succeeds('installDist')
            def binFile = file('build/install/sample/bin/sample')
            binFile.text = """#!/usr/bin/env sh
    echo Script PID: \$\$
    
    $binFile.text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

                            return
                        }
                    }
                    if (revalidate) {
                        String cacheControl = request.getHeader("Cache-Control")
                        if (!cacheControl.equals("max-age=0")) {
                            response.sendError(412, String.format("Precondition Failed: Expected Cache-Control:max-age=0 but was '%s'", cacheControl))
                            return
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top