Package org.erlide.runtime.runtimeinfo

Examples of org.erlide.runtime.runtimeinfo.RuntimeVersion


    }

    @Test
    public void toString_7() {
        final String expect = "17.4.0-rc1";
        final RuntimeVersion test = RuntimeVersion.Serializer.parse("17.4-rc1");
        assertThat(test.toString(), is(expect));
    }
View Full Code Here


        assertThat(test.toString(), is(expect));
    }

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

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

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

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

    @Test
    public void compare_1a() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("R13");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("R12");
        assertThat(test1.compareTo(test2), is(greaterThan(0)));
    }
View Full Code Here

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

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

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

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

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

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

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

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

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

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

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

    @Test
    public void compare_7() {
        final RuntimeVersion test1 = RuntimeVersion.Serializer.parse("17.2.0");
        final RuntimeVersion test2 = RuntimeVersion.Serializer.parse("18.1.0");
        assertThat(test1.compareTo(test2), is(lessThan(0)));
    }
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.