Fix testData after types enhancement

This commit is contained in:
Denis Zharkov
2015-06-19 13:56:37 +03:00
parent befe025d21
commit 00e41fc238
3 changed files with 5 additions and 5 deletions
@@ -45,10 +45,10 @@ fun checkAssertions(illegalStateExpected: Boolean) {
check("plus") { A() + A() } check("plus") { A() + A() }
// field // field
check("NULL") { A().NULL } // check("NULL") { A().NULL }
// static field // static field
check("STATIC_NULL") { A.STATIC_NULL } // check("STATIC_NULL") { A.STATIC_NULL }
// postfix expression // postfix expression
// TODO: // TODO:
@@ -137,7 +137,7 @@ public class GenerateNotNullAssertionsTest extends CodegenTestCase {
loadFile("notNullAssertions/javaMultipleSubstitutions.kt"); loadFile("notNullAssertions/javaMultipleSubstitutions.kt");
String text = generateToText(); String text = generateToText();
assertEquals(3, StringUtil.getOccurrenceCount(text, "checkExpressionValueIsNotNull")); assertEquals(0, StringUtil.getOccurrenceCount(text, "checkExpressionValueIsNotNull"));
assertEquals(3, StringUtil.getOccurrenceCount(text, "checkParameterIsNotNull")); assertEquals(3, StringUtil.getOccurrenceCount(text, "checkParameterIsNotNull"));
} }
@@ -4,9 +4,9 @@ Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socke
stepIntoSpecificKotlinClasses.kt:8 stepIntoSpecificKotlinClasses.kt:8
MyJavaClass.java:12 MyJavaClass.java:12
stepIntoSpecificKotlinClasses.kt:8 stepIntoSpecificKotlinClasses.kt:8
Intrinsics.!EXT!
stepIntoSpecificKotlinClasses.kt:8
stepIntoSpecificKotlinClasses.kt:9 stepIntoSpecificKotlinClasses.kt:9
stepIntoSpecificKotlinClasses.kt:10
Thread.!EXT!
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket' Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0 Process finished with exit code 0