Package org.jboss.jopr.jsfunit.util

Examples of org.jboss.jopr.jsfunit.util.SingleProperties


 

  /** Number of Nodes. */
  public void testJBossCacheDataContainerNumNodes() throws EmbJoprTestException, IOException
  {
    checkOperationResults(LABEL_NUMBER_OF_NODES, new SingleProperties("Output", "1"), ValuesValidator.EQUAL );
  }
View Full Code Here



  /** Number of Attributes. */
  public void testJBossCacheDataContainerNumAttributes() throws EmbJoprTestException, IOException
  {
    checkOperationResults(LABEL_NUMBER_OF_ATTRIBUTES, new SingleProperties("Output", "0"), ValuesValidator.EQUAL );
  }
View Full Code Here


  /** Print details as plain text.  Just a check for currently returned value, can change in future. */
  public void testJBossCacheDataContainerDetailsAsText() throws EmbJoprTestException, IOException
  {
    checkOperationResults(LABEL_DETAILS_TEXT, new SingleProperties("Output", "/ {} /__HA_JNDI__ {}"), ValuesValidator.CONTAINS );
  }
View Full Code Here


  /** Print details as HTML.  Just a check for currently returned value, can change in future. */
  public void testJBossCacheDataContainerDetailsAsHtml() throws EmbJoprTestException, IOException
  {
    checkOperationResults(LABEL_DETAILS_HTML, new SingleProperties("Output", "/&nbsp;&nbsp;{}<br/>&nbsp;&nbsp;/__HA_JNDI__&nbsp;&nbsp;{}"), ValuesValidator.CONTAINS );
  }
View Full Code Here

      Properties props = new Properties();
      props.setProperty("Name", "Transaction Table");
      ejtt.getTabMenu().getTabContentBox().getTableUnformatted(LABEL_GENERAL_PROPERTIES).checkValuesEqual(props);

      // Metrics.
      props = new SingleProperties("Number Of Registered Transactions", "0");
      ejtt.getTabMenu().getTabContentBox().getTableUnderHeader(LABEL_NUMERIC_METRICS).checkValues(props, ValuesValidator.EQUAL);

    }
    finally {
    }
View Full Code Here

    navigateToNode();
    ejtt.getTabMenu().clickMetricsTab();


    // Traits
    Properties props = new SingleProperties("Transaction Map", "{}"); // null
    ejtt.getTabMenu().getTabContentBox().getTableUnformatted(LABEL_TRAITS).checkValues(props, ValuesValidator.EQUAL);

    // Metrics.
    props = new SingleProperties("Number Of Registered Transactions", "0");
    ejtt.getTabMenu().getTabContentBox().getTableUnderHeader(LABEL_NUMERIC_METRICS).checkValues(props, ValuesValidator.EQUAL);

  }
View Full Code Here

    navigateToNode();
    ejtt.getTabMenu().clickMetricsTab();


    // Metrics.
    Properties props = new SingleProperties("Number of Regions", "0");
    ejtt.getTabMenu().getTabContentBox().getTableUnderHeader(LABEL_NUMERIC_METRICS).checkValues(props, ValuesValidator.EQUAL);

  }
View Full Code Here

    navigateToNode();
    ejtt.getTabMenu().clickMetricsTab();


    // Traits
    Properties props = new SingleProperties("Statistics Enabled?", "true");
    ejtt.getTabMenu().getTabContentBox().getTableUnformatted(LABEL_TRAITS).checkValues(props, ValuesValidator.EQUAL);

    // Metrics.
    props = new Properties();
    props.setProperty("Commits", "0");
    props.setProperty("Rollbacks", "0");
    props.setProperty("Prepares", "0");
    props.setProperty("Number Of Syncs Registered", "0");
    ejtt.getTabMenu().getTabContentBox().getTableUnderHeader(LABEL_NUMERIC_METRICS).checkValues(props, ValuesValidator.EQUAL);

  }
View Full Code Here

  public void testServiceBindingManagerSummaryTest() throws IOException, EmbJoprTestException  {

    // Go to Service Binding Managers node.
    ejtt.navTree.getNodeByLabel(NAV_SBM).click();

    ejtt.tabMenu.getTabContentBox().getTableUnformatted(LABEL_GENERAL_PROPERTIES).checkValuesEqual( new SingleProperties("Name", NAV_SBM) );

  }
View Full Code Here

    props.setProperty("Sync Commit Phase?", "false");
    props.setProperty("State", "3");
    props.setProperty("Transaction Manager Lookup Class", "org.jboss.cache.transaction.BatchModeTransactionManagerLookup");
    ejtt.getTabMenu().getTabContentBox().getTableUnformatted(LABEL_TRAITS).checkValuesEqual(props);

    props = new SingleProperties("Replication Version", "\\d+.\\d+.\\d+");
    ejtt.getTabMenu().getTabContentBox().getTableUnformatted(LABEL_TRAITS).checkValues(props, ValuesValidator.MATCHES);



View Full Code Here

TOP

Related Classes of org.jboss.jopr.jsfunit.util.SingleProperties

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.