Add tests for equals, hashCode, toString in String and Number

This commit is contained in:
Zalim Bashorov
2020-01-14 22:03:33 +03:00
parent 8e788e2169
commit c8efe8c4ec
8 changed files with 90 additions and 0 deletions
@@ -14901,11 +14901,21 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/primitiveTypes/nullableCharBoolean.kt");
}
@TestMetadata("numberEqualsHashCodeToString.kt")
public void testNumberEqualsHashCodeToString() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/numberEqualsHashCodeToString.kt");
}
@TestMetadata("rangeTo.kt")
public void testRangeTo() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/rangeTo.kt");
}
@TestMetadata("stringEqualsHashCodeToString.kt")
public void testStringEqualsHashCodeToString() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt");
}
@TestMetadata("substituteIntForGeneric.kt")
public void testSubstituteIntForGeneric() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/substituteIntForGeneric.kt");
@@ -15006,11 +15006,21 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/primitiveTypes/nullableCharBoolean.kt");
}
@TestMetadata("numberEqualsHashCodeToString.kt")
public void testNumberEqualsHashCodeToString() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/numberEqualsHashCodeToString.kt");
}
@TestMetadata("rangeTo.kt")
public void testRangeTo() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/rangeTo.kt");
}
@TestMetadata("stringEqualsHashCodeToString.kt")
public void testStringEqualsHashCodeToString() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt");
}
@TestMetadata("substituteIntForGeneric.kt")
public void testSubstituteIntForGeneric() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/substituteIntForGeneric.kt");