Package protobuf.lang.psi.api.member

Examples of protobuf.lang.psi.api.member.PbOptionAssignment


    private List<PbOptionAssignment> getOptionAssignments() {
        return optionAssignments;
    }

    public void testValidateOption1() {
        final PbOptionAssignment optionAssignment = getOptionAssignments().get(0);
        assertEquals(optionAssignment.getOptionName(), "a");
        assertEquals(optionAssignment.getOptionValue(), "1");
    }
View Full Code Here


        assertEquals(optionAssignment.getOptionName(), "a");
        assertEquals(optionAssignment.getOptionValue(), "1");
    }

    public void testValidateOption2() {
        final PbOptionAssignment optionAssignment = getOptionAssignments().get(1);
        assertEquals(optionAssignment.getOptionName(), "(b)");
        assertEquals(optionAssignment.getOptionValue(), "5");
    }
View Full Code Here

        assertEquals(optionAssignment.getOptionName(), "(b)");
        assertEquals(optionAssignment.getOptionValue(), "5");
    }

    public void testValidateOption3() {
        final PbOptionAssignment optionAssignment = getOptionAssignments().get(2);
        assertEquals(optionAssignment.getOptionName(), "java_package");
        assertEquals(optionAssignment.getOptionValue(), "org.example.test");
    }
View Full Code Here

TOP

Related Classes of protobuf.lang.psi.api.member.PbOptionAssignment

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.