use of org.erlide.runtime.runtimeinfo.RuntimeVersion in project erlide_eclipse by erlang.
the class RuntimeVersionTest method toString_5a.
@Test
public void toString_5a() {
final String expect = "17.2.3";
final RuntimeVersion test = RuntimeVersion.Serializer.parse(expect);
assertThat(test.toString()).isEqualTo(expect);
}
use of org.erlide.runtime.runtimeinfo.RuntimeVersion in project erlide_eclipse by erlang.
the class RuntimeVersionTest method compare_10.
@Test
public void compare_10() {
final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("17.0.0-rc1");
final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("17.0.0");
assertThat(test1.compareTo(test2)).isLessThan(0);
}
use of org.erlide.runtime.runtimeinfo.RuntimeVersion in project erlide_eclipse by erlang.
the class RuntimeVersionTest method compare_11d.
@Test
public void compare_11d() {
final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("R14B");
final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("R14B");
assertThat(test1.isCompatible(test2)).isEqualTo(true);
}
use of org.erlide.runtime.runtimeinfo.RuntimeVersion in project erlide_eclipse by erlang.
the class RuntimeVersionTest method toString_6a.
@Test
public void toString_6a() {
final String expect = "17.1.1_rc1";
final RuntimeVersion test = RuntimeVersion.Serializer.parse(expect);
assertThat(test.toString()).isEqualTo(expect);
}
use of org.erlide.runtime.runtimeinfo.RuntimeVersion in project erlide_eclipse by erlang.
the class RuntimeVersionTest method toString_1.
@Test
public void toString_1() {
final String expect = "R12";
final RuntimeVersion test = RuntimeVersion.Serializer.parse(expect);
assertThat(test.toString()).isEqualTo(expect);
}
Aggregations