Package org.erlide.runtime.runtimeinfo

Examples of org.erlide.runtime.runtimeinfo.RuntimeVersion


        assertThat(test1.compareTo(test2), is(lessThan(0)));
    }

    @Test
    public void compare_8() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("17.0.0");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("17.1.0");
        assertThat(test1.compareTo(test2), is(lessThan(0)));
    }
View Full Code Here


        assertThat(test1.compareTo(test2), is(lessThan(0)));
    }

    @Test
    public void compare_9() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("17.1.1");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("17.1.2");
        assertThat(test1.compareTo(test2), is(lessThan(0)));
    }
View Full Code Here

        assertThat(test1.compareTo(test2), is(lessThan(0)));
    }

    @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), is(lessThan(0)));
    }
View Full Code Here

        assertThat(test1.compareTo(test2), is(lessThan(0)));
    }

    @Test
    public void compare_10a() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("17.0.0-rc1");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("17.0.0-rc2");
        assertThat(test1.compareTo(test2), is(lessThan(0)));
    }
View Full Code Here

        assertThat(test1.compareTo(test2), is(lessThan(0)));
    }

    @Test
    public void compare_11() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("R14B");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("R14");
        assertThat(test1.isCompatible(test2), is(true));
    }
View Full Code Here

        assertThat(test1.isCompatible(test2), is(true));
    }

    @Test
    public void compare_11d() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("R14B");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("R14B");
        assertThat(test1.isCompatible(test2), is(true));
    }
View Full Code Here

        assertThat(test1.isCompatible(test2), is(true));
    }

    @Test
    public void compare_11a() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("R14");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("R14B");
        assertThat(test1.isCompatible(test2), is(true));
    }
View Full Code Here

        assertThat(test1.isCompatible(test2), is(true));
    }

    @Test
    public void compare_11b() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("R15B");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("R14");
        assertThat(test1.isCompatible(test2), is(true));
    }
View Full Code Here

        assertThat(test1.isCompatible(test2), is(true));
    }

    @Test
    public void compare_11c() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("R14");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("R15B");
        assertThat(test1.isCompatible(test2), is(false));
    }
View Full Code Here

    // assertThat(test1.compareTo(test2), is(lessThan(0)));
    // }

    @Test
    public void compare_12a() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("R14");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("R15");
        assertThat(test1.isReleaseCompatible(test2), is(false));
    }
View Full Code Here

TOP

Related Classes of org.erlide.runtime.runtimeinfo.RuntimeVersion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.