Add simple tests for using nested namespace.
This commit is contained in:
@@ -40,5 +40,9 @@ public class MultiNamespaceTest extends MultipleFilesTranslationTest {
|
||||
checkFooBoxIsTrue("namespaceVariableVisibleFromOtherNamespace");
|
||||
}
|
||||
|
||||
|
||||
public void testNestedNamespaceFunctionCalledFromOtherNamespace() throws Exception {
|
||||
checkFooBoxIsTrue("nestedNamespaceFunctionCalledFromOtherNamespace");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -34,4 +34,7 @@ public final class NamespaceTest extends SingleFileTranslationTest {
|
||||
runFunctionOutputTest("deeplyNestedNamespace.kt", "foo1.foo2.foo3.foo5.foo6.foo7.foo8", "box", true);
|
||||
}
|
||||
|
||||
public void testDeeplyNestedNamespaceFunctionCalled() throws Exception {
|
||||
runFunctionOutputTest("deeplyNestedNamespaceFunctionCalled.kt", "foo1.foo2.foo3.foo5.foo6.foo7.foo8", "box", true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user