Examples of OccorrenzaSmell


Examples of jmav.object.OccorrenzaSmell

  @Test
  public void testEsportaRisultatiFileNUll() throws Exception {
    try
    {
      Posizione posizione = UtilTest.getClasse(LOCTest.ClassWith2LinesOfCode);
      OccorrenzaSmell occorrenzaSmell = new OccorrenzaSmell(posizione, true, "LargeClass");
     
      GestoreRisultati gestoreRisultati = new GestoreRisultati();
      gestoreRisultati.restituisciRisultato(occorrenzaSmell);
      assertTrue(true);
      String nameFile = "test.csv";
View Full Code Here

Examples of jmav.object.OccorrenzaSmell

  @Test
  public void testEsportaRisultatiOnlyClass() throws Exception {
    try
    {
      Posizione posizione = UtilTest.getClasse(LOCTest.ClassWith2LinesOfCode);
      OccorrenzaSmell occorrenzaSmell = new OccorrenzaSmell(posizione, true, "LargeClass");
     
      GestoreRisultati gestoreRisultati = new GestoreRisultati();
      gestoreRisultati.restituisciRisultato(occorrenzaSmell);
      assertTrue(true);
      String nameFile = "test.csv";
View Full Code Here

Examples of jmav.object.OccorrenzaSmell

  @Test
  public void testEsportaRisultatiOnlyMethod() throws Exception {
    try
    {
      Posizione posizione = UtilTest.getMetodo(LOCTest.MethodWith2LinesOfCode);
      OccorrenzaSmell occorrenzaSmell = new OccorrenzaSmell(posizione, true, "LongMethod");
     
      GestoreRisultati gestoreRisultati = new GestoreRisultati();
      gestoreRisultati.restituisciRisultato(occorrenzaSmell);
      assertTrue(true);
      String nameFile = "test.csv";
View Full Code Here

Examples of jmav.object.OccorrenzaSmell

  @Test
  public void testEsportaRisultatiClassAndMethod() throws Exception {
    try
    {
      Posizione posizione = UtilTest.getClasse(LOCTest.ClassWith2LinesOfCode);
      OccorrenzaSmell occorrenzaSmell = new OccorrenzaSmell(posizione, true, "LargeClass");
      Posizione posizione2 = UtilTest.getMetodo(LOCTest.MethodWith2LinesOfCode);
      OccorrenzaSmell occorrenzaSmell2 = new OccorrenzaSmell(posizione2, true, "LongMethod");
     
      GestoreRisultati gestoreRisultati = new GestoreRisultati();
      gestoreRisultati.restituisciRisultato(occorrenzaSmell);
      gestoreRisultati.restituisciRisultato(occorrenzaSmell2);
      assertTrue(true);
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.