Examples of listaSoglie()


Examples of jmav.component.GestoreImpostazioni.listaSoglie()

  @Test
  public void testListaSoglieIdSmellNull() throws Exception {
    try
    {
      GestoreImpostazioni gestoreImpostazioni = new GestoreImpostazioni();
      gestoreImpostazioni.listaSoglie(null);
      assertTrue(false);
    } catch(ParameterNotNullException e) {
      assertTrue(true);
    }
  }
View Full Code Here

Examples of jmav.component.GestoreImpostazioni.listaSoglie()

  @Test
  public void testListaSoglieIdSmellNonValido() throws Exception {
    try
    {
      GestoreImpostazioni gestoreImpostazioni = new GestoreImpostazioni();
      gestoreImpostazioni.listaSoglie(4);
      assertTrue(false);
    } catch(ValueNotFoundException e) {
      assertTrue(true);
    }
  }
View Full Code Here

Examples of jmav.component.GestoreImpostazioni.listaSoglie()

    try
    {
      GestoreImpostazioni gestoreImpostazioni = new GestoreImpostazioni();
      gestoreImpostazioni.aggiungiSmell(GestoreImpostazioni.LargeClass);
      assertTrue(true);
      assertEquals(1, gestoreImpostazioni.listaSoglie(GestoreImpostazioni.LargeClass).size());
      assertEquals(Integer.MAX_VALUE, gestoreImpostazioni.listaSoglie(GestoreImpostazioni.LargeClass).get(0).intValue());
    } catch(ValueNotFoundException e) {
      assertTrue(false);
    }
  }
View Full Code Here

Examples of jmav.component.GestoreImpostazioni.listaSoglie()

    {
      GestoreImpostazioni gestoreImpostazioni = new GestoreImpostazioni();
      gestoreImpostazioni.aggiungiSmell(GestoreImpostazioni.LargeClass);
      assertTrue(true);
      assertEquals(1, gestoreImpostazioni.listaSoglie(GestoreImpostazioni.LargeClass).size());
      assertEquals(Integer.MAX_VALUE, gestoreImpostazioni.listaSoglie(GestoreImpostazioni.LargeClass).get(0).intValue());
    } catch(ValueNotFoundException e) {
      assertTrue(false);
    }
  }
 
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.