Package org.freeplane.plugin.script.proxy

Examples of org.freeplane.plugin.script.proxy.Convertible


    assertEquals(toConvert, convertible(expected).getProperty(propertyName));
  }

    @Test
    public void testGetBool() {
        assertTrue(new Convertible("true").getBool());
        assertTrue(new Convertible("True").getBool());
        assertTrue(new Convertible("TRUE").getBool());
        assertFalse(new Convertible("false").getBool());
        assertFalse(new Convertible("something").getBool());
        assertFalse(new Convertible(null).getBool());
    }
View Full Code Here

TOP

Related Classes of org.freeplane.plugin.script.proxy.Convertible

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.