Package org.geomajas.service

Examples of org.geomajas.service.TestRecorder.matches()


  @Test
  public void testNormalGood() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestNormalGood.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  @Test
  public void testNormalBadBackend() throws Exception {
View Full Code Here


  @Test
  public void testChecksInIdeBD() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestInIdeBackendDef.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  @Test
  public void testChecksInIdeBR() throws Exception {
View Full Code Here

  @Test
  public void testChecksInIdeBR() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestInIdeBackendRef.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  @Test
  public void testChecksInIdePD() throws Exception {
View Full Code Here

  @Test
  public void testChecksInIdePD() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestInIdePluginDef.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  @Test
  public void testChecksInIdePR() throws Exception {
View Full Code Here

  @Test
  public void testChecksInIdePR() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestInIdePluginRef.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  @Test
  public void testChecksDuplicatePluginGood() throws Exception {
View Full Code Here

  @Test
  public void testChecksDuplicatePluginGood() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestDuplicatePluginGood.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  @Test
  public void testChecksDuplicatePluginBad() throws Exception {
View Full Code Here

  @Test
  public void testChecksOptionalGood() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestOptionalGood.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  @Test
  public void testChecksOptionalMissing() throws Exception {
View Full Code Here

  @Test
  public void testChecksOptionalMissing() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestOptionalMissing.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  @Test
  public void testChecksOptionalBad() throws Exception {
View Full Code Here

  @Test
  public void testChecksSourceFirst() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestSourceFirst.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  @Test
  public void testChecksSourceLast() throws Exception {
View Full Code Here

  @Test
  public void testChecksSourceLast() throws Exception {
    ApplicationContext ac = loadApplicationContext("/org/geomajas/spring/dependencyTestSourceLast.xml");
    TestRecorder recorder = ac.getBean(TestRecorder.class);
    Assert.assertEquals("", recorder.matches(DependencyCheckPostProcessor.GROUP,
        DependencyCheckPostProcessor.VALUE));
  }

  private ApplicationContext loadApplicationContext(String... locations) throws Exception {
    try {
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.