Examples of valueString()


Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueString()

    query.bindValue(":shareKey", shareKey);
    if (!query.exec())
      logger.log(logger.EXTREME, "Linked notebook SQL retrieve by share name has failed.");
    String val = null;
    if (query.next())
      val = query.valueString(0);
    return val;
  }
  // set sync date
  public String setLastSequenceDate(String guid, long date) {
    
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueString()

    query.bindValue(":guid", guid);
    if (!query.exec())
      logger.log(logger.EXTREME, "Linked notebook SQL retrieve by share name has failed.");
    String val = null;
    if (query.next())
      val = query.valueString(0);
    return val;
  }
  // set sync number
  public String setLastSequenceNumber(String guid, int number) {
    
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueString()

    query.bindValue(":guid", guid);
    if (!query.exec())
      logger.log(logger.EXTREME, "Linked notebook SQL retrieve by share name has failed.");
    String val = null;
    if (query.next())
      val = query.valueString(0);
    return val;
  }
 
  // Get a list of linked notebooks that need to be updated
  public List<String> getDirtyGuids() {
View Full Code Here

Examples of cx.fbn.nevernote.sql.driver.NSqlQuery.valueString()

               
    check = query.exec("Select guid from LinkedNotebook where isDirty = true");
    if (!check)
      logger.log(logger.EXTREME, "LinkedNotebook SQL retrieve has failed in getdirtyIds.");
    while (query.next()) {
      index.add(query.valueString(0));
   
    return index; 
  }

}
View Full Code Here

Examples of st.gravel.support.compiler.ast.FixedPointLiteralNode.valueString()

  @Test
  public void testParseFixedPoint() {
    final FixedPointLiteralNode _node;
    _node = ((FixedPointLiteralNode) Parser.factory.source_("12345.0067s").parseExpression());
    assertEquals((st.gravel.support.jvm.SmalltalkFactory) FixedPointLiteralNode.factory, (st.gravel.support.jvm.SmalltalkFactory) _node.factory());
    assertEquals((String) "12345.0067s", (String) _node.valueString());
  }

  @Test
  public void testParseFixedPointNegativeWithExponent() {
    final FixedPointLiteralNode _node;
View Full Code Here

Examples of st.gravel.support.compiler.ast.FixedPointLiteralNode.valueString()

  @Test
  public void testParseFixedPointNegativeWithExponent() {
    final FixedPointLiteralNode _node;
    _node = ((FixedPointLiteralNode) Parser.factory.source_("-2.5s2").parseExpression());
    assertEquals((st.gravel.support.jvm.SmalltalkFactory) FixedPointLiteralNode.factory, (st.gravel.support.jvm.SmalltalkFactory) _node.factory());
    assertEquals((String) "-2.5s2", (String) _node.valueString());
  }

  @Test
  public void testParseFixedPointNegativeWithoutExponent() {
    final FixedPointLiteralNode _node;
View Full Code Here

Examples of st.gravel.support.compiler.ast.FixedPointLiteralNode.valueString()

  @Test
  public void testParseFixedPointNegativeWithoutExponent() {
    final FixedPointLiteralNode _node;
    _node = ((FixedPointLiteralNode) Parser.factory.source_("-2.5s").parseExpression());
    assertEquals((st.gravel.support.jvm.SmalltalkFactory) FixedPointLiteralNode.factory, (st.gravel.support.jvm.SmalltalkFactory) _node.factory());
    assertEquals((String) "-2.5s", (String) _node.valueString());
  }

  @Test
  public void testParseFixedPointWithExponent() {
    final FixedPointLiteralNode _node;
View Full Code Here

Examples of st.gravel.support.compiler.ast.FixedPointLiteralNode.valueString()

  @Test
  public void testParseFixedPointWithExponent() {
    final FixedPointLiteralNode _node;
    _node = ((FixedPointLiteralNode) Parser.factory.source_("5.1s2").parseExpression());
    assertEquals((st.gravel.support.jvm.SmalltalkFactory) FixedPointLiteralNode.factory, (st.gravel.support.jvm.SmalltalkFactory) _node.factory());
    assertEquals((String) "5.1s2", (String) _node.valueString());
  }

  @Test
  public void testParseFixedPointWithoutExponent() {
    final FixedPointLiteralNode _node;
View Full Code Here

Examples of st.gravel.support.compiler.ast.FixedPointLiteralNode.valueString()

  @Test
  public void testParseFixedPointWithoutExponent() {
    final FixedPointLiteralNode _node;
    _node = ((FixedPointLiteralNode) Parser.factory.source_("2.5s").parseExpression());
    assertEquals((st.gravel.support.jvm.SmalltalkFactory) FixedPointLiteralNode.factory, (st.gravel.support.jvm.SmalltalkFactory) _node.factory());
    assertEquals((String) "2.5s", (String) _node.valueString());
  }

  @Test
  public void testParseFixedPointWithZero() {
    final FixedPointLiteralNode _node;
View Full Code Here

Examples of st.gravel.support.compiler.ast.FixedPointLiteralNode.valueString()

  @Test
  public void testParseFixedPointWithZero() {
    final FixedPointLiteralNode _node;
    _node = ((FixedPointLiteralNode) Parser.factory.source_("0.5s").parseExpression());
    assertEquals((st.gravel.support.jvm.SmalltalkFactory) FixedPointLiteralNode.factory, (st.gravel.support.jvm.SmalltalkFactory) _node.factory());
    assertEquals((String) "0.5s", (String) _node.valueString());
  }

  @Test
  public void testParseFixedPointWithZero2() {
    final FixedPointLiteralNode _node;
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.