New J2K: Replicate J2K Single File test for New J2K

This commit is contained in:
Simon Ogorodnik
2017-10-10 00:19:56 +03:00
committed by Ilya Kirillov
parent b151e9c48c
commit ff0b09f77b
2 changed files with 5217 additions and 0 deletions
@@ -0,0 +1,28 @@
/*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.kotlin.j2k
import com.intellij.openapi.project.Project
abstract class AbstractNewJavaToKotlinConverterSingleFileTest : AbstractJavaToKotlinConverterSingleFileTest() {
override fun fileToKotlin(text: String, settings: ConverterSettings, project: Project): String {
val file = createJavaFile(text)
NewJavaToKotlinConverter(project, settings).filesToKotlin(listOf(file))
TODO("Output generation")
}
}
File diff suppressed because it is too large Load Diff