Package com.volantis.styling.properties

Examples of com.volantis.styling.properties.PropertyDetailsBuilder


     * value accuracy.
     */
    public void testCheckStatusDefaultStatus() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        final PropertyClearerCheckerImpl checker =
            createChecker(propertyDetailsBuilder, null);

        deviceValue = DeviceValues.DEFAULT;

View Full Code Here


     * the same as the default value.
     */
    public void testCheckStatusDefaultStatusKnownAccuracyDefaultInitialValue() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInitialValueAccuracy(
            InitialValueAccuracy.KNOWN);
        propertyDetailsBuilder.setInitialValueSource(
            new FixedInitialValue(DEFAULT_VALUE));
        final PropertyClearerCheckerImpl checker =
            createChecker(propertyDetailsBuilder, null);

        deviceValue = DeviceValues.DEFAULT;
View Full Code Here

     * be something different than the default value.
     */
    public void testCheckStatusDefaultStatusKnownAccuracyOtherInitialValue() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInitialValueAccuracy(
            InitialValueAccuracy.KNOWN);
        propertyDetailsBuilder.setInitialValueSource(
            new FixedInitialValue(OTHER_VALUE));
        final PropertyClearerCheckerImpl checker =
            createChecker(propertyDetailsBuilder, null);

        deviceValue = DeviceValues.DEFAULT;
View Full Code Here

     * set, unknown initial value accuracy.
     */
    public void testCheckStatusDefaultStatusInheritedNoParent() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);
        final PropertyClearerCheckerImpl checker =
            createChecker(propertyDetailsBuilder, null);

        deviceValue = DeviceValues.DEFAULT;

View Full Code Here

     * If the property is inherited, device's initial value doesn't matter.
     */
    public void testCheckStatusDefaultStatusKnownAccuracyDefaultInitialValueInheritedNoParent() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);
        propertyDetailsBuilder.setInitialValueAccuracy(
            InitialValueAccuracy.KNOWN);
        propertyDetailsBuilder.setInitialValueSource(
            new FixedInitialValue(DEFAULT_VALUE));
        final PropertyClearerCheckerImpl checker =
            createChecker(propertyDetailsBuilder, null);

        deviceValue = DeviceValues.DEFAULT;
View Full Code Here

     * If the property is inherited, device's initial value doesn't matter.
     */
    public void testCheckStatusDefaultStatusKnownAccuracyOtherInitialValueInheritedNoParent() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);
        propertyDetailsBuilder.setInitialValueAccuracy(
            InitialValueAccuracy.KNOWN);
        propertyDetailsBuilder.setInitialValueSource(
            new FixedInitialValue(OTHER_VALUE));
        final PropertyClearerCheckerImpl checker =
            createChecker(propertyDetailsBuilder, null);

        deviceValue = DeviceValues.DEFAULT;
View Full Code Here

     * default value, the device has no known or unknown default value.
     */
    public void testCheckStatusDefaultStatusInheritedWithDefaultParent() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);

        final PropertyValues parentValues = createDefaultParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);

View Full Code Here

     * If the property is inherited, device's initial value shouldn't matter.
     */
    public void testCheckStatusDefaultStatusKnownAccuracyDefaultInitialValueInheritedWithDefaultParent() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);
        propertyDetailsBuilder.setInitialValueAccuracy(
            InitialValueAccuracy.KNOWN);
        propertyDetailsBuilder.setInitialValueSource(
            new FixedInitialValue(DEFAULT_VALUE));

        final PropertyValues parentValues = createDefaultParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);
View Full Code Here

     * If the property is inherited, device's initial value shouldn't matter
     */
    public void testCheckStatusDefaultStatusKnownAccuracyOtherInitialValueInheritedWithDefaultParent() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);
        propertyDetailsBuilder.setInitialValueAccuracy(
            InitialValueAccuracy.KNOWN);
        propertyDetailsBuilder.setInitialValueSource(
            new FixedInitialValue(OTHER_VALUE));

        final PropertyValues parentValues = createDefaultParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);
View Full Code Here

     * not known.
     */
    public void testCheckStatusDefaultStatusInheritedWithOtherParent() {

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);

        final PropertyValues parentValues = createOtherParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);

View Full Code Here

TOP

Related Classes of com.volantis.styling.properties.PropertyDetailsBuilder

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.