blob: a8516bf7ec58fe381c01625d9ed021d425514557 [file] [log] [blame]
package io.bazel.kotlin.builder;
import org.junit.Test;
public class KotlinBuilderActionTests extends KotlinBuilderTestCase {
@Test
public void testCompileSimple() {
addSource("AClass.kt", "package something;" + "class AClass{}");
component().jvmTaskExecutor().compileKotlin(builderCommand(), context());
assertFileExists(DirectoryType.CLASSES, "something/AClass.class");
assertFileDoesNotExist(outputs().getJar());
}
}