[Test] Convert TestJdkKind.java to Kotlin

This commit is contained in:
Dmitriy Novozhilov
2021-07-14 11:38:36 +03:00
committed by teamcityserver
parent 4a09fba3a4
commit 04d9d243de
@@ -13,21 +13,28 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jetbrains.kotlin.test
package org.jetbrains.kotlin.test; enum class TestJdkKind {
public enum TestJdkKind {
MOCK_JDK, MOCK_JDK,
// Differs from common mock JDK only by one additional 'nonExistingMethod' in Collection and constructor from Double in Throwable // Differs from common mock JDK only by one additional 'nonExistingMethod' in Collection and constructor from Double in Throwable
// It's needed to test the way we load additional built-ins members that neither in black nor white lists // It's needed to test the way we load additional built-ins members that neither in black nor white lists
// Also, now it contains new methods in java.lang.String introduced in JDK 11 // Also, now it contains new methods in java.lang.String introduced in JDK 11
MODIFIED_MOCK_JDK, MODIFIED_MOCK_JDK,
// JDK found at $JDK_16 // JDK found at $JDK_16
FULL_JDK_6, FULL_JDK_6,
// JDK found at $JDK_19
// JDK found at $JDK_9
FULL_JDK_9, FULL_JDK_9,
// JDK found at $JDK_15 // JDK found at $JDK_15
FULL_JDK_15, FULL_JDK_15,
// JDK found at $JDK_15
FULL_JDK_17,
// JDK found at java.home // JDK found at java.home
FULL_JDK, FULL_JDK,
ANDROID_API, ANDROID_API,