Package cc.plural.jsonij.reflect

Examples of cc.plural.jsonij.reflect.ReflectType


     */
    @Test
    public void testInspectObjectType_Byte() {
        System.out.println("inspectObjectType_Byte");
        Class<?> c = null;
        ReflectType expResult = null;

        c = Byte.class;
        expResult = ReflectType.BYTE;

        System.out.println(String.format("Found Class: \"%s\"", c));
        ReflectType result = ReflectType.inspectObjectType(c);
        assertEquals(expResult, result);

        boolean expResultPrimitive = false;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here


     */
    @Test
    public void inspectObjectType_short() {
        System.out.println("inspectObjectType_short");
        Class<?> c = null;
        ReflectType expResult = null;

        c = short.class;
        expResult = ReflectType.SHORT;

        ReflectType result = ReflectType.inspectObjectType(c);
        System.out.println(String.format("Found Class: \"%s\"", c));
        assertEquals(expResult, result);

        boolean expResultPrimitive = true;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here

     */
    @Test
    public void testInspectObjectType_Short() {
        System.out.println("inspectObjectType_Short");
        Class<?> c = null;
        ReflectType expResult = null;

        c = Short.class;
        expResult = ReflectType.SHORT;

        System.out.println(String.format("Found Class: \"%s\"", c));
        ReflectType result = ReflectType.inspectObjectType(c);
        assertEquals(expResult, result);

        boolean expResultPrimitive = false;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here

     */
    @Test
    public void testInspectObjectType_int() {
        System.out.println("inspectObjectType_int");
        Class<?> c = null;
        ReflectType expResult = null;

        c = int.class;
        expResult = ReflectType.INTEGER;

        ReflectType result = ReflectType.inspectObjectType(c);
        System.out.println(String.format("Found Class: \"%s\"", c));
        assertEquals(expResult, result);

        boolean expResultPrimitive = true;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here

     */
    @Test
    public void testInspectObjectType_Integer() {
        System.out.println("inspectObjectType_Integer");
        Class<?> c = null;
        ReflectType expResult = null;

        c = Integer.class;
        expResult = ReflectType.INTEGER;

        System.out.println(String.format("Found Class: \"%s\"", c));
        ReflectType result = ReflectType.inspectObjectType(c);
        assertEquals(expResult, result);

        boolean expResultPrimitive = false;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here

     */
    @Test
    public void testInspectObjectType_float() {
        System.out.println("inspectObjectType_float");
        Class<?> c = null;
        ReflectType expResult = null;

        c = float.class;
        expResult = ReflectType.FLOAT;

        ReflectType result = ReflectType.inspectObjectType(c);
        System.out.println(String.format("Found Class: \"%s\"", c));
        assertEquals(expResult, result);

        boolean expResultPrimitive = true;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here

     */
    @Test
    public void testInspectObjectType_Float() {
        System.out.println("inspectObjectType_Integer");
        Class<?> c = null;
        ReflectType expResult = null;

        c = Float.class;
        expResult = ReflectType.FLOAT;

        System.out.println(String.format("Found Class: \"%s\"", c));
        ReflectType result = ReflectType.inspectObjectType(c);
        assertEquals(expResult, result);

        boolean expResultPrimitive = false;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here

     */
    @Test
    public void testInspectObjectType_long() {
        System.out.println("inspectObjectType_long");
        Class<?> c = null;
        ReflectType expResult = null;

        c = long.class;
        expResult = ReflectType.LONG;

        ReflectType result = ReflectType.inspectObjectType(c);
        System.out.println(String.format("Found Class: \"%s\"", c));
        assertEquals(expResult, result);

        boolean expResultPrimitive = true;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here

     */
    @Test
    public void testInspectObjectType_Long() {
        System.out.println("inspectObjectType_Long");
        Class<?> c = null;
        ReflectType expResult = null;

        c = Long.class;
        expResult = ReflectType.LONG;

        System.out.println(String.format("Found Class: \"%s\"", c));
        ReflectType result = ReflectType.inspectObjectType(c);
        assertEquals(expResult, result);

        boolean expResultPrimitive = false;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here

     */
    @Test
    public void testInspectObjectType_double() {
        System.out.println("inspectObjectType_double");
        Class<?> c = null;
        ReflectType expResult = null;

        c = double.class;
        expResult = ReflectType.DOUBLE;

        ReflectType result = ReflectType.inspectObjectType(c);
        System.out.println(String.format("Found Class: \"%s\"", c));
        assertEquals(expResult, result);

        boolean expResultPrimitive = true;
        boolean resultPrimitive = result.isPrimitive();
        assertEquals(expResultPrimitive, resultPrimitive);
    }
View Full Code Here

TOP

Related Classes of cc.plural.jsonij.reflect.ReflectType

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.