提交 6f3f1a11 编写于 作者: E Evgeny Gerashchenko

Added test cases for StandardLibraryReferenceResolverTest.

上级 cfb08447
var x : <ref>Any?
//jet.src/Any.jet:Any
\ No newline at end of file
fun f(p : () -> String) {
p.<ref>invoke()
}
//jet.src/Functions.jet:invoke
\ No newline at end of file
val x : <ref>Int?
//jet/Numbers.jet:Int
\ No newline at end of file
var x : <ref>Nothing
//jet.src/Nothing.jet:Nothing
\ No newline at end of file
val x = 5.<ref>sure()
//jet/Library.jet:sure
\ No newline at end of file
val x = 2.0 <ref>* 3.0
//jet/Numbers.jet:times
\ No newline at end of file
var x = #(1, 2).<ref>_1
//jet.src/Tuples.jet:_1
\ No newline at end of file
......@@ -36,6 +36,34 @@ import java.util.List;
* @since 5/11/12
*/
public class StandardLibraryReferenceResolverTest extends ResolveTestCase {
public void testAny() throws Exception {
doTest();
}
public void testFunction() throws Exception {
doTest();
}
public void testInt() throws Exception {
doTest();
}
public void testNothing() throws Exception {
doTest();
}
public void testSure() throws Exception {
doTest();
}
public void testTimes() throws Exception {
doTest();
}
public void testTupleElement() throws Exception {
doTest();
}
public void testUnit() throws Exception {
doTest();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册