Package org.erlide.runtime.runtimeinfo

Examples of org.erlide.runtime.runtimeinfo.RuntimeVersion$Serializer


    }

    @Test
    public void toString_5() {
        final String expect = "17.0.0";
        final RuntimeVersion test = RuntimeVersion.Serializer.parse("17");
        assertThat(test.toString(), is(expect));
    }
View Full Code Here


    }

    @Test
    public void toString_5a() {
        final String expect = "17.2.3";
        final RuntimeVersion test = RuntimeVersion.Serializer.parse(expect);
        assertThat(test.toString(), is(expect));
    }
View Full Code Here

    }

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

    }

    @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

TOP

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

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.