Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit 0633adb

Browse files
committed
Correzione percorso tests
1 parent 65d1c70 commit 0633adb

File tree

5 files changed

+2
-16
lines changed

5 files changed

+2
-16
lines changed
File renamed without changes.

sources/Rubrica/src/main/test/java/ExportTest.java renamed to sources/Rubrica/src/test/java/ExportTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
package java;
2-
31
import it.unisa.diem.swe.group07.rubrica.models.ContattoEsteso;
42
import it.unisa.diem.swe.group07.rubrica.gestoreIO.Export;
53
import it.unisa.diem.swe.group07.rubrica.models.Rubrica;
@@ -27,7 +25,7 @@ void setUp() {
2725
c2 = new ContattoEsteso("Antonio", "Rossi", "+0234798123", "", "+3933333333", "", "[email protected]", "[email protected]", LocalDate.of(2001, 6, 9), "via Prova", "unisa.it", "note", false, false);
2826
e = new Export();
2927
sb = new StringBuffer();
30-
path = "src/main/test/resources/";
28+
path = "src/test/resources/";
3129
sb.append("BEGIN:VCARD\n")
3230
.append("VERSION:3.0\n")
3331
.append("FN:Emanuele Tocci\n")

sources/Rubrica/src/main/test/java/ImportTest.java renamed to sources/Rubrica/src/test/java/ImportTest.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
1-
/*
2-
* To change this license header, choose License Headers in Project Properties.
3-
* To change this template file, choose Tools | Templates
4-
* and open the template in the editor.
5-
*/
6-
71
import it.unisa.diem.swe.group07.rubrica.gestoreIO.Export;
82
import it.unisa.diem.swe.group07.rubrica.gestoreIO.Import;
93
import it.unisa.diem.swe.group07.rubrica.models.ContattoEsteso;
104
import it.unisa.diem.swe.group07.rubrica.models.Rubrica;
115
import javafx.collections.FXCollections;
126
import javafx.collections.ObservableList;
13-
import javafx.collections.ObservableListBase;
147
import org.junit.jupiter.api.BeforeEach;
158
import org.junit.jupiter.api.Test;
16-
179
import java.io.IOException;
18-
import java.nio.charset.StandardCharsets;
1910
import java.nio.file.Files;
2011
import java.nio.file.Path;
2112
import java.time.LocalDate;
22-
2313
import static org.junit.jupiter.api.Assertions.assertEquals;
2414
import static org.junit.jupiter.api.Assertions.assertTrue;
2515

@@ -39,7 +29,7 @@ public void setUp() {
3929
rubrica = new Rubrica();
4030
importer = new Import();
4131
list = FXCollections.observableArrayList();
42-
path = "src/main/test/resources/";
32+
path = "src/test/resources/";
4333
}
4434

4535
@Test

sources/Rubrica/src/main/test/java/RubricaTest.java renamed to sources/Rubrica/src/test/java/RubricaTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
package java;
2-
31
import it.unisa.diem.swe.group07.rubrica.models.*;
42
import org.junit.jupiter.api.BeforeEach;
53
import org.junit.jupiter.api.Test;
File renamed without changes.

0 commit comments

Comments
 (0)