Package org.apache.abdera.util

Examples of org.apache.abdera.util.Configuration


  extends Assert
  implements Constants {

  @Test
  public void testDefaultConfigurationProperties() {
    Configuration config = new AbderaConfiguration();
    assertEquals(
      config.getConfigurationOption(CONFIG_FACTORY, DEFAULT_FACTORY),
      "org.apache.abdera.parser.stax.FOMFactory");
    assertEquals(
      config.getConfigurationOption(CONFIG_PARSER, DEFAULT_PARSER),
      "org.apache.abdera.parser.stax.FOMParser");
    assertEquals(
      config.getConfigurationOption(CONFIG_XPATH, DEFAULT_XPATH),
      "org.apache.abdera.parser.stax.FOMXPath");
  }
View Full Code Here


  extends Assert
  implements Constants {

  @Test
  public void testDefaultConfigurationProperties() {
    Configuration config = new AbderaConfiguration();
    assertEquals(
      config.getConfigurationOption(CONFIG_FACTORY, DEFAULT_FACTORY),
      "org.apache.abdera.parser.stax.FOMFactory");
    assertEquals(
      config.getConfigurationOption(CONFIG_PARSER, DEFAULT_PARSER),
      "org.apache.abdera.parser.stax.FOMParser");
    assertEquals(
      config.getConfigurationOption(CONFIG_XPATH, DEFAULT_XPATH),
      "org.apache.abdera.parser.stax.FOMXPath");
  }
View Full Code Here

  extends Assert
  implements Constants {

  @Test
  public void testDefaultConfigurationProperties() {
    Configuration config = new AbderaConfiguration();
    assertEquals(
      config.getConfigurationOption(CONFIG_FACTORY, DEFAULT_FACTORY),
      "org.apache.abdera.parser.stax.FOMFactory");
    assertEquals(
      config.getConfigurationOption(CONFIG_PARSER, DEFAULT_PARSER),
      "org.apache.abdera.parser.stax.FOMParser");
    assertEquals(
      config.getConfigurationOption(CONFIG_XPATH, DEFAULT_XPATH),
      "org.apache.abdera.parser.stax.FOMXPath");
  }
View Full Code Here

TOP

Related Classes of org.apache.abdera.util.Configuration

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.