Files
kotlin-fork/j2k/tests/testData/ast/issues/kt-837.jav
T
Pavel V. Talanov 82b19499e3 Converter tests:
Use generated tests approach in converter tests

Introduce two seperate generated test cases of each of configurations, all tests are generated in both test cases
Test data for plugin configuration has extension "ide.kt", for basic configuration "*.kt"
Test data file is used to determine type of the test (file/class/expression/...) instead of directory, all test data is moved accordingly
Add abstract base classes for generated tests
Rename test folder "file" to "misc" (for the lack of imagination)
2013-12-22 15:53:13 +04:00

20 lines
563 B
Java

//file
package com.voltvoodoo.saplo4j.model;
import java.io.Serializable;
public class Language implements Serializable {
public static Language ENGLISH = new Language("en");
public static Language SWEDISH = new Language("sv");
protected String code;
private static final long serialVersionUID = -2442762969929206780L;
public Language(String code) {
this.code = code;
}
public boolean equals(Language other) {
return other.toString().equals(this.toString());
}
}