Remove *ImplTest for Kotlin Gradle Models

Equality should already be guaranteed by Kotlin data classes.
This commit is contained in:
Lucas Smaira
2018-07-27 14:07:51 +01:00
committed by Sergey Igushkin
parent 3c88f761a6
commit 3588547d8c
14 changed files with 0 additions and 185 deletions
@@ -20,7 +20,6 @@ dependencies {
testCompile gradleApi()
testCompile "junit:junit:4.12"
testCompile "nl.jqno.equalsverifier:equalsverifier:2.1.5"
}
evaluationDependsOn(":kotlin-allopen-compiler-plugin")
@@ -1,19 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.allopen.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class AllOpenImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(AllOpenImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}
@@ -78,7 +78,6 @@ dependencies {
testCompile project(':kotlin-compiler-runner')
testCompile project(':kotlin-test::kotlin-test-junit')
testCompile "junit:junit:4.12"
testCompile "nl.jqno.equalsverifier:equalsverifier:2.1.5"
testCompileOnly project(':kotlin-reflect-api')
testCompileOnly project(':kotlin-annotation-processing')
testCompileOnly project(':kotlin-annotation-processing-gradle')
@@ -1,18 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class CompilerArgumentsImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(CompilerArgumentsImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}
@@ -1,18 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class ExperimentalFeaturesImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(ExperimentalFeaturesImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}
@@ -1,18 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class KaptImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(KaptImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}
@@ -1,18 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class KaptSourceSetImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(KaptSourceSetImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}
@@ -1,18 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class KotlinAndroidExtensionImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(KotlinAndroidExtensionImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}
@@ -1,18 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class KotlinProjectImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(KotlinProjectImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}
@@ -1,18 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class SourceSetImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(SourceSetImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}
@@ -26,7 +26,6 @@ dependencies {
testCompile gradleApi()
testCompile "junit:junit:4.12"
testCompile "nl.jqno.equalsverifier:equalsverifier:2.1.5"
}
evaluationDependsOn(":kotlin-noarg-compiler-plugin")
@@ -1,18 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.noarg.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class NoArgImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(NoArgImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}
@@ -26,7 +26,6 @@ dependencies {
testCompile gradleApi()
testCompile "junit:junit:4.12"
testCompile "nl.jqno.equalsverifier:equalsverifier:2.1.5"
}
evaluationDependsOn(":kotlin-sam-with-receiver-compiler-plugin")
@@ -1,18 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.noarg.gradle.model.impl
import nl.jqno.equalsverifier.EqualsVerifier
import nl.jqno.equalsverifier.Warning
import org.junit.Test
class SamWithReceiverImplTest {
@Test
@Throws(Exception::class)
fun equals() {
EqualsVerifier.forClass(SamWithReceiverImpl::class.java).suppress(Warning.NULL_FIELDS).verify()
}
}