blob: 6e27646e13b782a488d1ab980ecda306a16b547e [file] [log] [blame]
package io.bazel.kotlin.builder;
import io.bazel.kotlin.builder.tasks.jvm.KotlinCompiler;
import org.junit.Test;
public class KotlinBuilderActionTests extends KotlinBuilderTestCase {
@Test
public void testCompileSimple() {
addSource("AClass.kt", "package something;" + "class AClass{}");
instance(KotlinCompiler.class).compile(builderCommand());
assertFileExists(DirectoryType.CLASSES, "something/AClass.class");
assertFileDoesNotExist(outputs().getJar());
}
}