82b19499e3
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)
20 lines
563 B
Java
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());
|
|
}
|
|
} |