Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 110 for equals (0.13 sec)

  1. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ResourceFilterTest.groovy

    import org.gradle.plugins.ide.eclipse.model.internal.DefaultResourceFilterMatcher
    import spock.lang.Specification
    
    public class ResourceFilterTest extends Specification {
        def "ResourceFilter equals and hashCode satisfies contract"() {
            when:
            EqualsVerifier.forClass(DefaultResourceFilter.class)
                    .suppress(Warning.NONFINAL_FIELDS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/NormalizingCopyActionDecoratorTest.groovy

                }
    
                boolean matches(Object o) {
                    FileCopyDetails details = (FileCopyDetails) o
                    return details.getRelativePath().getPathString().equals(path)
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 22 14:38:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixture.groovy

                        verify(notification.getNotificationOperationResult(), 'Result')
                    }
    
                    private void verify(Object obj, String suffix = null) {
                        if (obj.getClass().getName().equals("org.gradle.internal.operations.OperationProgressDetails")) {
                            // This progress notification is emitted by Gradle itself.
                            return;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/protocol/ChannelIdentifierTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.remote.internal.hub.protocol
    
    import spock.lang.Specification
    
    class ChannelIdentifierTest extends Specification {
        def "equals and hash code"() {
            def id = new ChannelIdentifier("channel")
            def same = new ChannelIdentifier("channel")
            def different = new ChannelIdentifier("other")
    
            expect:
            id == same
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/artifactreuse/SameCacheUsageCrossVersionIntegrationTest.groovy

        }
    
        static boolean isIgnoredMilestone(DefaultGradleDistribution distribution) {
            def v = distribution.version
            v.snapshot && v.baseVersion.version.equals("5.0") && v < GradleVersion.version("5.0-20181004235847+0000") // 5.0-milestone-1 had a different cache layout version
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractTaskTest.groovy

        }
    
        def setup() {
            serviceRegistry.add(ObjectFactory.class, objectFactory)
        }
    
        def "test Task"() {
            expect:
            getTask().isEnabled()
            TEST_TASK_NAME.equals(getTask().getName())
            getTask().getDescription() == null
            project.is(getTask().getProject())
            getTask().getStandardOutputCapture() != null
            getTask().getInputs() != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/DefaultBuildIdentifierTest.groovy

            expect:
            def id = new DefaultBuildIdentifier(Path.path(":thing"))
            id.buildPath == ':thing'
            id.currentBuild
            id.toString() == "build ':thing'"
        }
    
        def "has equals"() {
            expect:
            def id = new DefaultBuildIdentifier(Path.path(":one"))
            def same = new DefaultBuildIdentifier(Path.path(":one"))
            def different = new DefaultBuildIdentifier(Path.path(":two"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 09:18:31 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGSuiteIntegrationTest.groovy

            file("src/test/java/FooTest.java") << """
                import org.testng.annotations.*;
    
                public class FooTest {
                    @Test public void foo() {
                      assert System.getProperty("name").equals("value");
                    }
                }
            """
            when:
            succeeds("test")
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/AbstractPropertiesCommandLineConverterTest.groovy

        }
    
        def "parses properties args with no property value"() {
            expect:
            convert("-Aa", "-Ab=") == [a: "", b: ""]
        }
    
        def "parses properties arg containing equals"() {
            expect:
            convert("-Aprop=a b=c", "-Aprop2==", "-Aprop3=ab=") == [prop: 'a b=c', prop2: '=', prop3: 'ab=']
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitAbortedTestClassIntegrationTest.groovy

                public class SkippingRuleTests {
    
                    @Rule
                    public MethodRule misbehavingSkippingRule = (statement, method, target) -> {
                        assumeFalse(method.getName().equals("b"));
                        return statement;
                    };
    
                    @Test
                    public void a() {
                    }
    
                    @Test
                    public void b() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top