- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for strictlyEquals (0.2 sec)
-
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/SocketInetAddressTest.groovy
def differentPort = new SocketInetAddress(localhost, 45) def differentAddress = new SocketInetAddress(java.net.InetAddress.getByName("192.168.1.1"), 45) expect: address Matchers.strictlyEqual(same) address != differentAddress address != differentPort }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/NamespaceIdTest.groovy
given: NamespaceId id1 = new NamespaceId("some-namespace", "some-name") NamespaceId id2 = new NamespaceId("some-namespace", "some-name") expect: id1 Matchers.strictlyEqual(id2) } def "hashCode and equals determine inequality" () { given: NamespaceId id1 = new NamespaceId(namespace1, name1) NamespaceId id2 = new NamespaceId(namespace2, name2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/MultiChoiceAddressTest.groovy
def differentCandidates = new MultiChoiceAddress(id, 1234, [address2]) def differentCanonical = new MultiChoiceAddress(otherId, 1234, [address1]) expect: address Matchers.strictlyEqual(same) address != differentCandidates address != differentPort address != differentCanonical }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/LibraryTest.groovy
Library library = createLibrary() Library same = createLibrary() Library differentPath = createLibrary() differentPath.path = '/other' expect: library Matchers.strictlyEqual(same) library != differentPath } private Library createLibrary() { Library library = new Library(fileReferenceFactory.fromPath('/ant.jar')) library.exported = true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultIvyArtifactNameTest.groovy
def differentExt = new DefaultIvyArtifactName("name", "type", "other", 'classifier') def differentAttr = new DefaultIvyArtifactName("name", "type", "ext", 'other') expect: name Matchers.strictlyEqual(same) name != differentName name != differentType name != differentExt name != differentAttr } def "creates for PublishArtifact"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/VariableTest.groovy
Variable variable = createVariable() Variable same = createVariable() Variable different = createVariable() different.path = '/other' expect: variable Matchers.strictlyEqual(same) variable != different } private Variable createVariable() { Variable variable = new Variable(fileReferenceFactory.fromVariablePath('/GRADLE_CACHE/ant.jar'))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactoryTest.groovy
def reference = factory.fromFile(file) def sameFile = factory.fromFile(file) def differentFile = factory.fromFile(rootDir) expect: reference Matchers.strictlyEqual(sameFile) reference != differentFile } private String relpath(File file) { return file.absolutePath.replace(File.separator, '/') } private String jarUrL(File file) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 4K bytes - Viewed (0)