Examples of charValue()


Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.dblValue(0);
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);
    // bool to string
    value1.boolValue(false);
    value2.charValue("");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);

    // NUMBER data type
    // number to bool (different value)
View Full Code Here

Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.dblValue(0);
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);
    // number to string
    value1.longValue(0);
    value2.charValue("");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);

    // UNSIGNED data type
    // unsigned to bool (different value)
View Full Code Here

Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.dblValue(0);
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);
    // unsigned to string
    value1.unsignedValue(0);
    value2.charValue("");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);

    // DOUBLE data type
    // double to bool (different value)
View Full Code Here

Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.dblValue(0);
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(1, status);
    // double to string
    value1.dblValue(0);
    value2.charValue("");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);

    // STRING data type
    // string to bool (different value)
View Full Code Here

Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.dblValue(0);
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);
    // string to string
    value1.charValue("cdcd");
    value2.charValue("cdcd");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(0, status);
    // string to string (right side higher)
    value1.charValue("abcd");
    value2.charValue("cdcd");
View Full Code Here

Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.charValue("cdcd");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(0, status);
    // string to string (right side higher)
    value1.charValue("abcd");
    value2.charValue("cdcd");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);
    // string to string (left side higher)
    value1.charValue("efcd");
    value2.charValue("cdcd");
View Full Code Here

Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.charValue("cdcd");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);
    // string to string (left side higher)
    value1.charValue("efcd");
    value2.charValue("cdcd");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(1, status);
    // string to string (small letter to capital)
    value1.charValue("cdcd");
    value2.charValue("CDCD");
View Full Code Here

Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.charValue("cdcd");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(1, status);
    // string to string (small letter to capital)
    value1.charValue("cdcd");
    value2.charValue("CDCD");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(1, status);
    // string to string (right side is longer)
    value1.charValue("cdcd");
    value2.charValue("cdcdcd");
View Full Code Here

Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.charValue("CDCD");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(1, status);
    // string to string (right side is longer)
    value1.charValue("cdcd");
    value2.charValue("cdcdcd");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);
    // string to string (left side is longer)
    value1.charValue("cdcdcd");
    value2.charValue("cdcd");
View Full Code Here

Examples of tcg.scada.cos.CosDpValueUnion.charValue()

    value2.charValue("cdcdcd");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(-1, status);
    // string to string (left side is longer)
    value1.charValue("cdcdcd");
    value2.charValue("cdcd");
    status = datapoint._compare(value1, value2);
    Assert.assertEquals(1, status);
  }

  // /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.