first commit

This commit is contained in:
Djalim 2024-02-08 08:32:36 +01:00
commit 8538a8d410
46 changed files with 958 additions and 0 deletions

BIN
maintenance.zip Normal file

Binary file not shown.

81
pom.xml Normal file
View File

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>fr.simailadjalim</groupId>
<artifactId>maintenance-tests</artifactId>
<version>1.0-SNAPSHOT</version>
<name>maintenance-tests</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>pl.pragmatists</groupId>
<artifactId>JUnitParams</artifactId>
<version>1.1.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins>
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

View File

@ -0,0 +1,10 @@
package fr.simailadjalim;
public class Address {
private String street;
public Address(String street) {
this.street = street;
}
}

View File

@ -0,0 +1,16 @@
package fr.simailadjalim;
import java.util.HashMap;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
}
}

View File

@ -0,0 +1,35 @@
public class BookingSystem {
private ArrayList<Boolean> reservations;
public BookingSystem() {
reservations = new ArrayList<Boolean>(24);
for (int i = 0; i < 24; i++){
reservations.add(Boolean.FALSE);
}
}
public List<Integer> listBookedHours() {
List<Integer> booked = new ArrayList<Integer>();
for (int i = 0; i < 24; i++){
if (reservations.get(i)) {
booked.add(i);
}
}
return booked;
}
public boolean reserve(int hour) {
if (hour < 0 || hour > 23){
throw new IllegalArgumentException();
}
if (reservations.get(hour)){ return false;}
else {
reservations.add(hour, Boolean.TRUE);
return true;
}
}
}

View File

@ -0,0 +1,25 @@
package fr.simailadjalim;
import java.util.ArrayList;
import java.util.List;
public class Client {
private List<Address> addresses = new ArrayList<Address>();
public Client(Address addressA) {
addresses = new ArrayList<Address>();
addresses.add(addressA);
}
public Client() {
addresses = new ArrayList<Address>();
}
public void addAddress(Address address) {
addresses.add(address);
}
public List<Address> getAddresses() {
return addresses;
}
}

View File

@ -0,0 +1,34 @@
package fr.simailadjalim;
/**
* FahrenheitCelciusConverter class will convert between Fahrenheit and
* Celcius with two static methods. Needed for exercise 3.11.4.
*
* @author Larry Tambascio
*/
public class FahrenheitCelciusConverter
{
/**
* Convert temperature in celcius to fahrenheit
*
* @param celcius Temperature in degrees celcius
* @return Corresponding temperature in degrees fahrenheit
*/
public static int toFahrenheit(int celcius)
{
int fahrenheit = (celcius * 9 / 5) + 32;
return fahrenheit;
}
/**
* Convert temperature in fahrenheit to celcius
*
* @param fahrenheit Temperature in degrees fahrenheit
* @return Corresponding temperature in degrees celcius
*/
public static int toCelcius(int fahrenheit)
{
int celcius = (fahrenheit - 32) * 5 / 9;
return celcius;
}
}

View File

@ -0,0 +1,36 @@
package fr.simailadjalim;
public class Money {
private final int amount;
private final String currency;
public Money(int amount, String currency) {
if (amount < 0) {
throw new IllegalArgumentException("illegal amount: [" + amount + "]");
}
if (currency == null || currency.isEmpty()) {
throw new IllegalArgumentException( "illegal currency: [" + currency + "]");
}
this.amount = amount; this.currency = currency;
}
public int getAmount() {
return amount;
}
public String getCurrency() {
return currency;
}
public boolean equals(Object anObject) {
if (anObject instanceof Money) {
Money money = (Money) anObject;
return money.getCurrency().equals(getCurrency())
&& getAmount() == money.getAmount();
}
return false;
}
}

View File

@ -0,0 +1,7 @@
package fr.simailadjalim;
public class PasswordValidator {
public static boolean validate(String password) {
if (password.length() < 6){ return false; }
return password.matches("[a-zA-Z]\\w+\\d"); }
}

View File

@ -0,0 +1,21 @@
package fr.simailadjalim;
import java.util.List;
import java.util.ArrayList;
public class StringReverser {
public static String reverse(String s) {
List<String> tempArray = new ArrayList<String>(s.length());
for (int i = 0; i < s.length(); i++) {
tempArray.add(s.substring(i, i+1));
}
StringBuilder reversedString = new StringBuilder(s.length());
for (int i = tempArray.size() -1; i >= 0; i--) {
reversedString.append(tempArray.get(i));
}
return reversedString.toString();
}
}

View File

@ -0,0 +1,34 @@
package fr.simailadjalim;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.util.List;
public class BookingSystemTest {
@Test
public void testReserveInvalidHour() {
BookingSystem bookingSystem = new BookingSystem();
assertThrows(IllegalArgumentException.class, () -> {
bookingSystem.reserve(-1);
});
assertThrows(IllegalArgumentException.class, () -> {
bookingSystem.reserve(24);
});
}
@Test
public void testReserveValidHour() {
BookingSystem bookingSystem = new BookingSystem();
Assertions.assertTrue(bookingSystem.reserve(12));
List<Integer> bookedHours = bookingSystem.listBookedHours();
Assertions.assertEquals(1, bookedHours.size());
Assertions.assertTrue(bookedHours.contains(12));
Assertions.assertFalse(bookingSystem.reserve(12));
}
}

View File

@ -0,0 +1,41 @@
package fr.simailadjalim;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.*;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
public class ClientTest {
private Address addressA = new Address("street A");
private Address addressB = new Address("street B");
private Client client;
@Before
public void init() {
client = new Client();
}
@Test
public void afterCreationShouldHaveNoAddress() {
assertEquals(0, client.getAddresses().size());
}
@Test
public void shouldAllowToAddAddress() {
client.addAddress(addressA);
assertEquals(1, client.getAddresses().size());
assertTrue(client.getAddresses().contains(addressA));
}
@Test
public void shouldAllowToAddManyAddresses(){
client.addAddress(addressA);
client.addAddress(addressB);
assertEquals(2, client.getAddresses().size());
assertTrue(client.getAddresses().contains(addressA));
assertTrue(client.getAddresses().contains(addressB));
}
}

View File

@ -0,0 +1,24 @@
package fr.simailadjalim;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.*;
import org.junit.runner.RunWith;
import static org.junit.Assert.assertEquals;
public class FahrenheitCelciusConverterTest {
@Test
public void shouldConvertCelciusToFahrenheit() {
assertEquals(32, FahrenheitCelciusConverter.toFahrenheit(0));
assertEquals(98, FahrenheitCelciusConverter.toFahrenheit(37));
assertEquals(212, FahrenheitCelciusConverter.toFahrenheit(100));
}
@Test
public void shouldConvertFahrenheitToCelcius() {
assertEquals(0, FahrenheitCelciusConverter.toCelcius(32));
assertEquals(37, FahrenheitCelciusConverter.toCelcius(100));
assertEquals(100, FahrenheitCelciusConverter.toCelcius(212));
}
}

View File

@ -0,0 +1,51 @@
package fr.simailadjalim;
import java.util.HashMap;
import java.lang.Integer;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.*;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
public class HashMapTest{
@Test
public void thingsCanBeStoredInMap() {
HashMap map = new HashMap<String,Object>();
Object o = new Object();
map.put("object 1", o);
Object o2 = map.get("object 1");
assertEquals(o,o2);
}
@Test
public void thingsCanBeReplacedInMap() {
HashMap map = new HashMap<String,Integer>();
map.put("le nombre", 1);
assertEquals(map.get("le nombre"),1);
map.put("le nombre", 2);
assertEquals(map.get("le nombre"),2);
}
@Test
public void clearShouldClear() {
HashMap map = new HashMap<Integer,Integer>();
map.put(1,1);
assertFalse(map.isEmpty());
map.clear();
assertTrue(map.isEmpty());
}
@Test
public void nullIsAValidKey(){
HashMap map = new HashMap<String,Object>();
Object o = new Object();
map.put(null, o);
Object o2 = map.get(null);
assertEquals(o,o2);
}
}

View File

@ -0,0 +1,45 @@
package fr.simailadjalim;
import org.junit.Test;
import org.junit.Assert.*;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.assertEquals;
@RunWith(JUnitParamsRunner.class)
public class MoneyTest{
@Test
public void moneyCanBeMade(){
Money money = new Money(5,"bitcoin");
assertEquals(money.getAmount(),5);
}
@Test
public void moneyCanStillBeMade(){
Money money = new Money(12,"dogecoin");
}
@Test
public void moneyExists(){
Money money = new Money(5,"bitcoin");
}
private static final Object[] getMoney(){
return new Object[] {
new Object[] {10, "USD"},
new Object[] {20, "EUR"}
};
}
@Test
@Parameters(method = "getMoney")
public void constructorShouldSetAmountAndCurrency(int amount, String currency){
Money money = new Money(amount, currency);
assertEquals(amount, money.getAmount());
assertEquals(currency, money.getCurrency());
}
}

View File

@ -0,0 +1,27 @@
package fr.simailadjalim;
import java.util.HashMap;
import java.lang.Integer;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.*;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
public class PasswordTest {
@Test
public void testPasswordLengthLowerThanSix() {
assertFalse(PasswordValidator.validate("a1"));
}
@Test
public void testPasswordWithoutAlphabetOrDigit() {
assertFalse(PasswordValidator.validate("test123#"));
}
@Test
public void testValidPassword() {
assertTrue(PasswordValidator.validate("abc123"));
}
}

View File

@ -0,0 +1,34 @@
package fr.simailadjalim;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.*;
import org.junit.runner.RunWith;
import static org.junit.Assert.assertEquals;
@RunWith(JUnitParamsRunner.class)
public class StringTest {
@Test
public void reverseReversesWords() {
assertEquals("kayak",StringReverser.reverse("kayak"));
}
@Test
public void reverseReversesOtherWords() {
assertEquals("google",StringReverser.reverse("elgoog"));
}
@Test
public void reverseWordShouldKeepCase() {
assertEquals("Djalim",StringReverser.reverse("milajD"));
}
@Test
public void emptyWordShouldStayEmpty() {
assertEquals("",StringReverser.reverse(""));
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,7 @@
fr/simailadjalim/Client.class
fr/simailadjalim/StringReverser.class
fr/simailadjalim/Address.class
fr/simailadjalim/App.class
fr/simailadjalim/FahrenheitCelciusConverter.class
fr/simailadjalim/Money.class
fr/simailadjalim/PasswordValidator.class

View File

@ -0,0 +1,7 @@
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/main/java/fr/simailadjalim/FahrenheitCelciusConverter.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/main/java/fr/simailadjalim/Address.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/main/java/fr/simailadjalim/Money.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/main/java/fr/simailadjalim/Client.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/main/java/fr/simailadjalim/StringReverser.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/main/java/fr/simailadjalim/App.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/main/java/fr/simailadjalim/PasswordValidator.java

View File

@ -0,0 +1,6 @@
fr/simailadjalim/PasswordTest.class
fr/simailadjalim/HashMapTest.class
fr/simailadjalim/FahrenheitCelciusConverterTest.class
fr/simailadjalim/MoneyTest.class
fr/simailadjalim/ClientTest.class
fr/simailadjalim/StringTest.class

View File

@ -0,0 +1,6 @@
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/test/java/fr/simailadjalim/ClientTest.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/test/java/fr/simailadjalim/HashMapTest.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/test/java/fr/simailadjalim/FahrenheitCelciusConverterTest.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/test/java/fr/simailadjalim/MoneyTest.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/test/java/fr/simailadjalim/StringTest.java
/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/src/test/java/fr/simailadjalim/PasswordTest.java

View File

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="fr.simailadjalim.ClientTest" time="0.026" tests="3" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="21"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="java.vm.vendor" value="Homebrew"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.vendor.url" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="os.name" value="Mac OS X"/>
<property name="java.vm.specification.version" value="21"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="FR"/>
<property name="sun.boot.library.path" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home/lib"/>
<property name="sun.java.command" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar /Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire 2024-02-07T11-27-03_142-jvmRun1 surefire15413439337202374633tmp surefire_012876322913258697186tmp"/>
<property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="/Users/djalim"/>
<property name="user.language" value="fr"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2024-01-16"/>
<property name="java.home" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home"/>
<property name="file.separator" value="/"/>
<property name="basedir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="java.vm.compressedOopsMode" value="Zero based"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="apple.awt.application.name" value="ForkedBooter"/>
<property name="surefire.real.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.runtime.version" value="21.0.2"/>
<property name="user.name" value="djalim"/>
<property name="stdout.encoding" value="UTF-8"/>
<property name="path.separator" value=":"/>
<property name="os.version" value="12.7.2"/>
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
<property name="java.vendor.version" value="Homebrew"/>
<property name="localRepository" value="/Users/djalim/.m2/repository"/>
<property name="java.vendor.url.bug" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="java.io.tmpdir" value="/var/folders/tq/mtw9l54d7g355v8d3j098hdw0000gn/T/"/>
<property name="java.version" value="21.0.2"/>
<property name="user.dir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="os.arch" value="x86_64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="native.encoding" value="UTF-8"/>
<property name="java.library.path" value="/Users/djalim/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="stderr.encoding" value="UTF-8"/>
<property name="java.vendor" value="Homebrew"/>
<property name="java.vm.version" value="21.0.2"/>
<property name="sun.io.unicode.encoding" value="UnicodeBig"/>
<property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.class.version" value="65.0"/>
</properties>
<testcase name="shouldAllowToAddAddress" classname="fr.simailadjalim.ClientTest" time="0.005"/>
<testcase name="shouldAllowToAddManyAddresses" classname="fr.simailadjalim.ClientTest" time="0.002"/>
<testcase name="afterCreationShouldHaveNoAddress" classname="fr.simailadjalim.ClientTest" time="0.003"/>
</testsuite>

View File

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="fr.simailadjalim.FahrenheitCelciusConverterTest" time="0.015" tests="2" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="21"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="java.vm.vendor" value="Homebrew"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.vendor.url" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="os.name" value="Mac OS X"/>
<property name="java.vm.specification.version" value="21"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="FR"/>
<property name="sun.boot.library.path" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home/lib"/>
<property name="sun.java.command" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar /Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire 2024-02-07T11-27-03_142-jvmRun1 surefire15413439337202374633tmp surefire_012876322913258697186tmp"/>
<property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="/Users/djalim"/>
<property name="user.language" value="fr"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2024-01-16"/>
<property name="java.home" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home"/>
<property name="file.separator" value="/"/>
<property name="basedir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="java.vm.compressedOopsMode" value="Zero based"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="apple.awt.application.name" value="ForkedBooter"/>
<property name="surefire.real.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.runtime.version" value="21.0.2"/>
<property name="user.name" value="djalim"/>
<property name="stdout.encoding" value="UTF-8"/>
<property name="path.separator" value=":"/>
<property name="os.version" value="12.7.2"/>
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
<property name="java.vendor.version" value="Homebrew"/>
<property name="localRepository" value="/Users/djalim/.m2/repository"/>
<property name="java.vendor.url.bug" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="java.io.tmpdir" value="/var/folders/tq/mtw9l54d7g355v8d3j098hdw0000gn/T/"/>
<property name="java.version" value="21.0.2"/>
<property name="user.dir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="os.arch" value="x86_64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="native.encoding" value="UTF-8"/>
<property name="java.library.path" value="/Users/djalim/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="stderr.encoding" value="UTF-8"/>
<property name="java.vendor" value="Homebrew"/>
<property name="java.vm.version" value="21.0.2"/>
<property name="sun.io.unicode.encoding" value="UnicodeBig"/>
<property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.class.version" value="65.0"/>
</properties>
<testcase name="shouldConvertFahrenheitToCelcius" classname="fr.simailadjalim.FahrenheitCelciusConverterTest" time="0.003"/>
<testcase name="shouldConvertCelciusToFahrenheit" classname="fr.simailadjalim.FahrenheitCelciusConverterTest" time="0.001"/>
</testsuite>

View File

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="fr.simailadjalim.HashMapTest" time="0.19" tests="4" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="21"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="java.vm.vendor" value="Homebrew"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.vendor.url" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="os.name" value="Mac OS X"/>
<property name="java.vm.specification.version" value="21"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="FR"/>
<property name="sun.boot.library.path" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home/lib"/>
<property name="sun.java.command" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar /Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire 2024-02-07T11-27-03_142-jvmRun1 surefire15413439337202374633tmp surefire_012876322913258697186tmp"/>
<property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="/Users/djalim"/>
<property name="user.language" value="fr"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2024-01-16"/>
<property name="java.home" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home"/>
<property name="file.separator" value="/"/>
<property name="basedir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="java.vm.compressedOopsMode" value="Zero based"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="apple.awt.application.name" value="ForkedBooter"/>
<property name="surefire.real.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.runtime.version" value="21.0.2"/>
<property name="user.name" value="djalim"/>
<property name="stdout.encoding" value="UTF-8"/>
<property name="path.separator" value=":"/>
<property name="os.version" value="12.7.2"/>
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
<property name="java.vendor.version" value="Homebrew"/>
<property name="localRepository" value="/Users/djalim/.m2/repository"/>
<property name="java.vendor.url.bug" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="java.io.tmpdir" value="/var/folders/tq/mtw9l54d7g355v8d3j098hdw0000gn/T/"/>
<property name="java.version" value="21.0.2"/>
<property name="user.dir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="os.arch" value="x86_64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="native.encoding" value="UTF-8"/>
<property name="java.library.path" value="/Users/djalim/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="stderr.encoding" value="UTF-8"/>
<property name="java.vendor" value="Homebrew"/>
<property name="java.vm.version" value="21.0.2"/>
<property name="sun.io.unicode.encoding" value="UnicodeBig"/>
<property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.class.version" value="65.0"/>
</properties>
<testcase name="thingsCanBeStoredInMap" classname="fr.simailadjalim.HashMapTest" time="0.009"/>
<testcase name="nullIsAValidKey" classname="fr.simailadjalim.HashMapTest" time="0.001"/>
<testcase name="thingsCanBeReplacedInMap" classname="fr.simailadjalim.HashMapTest" time="0"/>
<testcase name="clearShouldClear" classname="fr.simailadjalim.HashMapTest" time="0"/>
</testsuite>

View File

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="fr.simailadjalim.MoneyTest" time="0.076" tests="5" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="21"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="java.vm.vendor" value="Homebrew"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.vendor.url" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="os.name" value="Mac OS X"/>
<property name="java.vm.specification.version" value="21"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="FR"/>
<property name="sun.boot.library.path" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home/lib"/>
<property name="sun.java.command" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar /Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire 2024-02-07T11-27-03_142-jvmRun1 surefire15413439337202374633tmp surefire_012876322913258697186tmp"/>
<property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="/Users/djalim"/>
<property name="user.language" value="fr"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2024-01-16"/>
<property name="java.home" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home"/>
<property name="file.separator" value="/"/>
<property name="basedir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="java.vm.compressedOopsMode" value="Zero based"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="apple.awt.application.name" value="ForkedBooter"/>
<property name="surefire.real.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.runtime.version" value="21.0.2"/>
<property name="user.name" value="djalim"/>
<property name="stdout.encoding" value="UTF-8"/>
<property name="path.separator" value=":"/>
<property name="os.version" value="12.7.2"/>
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
<property name="java.vendor.version" value="Homebrew"/>
<property name="localRepository" value="/Users/djalim/.m2/repository"/>
<property name="java.vendor.url.bug" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="java.io.tmpdir" value="/var/folders/tq/mtw9l54d7g355v8d3j098hdw0000gn/T/"/>
<property name="java.version" value="21.0.2"/>
<property name="user.dir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="os.arch" value="x86_64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="native.encoding" value="UTF-8"/>
<property name="java.library.path" value="/Users/djalim/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="stderr.encoding" value="UTF-8"/>
<property name="java.vendor" value="Homebrew"/>
<property name="java.vm.version" value="21.0.2"/>
<property name="sun.io.unicode.encoding" value="UnicodeBig"/>
<property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.class.version" value="65.0"/>
</properties>
<testcase name="constructorShouldSetAmountAndCurrency(10, USD) [0]" classname="fr.simailadjalim.MoneyTest" time="0.017"/>
<testcase name="constructorShouldSetAmountAndCurrency(20, EUR) [1]" classname="fr.simailadjalim.MoneyTest" time="0.001"/>
<testcase name="moneyCanStillBeMade" classname="fr.simailadjalim.MoneyTest" time="0.001"/>
<testcase name="moneyCanBeMade" classname="fr.simailadjalim.MoneyTest" time="0.001"/>
<testcase name="moneyExists" classname="fr.simailadjalim.MoneyTest" time="0.002"/>
</testsuite>

View File

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="fr.simailadjalim.PasswordTest" time="0.009" tests="3" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="21"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="java.vm.vendor" value="Homebrew"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.vendor.url" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="os.name" value="Mac OS X"/>
<property name="java.vm.specification.version" value="21"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="FR"/>
<property name="sun.boot.library.path" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home/lib"/>
<property name="sun.java.command" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar /Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire 2024-02-07T11-27-03_142-jvmRun1 surefire15413439337202374633tmp surefire_012876322913258697186tmp"/>
<property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="/Users/djalim"/>
<property name="user.language" value="fr"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2024-01-16"/>
<property name="java.home" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home"/>
<property name="file.separator" value="/"/>
<property name="basedir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="java.vm.compressedOopsMode" value="Zero based"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="apple.awt.application.name" value="ForkedBooter"/>
<property name="surefire.real.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.runtime.version" value="21.0.2"/>
<property name="user.name" value="djalim"/>
<property name="stdout.encoding" value="UTF-8"/>
<property name="path.separator" value=":"/>
<property name="os.version" value="12.7.2"/>
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
<property name="java.vendor.version" value="Homebrew"/>
<property name="localRepository" value="/Users/djalim/.m2/repository"/>
<property name="java.vendor.url.bug" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="java.io.tmpdir" value="/var/folders/tq/mtw9l54d7g355v8d3j098hdw0000gn/T/"/>
<property name="java.version" value="21.0.2"/>
<property name="user.dir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="os.arch" value="x86_64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="native.encoding" value="UTF-8"/>
<property name="java.library.path" value="/Users/djalim/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="stderr.encoding" value="UTF-8"/>
<property name="java.vendor" value="Homebrew"/>
<property name="java.vm.version" value="21.0.2"/>
<property name="sun.io.unicode.encoding" value="UnicodeBig"/>
<property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.class.version" value="65.0"/>
</properties>
<testcase name="testValidPassword" classname="fr.simailadjalim.PasswordTest" time="0.004"/>
<testcase name="testPasswordWithoutAlphabetOrDigit" classname="fr.simailadjalim.PasswordTest" time="0"/>
<testcase name="testPasswordLengthLowerThanSix" classname="fr.simailadjalim.PasswordTest" time="0.001"/>
</testsuite>

View File

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="fr.simailadjalim.StringTest" time="0.023" tests="4" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="21"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="java.vm.vendor" value="Homebrew"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.vendor.url" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="os.name" value="Mac OS X"/>
<property name="java.vm.specification.version" value="21"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="FR"/>
<property name="sun.boot.library.path" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home/lib"/>
<property name="sun.java.command" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar /Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire 2024-02-07T11-27-03_142-jvmRun1 surefire15413439337202374633tmp surefire_012876322913258697186tmp"/>
<property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/test-classes:/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/classes:/Users/djalim/.m2/repository/pl/pragmatists/JUnitParams/1.1.1/JUnitParams-1.1.1.jar:/Users/djalim/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/Users/djalim/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="/Users/djalim"/>
<property name="user.language" value="fr"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2024-01-16"/>
<property name="java.home" value="/usr/local/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home"/>
<property name="file.separator" value="/"/>
<property name="basedir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="java.vm.compressedOopsMode" value="Zero based"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="apple.awt.application.name" value="ForkedBooter"/>
<property name="surefire.real.class.path" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests/target/surefire/surefirebooter9866629575173189197.jar"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.runtime.version" value="21.0.2"/>
<property name="user.name" value="djalim"/>
<property name="stdout.encoding" value="UTF-8"/>
<property name="path.separator" value=":"/>
<property name="os.version" value="12.7.2"/>
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
<property name="java.vendor.version" value="Homebrew"/>
<property name="localRepository" value="/Users/djalim/.m2/repository"/>
<property name="java.vendor.url.bug" value="https://github.com/Homebrew/homebrew-core/issues"/>
<property name="java.io.tmpdir" value="/var/folders/tq/mtw9l54d7g355v8d3j098hdw0000gn/T/"/>
<property name="java.version" value="21.0.2"/>
<property name="user.dir" value="/Volumes/SharedStorage/Djalim/Documents/DevStuff/git/cours/maintenance-tests"/>
<property name="os.arch" value="x86_64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="native.encoding" value="UTF-8"/>
<property name="java.library.path" value="/Users/djalim/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="stderr.encoding" value="UTF-8"/>
<property name="java.vendor" value="Homebrew"/>
<property name="java.vm.version" value="21.0.2"/>
<property name="sun.io.unicode.encoding" value="UnicodeBig"/>
<property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
<property name="java.class.version" value="65.0"/>
</properties>
<testcase name="reverseReversesOtherWords" classname="fr.simailadjalim.StringTest" time="0.003"/>
<testcase name="reverseWordShouldKeepCase" classname="fr.simailadjalim.StringTest" time="0.002"/>
<testcase name="emptyWordShouldStayEmpty" classname="fr.simailadjalim.StringTest" time="0.002"/>
<testcase name="reverseReversesWords" classname="fr.simailadjalim.StringTest" time="0.005"/>
</testsuite>

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: fr.simailadjalim.ClientTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s - in fr.simailadjalim.ClientTest

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: fr.simailadjalim.FahrenheitCelciusConverterTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in fr.simailadjalim.FahrenheitCelciusConverterTest

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: fr.simailadjalim.HashMapTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.19 s - in fr.simailadjalim.HashMapTest

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: fr.simailadjalim.MoneyTest
-------------------------------------------------------------------------------
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 s - in fr.simailadjalim.MoneyTest

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: fr.simailadjalim.PasswordTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in fr.simailadjalim.PasswordTest

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: fr.simailadjalim.StringTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s - in fr.simailadjalim.StringTest

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.