Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 206 for methodName2 (0.3 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

            findTestDescriptors(events.tests.collect { it.descriptor }, className, methodName, taskPath, displayName)
        }
    
        private static Collection<TestOperationDescriptor> findTestDescriptors(List<TestOperationDescriptor> descriptors, String className, String methodName = null, String taskpath = null, String displayName = null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/ScriptBlockBuilder.java

         * Adds a method invocation statement to this block
         */
        void methodInvocation(@Nullable String comment, String methodName, Object... methodArgs);
    
        /**
         * Adds a method invocation statement to this block
         */
        void methodInvocation(@Nullable String comment, BuildScriptBuilder.Expression target, String methodName, Object... methodArgs);
    
        /**
         * Adds a statement to this block.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 04 03:37:40 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultTestLauncherTest.groovy

                assert request.testClassNames == ["test"]
                assert request.testExecutionDescriptors == []
    
                assert request.getInternalJvmTestRequests().collect {[it.className, it.methodName]} == [["test", null]]
    
                launcher.withJvmTestClasses("test2")
                launcher.withTests(Stub(TestOperationDescriptor))
    
                assert request.testClassNames == ["test"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

            }
            then:
            assertTaskNotExecuted(":test")
            assertTaskExecuted(":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/integration/GradleApiParameterNamesTest.kt

            )
        }
    
        private
        fun assertHasParameterNames(type: KClass<*>, methodName: String, parameterTypes: List<KClass<*>>, parameterNames: List<String>) {
    
            // java.lang.reflect
            val javaMethod = type.java.getDeclaredMethod(
                methodName,
                *parameterTypes.map { it.java }.toTypedArray()
            )
            assertThat(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/normalization/KotlinApiClassExtractorTest.kt

            BytesClassLoader().loadClassFromBytes(bytes)
    
        fun instantiateAndCall(methodName: String): Any {
            val loadedClass = loadClass()
            val method = loadedClass.getMethod(methodName)
            val instance = loadedClass.getDeclaredConstructor().newInstance()
            return method.invoke(instance)
        }
    
        fun callStatic(methodName: String): Any {
            val loadedClass = loadClass()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/InterceptScope.java

        }
    
        /**
         * The returned scope includes calls to all methods named {@code methodName}.
         *
         * @param methodName the name of the method to intercept
         * @return the scope object
         */
        public static InterceptScope methodsNamed(String methodName) {
            return new NamedMemberScope(CallType.METHOD, methodName);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 14:02:30 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftXCTestWithDepAndCustomXCTestSuite.groovy

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    class SwiftXCTestWithDepAndCustomXCTestSuite extends SwiftXCTest {
        String testSuiteName
        String methodName
        String assertion
        String[] imports
        String[] importsTestable
    
        SwiftXCTestWithDepAndCustomXCTestSuite(
            String projectName,
            String classToTest,
            String assertion,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java

        }
    
        private void registerBuildListener(String methodName, Closure<?> closure) {
            buildListenerBroadcast.add(new ClosureBackedMethodInvocationDispatch(methodName, closure));
        }
    
        private void registerBuildListener(String registrationPoint, String methodName, String signature, Action<? super Gradle> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/MathPreconditions.java

      }
    
      static void checkNoOverflow(boolean condition, String methodName, int a, int b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
      static void checkNoOverflow(boolean condition, String methodName, long a, long b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top