Compare commits
6 Commits
Introducti
...
TestAndDeb
Author | SHA1 | Date | |
---|---|---|---|
|
6cb5df2e1b | ||
|
253d060dfe | ||
|
01ad4d8855 | ||
|
0d1a275eb2 | ||
|
846ea3cd22 | ||
|
a5a8af76ed |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.idea
|
||||||
|
log.log
|
||||||
|
.iml
|
70
pom.xml
70
pom.xml
@ -4,12 +4,78 @@
|
|||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>org.example</groupId>
|
<groupId>Pracownia</groupId>
|
||||||
<artifactId>Pracownia2020-2021</artifactId>
|
<artifactId>PracowniaMain</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>11</maven.compiler.source>
|
<maven.compiler.source>11</maven.compiler.source>
|
||||||
<maven.compiler.target>11</maven.compiler.target>
|
<maven.compiler.target>11</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<attach>false</attach>
|
||||||
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<mainClass>
|
||||||
|
second.debug.Breakpoints
|
||||||
|
</mainClass>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
<descriptorRefs>
|
||||||
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||||
|
</descriptorRefs>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>log4j</groupId>
|
||||||
|
<artifactId>log4j</artifactId>
|
||||||
|
<version>1.2.17</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.assertj</groupId>
|
||||||
|
<artifactId>assertj-core</artifactId>
|
||||||
|
<version>3.17.2</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.12</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
|
<artifactId>httpclient</artifactId>
|
||||||
|
<version>4.5.10</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mockito</groupId>
|
||||||
|
<artifactId>mockito-core</artifactId>
|
||||||
|
<version>5.7.0</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
@ -1,8 +0,0 @@
|
|||||||
package introduction;
|
|
||||||
|
|
||||||
public class HelloWorld {
|
|
||||||
|
|
||||||
public static void main(String [ ] args) {
|
|
||||||
System.out.println("Hello World");
|
|
||||||
}
|
|
||||||
}
|
|
25
src/main/java/second/debug/Breakpoints.java
Normal file
25
src/main/java/second/debug/Breakpoints.java
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
package second.debug;
|
||||||
|
|
||||||
|
import second.debug.hidden.MakeThings;
|
||||||
|
|
||||||
|
import static java.util.Objects.isNull;
|
||||||
|
|
||||||
|
public class Breakpoints {
|
||||||
|
|
||||||
|
public static void main(final String... args) {
|
||||||
|
//create objects
|
||||||
|
Object o = MakeThings.makeAThing();
|
||||||
|
System.out.println("Going inside print");
|
||||||
|
printThis(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private static void printThis(final Object o) {
|
||||||
|
System.out.println("I will print you something very soon");
|
||||||
|
if (!isNull(o))
|
||||||
|
System.out.println(o.toString());
|
||||||
|
else
|
||||||
|
System.out.println("Object is null!");
|
||||||
|
}
|
||||||
|
}
|
27
src/main/java/second/debug/ConditionalBreak.java
Normal file
27
src/main/java/second/debug/ConditionalBreak.java
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
package second.debug;
|
||||||
|
|
||||||
|
import second.debug.hidden.ObjectAnalyzer;
|
||||||
|
import second.debug.hidden.ObjectMaker;
|
||||||
|
|
||||||
|
public class ConditionalBreak {
|
||||||
|
|
||||||
|
public static void main(final String... args) {
|
||||||
|
// In E2, getList didn't work so well. So let's try an array this time...
|
||||||
|
final Object[] myArray = ObjectMaker.getArray(100);
|
||||||
|
|
||||||
|
boolean everythingIsOK = true;
|
||||||
|
int i = 0;
|
||||||
|
while (i < myArray.length && i != 10 && everythingIsOK) {
|
||||||
|
// This time we're using an external library to process objects.
|
||||||
|
// If something goes wrong, this is the line where we'll want to set a
|
||||||
|
// breakpoint.
|
||||||
|
everythingIsOK = ObjectAnalyzer.processElementAtIndex(myArray, i);
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!everythingIsOK) {
|
||||||
|
throw new RuntimeException(
|
||||||
|
"Oh noes - analysis incomplete! See console for more information.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
49
src/main/java/second/debug/EvaluateExpressions.java
Normal file
49
src/main/java/second/debug/EvaluateExpressions.java
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
package second.debug;
|
||||||
|
|
||||||
|
import second.debug.hidden.ObjectMaker;
|
||||||
|
|
||||||
|
import static java.util.Objects.isNull;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exercise 2: Using the Expression Window in the Debug perspective.
|
||||||
|
*
|
||||||
|
* @author Mark Hiner
|
||||||
|
*/
|
||||||
|
public class EvaluateExpressions {
|
||||||
|
|
||||||
|
public static void main(final String... args) {
|
||||||
|
// Let's make a list of 100000 objects
|
||||||
|
final List<Integer> myList = ObjectMaker.getList(100000);
|
||||||
|
|
||||||
|
// Now let's process some objects from our list
|
||||||
|
|
||||||
|
// Process first object
|
||||||
|
processElementAtIndex(myList, 0);
|
||||||
|
|
||||||
|
// Process middle object
|
||||||
|
processElementAtIndex(myList, 100000 / 2);
|
||||||
|
|
||||||
|
// Process last object
|
||||||
|
processElementAtIndex(myList, 100000 - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void processElementAtIndex(final List<Integer> list,
|
||||||
|
final int index)
|
||||||
|
{
|
||||||
|
// First let's check our method arguments to see if they're valid
|
||||||
|
if (index < 0 || index >= list.size()) {
|
||||||
|
throw new IllegalArgumentException(
|
||||||
|
"If you don't mind, I would prefer not to process your object...");
|
||||||
|
}
|
||||||
|
if (!isNull(list.get(index)))
|
||||||
|
System.out.println(100 * list.get(index));
|
||||||
|
else
|
||||||
|
System.out.printf("The value at index %d is null!", index);
|
||||||
|
|
||||||
|
// OK now we can process the argument.
|
||||||
|
// ... just kidding, I'm totally going to delete your precious objects.
|
||||||
|
list.set(index, null);
|
||||||
|
}
|
||||||
|
}
|
10
src/main/java/second/debug/hidden/MakeThings.java
Normal file
10
src/main/java/second/debug/hidden/MakeThings.java
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
package second.debug.hidden;
|
||||||
|
|
||||||
|
public class MakeThings {
|
||||||
|
|
||||||
|
public static Object makeAThing() {
|
||||||
|
final Object o = new Object();
|
||||||
|
System.out.println(o);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
38
src/main/java/second/debug/hidden/ObjectAnalyzer.java
Normal file
38
src/main/java/second/debug/hidden/ObjectAnalyzer.java
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
package second.debug.hidden;
|
||||||
|
|
||||||
|
public class ObjectAnalyzer {
|
||||||
|
|
||||||
|
|
||||||
|
public static boolean processElementAtIndex(final Object[] myArray,
|
||||||
|
final int i) {
|
||||||
|
final Object o = myArray[i];
|
||||||
|
|
||||||
|
if (o == null) {
|
||||||
|
System.out.println("Something is wrong with the " + (i + 1) + suffix(i +
|
||||||
|
1) + " object... :(\n\n");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static String suffix(int i) {
|
||||||
|
i = i % 10;
|
||||||
|
|
||||||
|
String suffix = "th";
|
||||||
|
switch (i) {
|
||||||
|
case 1:
|
||||||
|
suffix = "rst";
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
suffix = "nd";
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
suffix = "rd";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return suffix;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
74
src/main/java/second/debug/hidden/ObjectMaker.java
Normal file
74
src/main/java/second/debug/hidden/ObjectMaker.java
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* ImageJ interactive debugging tutorials.
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2009 - 2016 Board of Regents of the University of
|
||||||
|
* Wisconsin-Madison.
|
||||||
|
* %%
|
||||||
|
* To the extent possible under law, the ImageJ developers have waived
|
||||||
|
* all copyright and related or neighboring rights to this tutorial code.
|
||||||
|
*
|
||||||
|
* See the CC0 1.0 Universal license for details:
|
||||||
|
* http://creativecommons.org/publicdomain/zero/1.0/
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
|
|
||||||
|
package second.debug.hidden;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashSet;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* STOP LOOKING AT THIS CLASS!! IT'S OFF LIMITS!
|
||||||
|
*
|
||||||
|
* @author Mark Hiner
|
||||||
|
*/
|
||||||
|
public class ObjectMaker {
|
||||||
|
|
||||||
|
final static Set<Object> cache = new HashSet<Object>();
|
||||||
|
|
||||||
|
public static List<Integer> getList(final int size) {
|
||||||
|
final List<Integer> list = new ArrayList<Integer>();
|
||||||
|
|
||||||
|
for (int i = 0; i < size - 1; i++) {
|
||||||
|
list.add(new Double(Math.random() * 100000).intValue());
|
||||||
|
}
|
||||||
|
list.add(null);
|
||||||
|
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Object[] getArray(final int size) {
|
||||||
|
final Object[] array = new Object[size];
|
||||||
|
|
||||||
|
for (int i = 0; i < size - 1; i++) {
|
||||||
|
array[i] = new Double(Math.random() * 100000);
|
||||||
|
}
|
||||||
|
|
||||||
|
array[(int) (Math.random() * (size - 1))] = null;
|
||||||
|
|
||||||
|
return array;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Double[] getDoubleArray(final int size) {
|
||||||
|
final Double[] array = new Double[size];
|
||||||
|
|
||||||
|
return array;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Float[] getFloatArray(final int size) {
|
||||||
|
final Float[] array = new Float[size];
|
||||||
|
|
||||||
|
cache.add(array);
|
||||||
|
|
||||||
|
return array;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Long[] getLongArray(final int size) {
|
||||||
|
final Long[] array = new Long[size];
|
||||||
|
|
||||||
|
return array;
|
||||||
|
}
|
||||||
|
}
|
23
src/main/java/second/junit/AdvanceMath.java
Normal file
23
src/main/java/second/junit/AdvanceMath.java
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
package second.junit;
|
||||||
|
|
||||||
|
public class AdvanceMath {
|
||||||
|
|
||||||
|
public int addition(int a, int b) {
|
||||||
|
return a+b;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int addition(String a, int b) {
|
||||||
|
Integer i = Integer.valueOf(a);
|
||||||
|
return i+b;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int multiply(int a, int b) throws Exception {
|
||||||
|
long la = a;
|
||||||
|
long lb = b;
|
||||||
|
if (la*lb > Integer.MAX_VALUE) throw new Exception("value over the limit");
|
||||||
|
return a*b;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
45
src/main/java/second/junit/HttpQueryClass.java
Normal file
45
src/main/java/second/junit/HttpQueryClass.java
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
package second.junit;
|
||||||
|
|
||||||
|
import org.apache.http.Header;
|
||||||
|
import org.apache.http.HttpEntity;
|
||||||
|
import org.apache.http.client.ClientProtocolException;
|
||||||
|
import org.apache.http.client.methods.CloseableHttpResponse;
|
||||||
|
import org.apache.http.client.methods.HttpGet;
|
||||||
|
import org.apache.http.impl.client.CloseableHttpClient;
|
||||||
|
import org.apache.http.impl.client.HttpClients;
|
||||||
|
import org.apache.http.util.EntityUtils;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
public class HttpQueryClass {
|
||||||
|
|
||||||
|
public String query(String param) {
|
||||||
|
String result = "none";
|
||||||
|
CloseableHttpClient httpclient = HttpClients.createDefault();
|
||||||
|
HttpGet request = new HttpGet("https://api.gios.gov.pl/pjp-api/rest/station/findAll");
|
||||||
|
|
||||||
|
// add request headers
|
||||||
|
request.addHeader("custom-key", "programming");
|
||||||
|
|
||||||
|
try (CloseableHttpResponse response = httpclient.execute(request)) {
|
||||||
|
|
||||||
|
// Get HttpResponse Status
|
||||||
|
System.out.println(response.getStatusLine().toString());
|
||||||
|
|
||||||
|
HttpEntity entity = response.getEntity();
|
||||||
|
Header headers = entity.getContentType();
|
||||||
|
System.out.println(headers);
|
||||||
|
|
||||||
|
if (entity != null) {
|
||||||
|
// return it as a String
|
||||||
|
result = EntityUtils.toString(entity);
|
||||||
|
System.out.println(result);
|
||||||
|
}
|
||||||
|
} catch (ClientProtocolException e) {
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
} catch (IOException e) {
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
}
|
10
src/main/java/second/junit/Main.java
Normal file
10
src/main/java/second/junit/Main.java
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
package second.junit;
|
||||||
|
|
||||||
|
public class Main {
|
||||||
|
|
||||||
|
public static void main(final String... args) {
|
||||||
|
ProcessQuery processQuery = new ProcessQuery(new HttpQueryClass());
|
||||||
|
System.out.println(processQuery.process("param"));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
17
src/main/java/second/junit/ProcessQuery.java
Normal file
17
src/main/java/second/junit/ProcessQuery.java
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
package second.junit;
|
||||||
|
|
||||||
|
import java.util.Locale;
|
||||||
|
|
||||||
|
public class ProcessQuery {
|
||||||
|
|
||||||
|
HttpQueryClass queryClass;
|
||||||
|
|
||||||
|
public ProcessQuery(HttpQueryClass queryClass) {
|
||||||
|
this.queryClass = queryClass;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String process(String param) {
|
||||||
|
return queryClass.query(param).toUpperCase();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
39
src/main/java/second/shortcuts/ClassThatHaveItAll.java
Normal file
39
src/main/java/second/shortcuts/ClassThatHaveItAll.java
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
package second.shortcuts;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class ClassThatHaveItAll implements InterfaceOne {String name;Integer number;@Override
|
||||||
|
public void printMe(String info) { }
|
||||||
|
|
||||||
|
List<Long> list;
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNumber(Integer number) {
|
||||||
|
this.number = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setList(List<Long> list) {
|
||||||
|
this.list = list;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getNumber() {
|
||||||
|
return number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Long> getList() {
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ClassThatHaveItAll(String name, Integer number, List<Long> list) {
|
||||||
|
this.name = name;
|
||||||
|
this.number = number;
|
||||||
|
this.list = list;
|
||||||
|
}
|
||||||
|
}
|
29
src/main/java/second/shortcuts/ClassThatHaveItAllBis.java
Normal file
29
src/main/java/second/shortcuts/ClassThatHaveItAllBis.java
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
package second.shortcuts;
|
||||||
|
|
||||||
|
public class ClassThatHaveItAllBis implements InterfaceOne {
|
||||||
|
|
||||||
|
String name;
|
||||||
|
Integer number;
|
||||||
|
|
||||||
|
public void printMe(String info) {
|
||||||
|
System.out.println(info);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void spam() {
|
||||||
|
long i = 0;
|
||||||
|
i = 10;
|
||||||
|
i = 110;
|
||||||
|
i = 1110;
|
||||||
|
i = 11110;
|
||||||
|
i = 111110;
|
||||||
|
i = 1111110;
|
||||||
|
i = 11111110;
|
||||||
|
i = 111111110;
|
||||||
|
i = 1111111110;
|
||||||
|
printMe(String.valueOf(i));
|
||||||
|
}
|
||||||
|
|
||||||
|
public void usageOfPrint() {
|
||||||
|
printMe("Hi");
|
||||||
|
}
|
||||||
|
}
|
7
src/main/java/second/shortcuts/InterfaceOne.java
Normal file
7
src/main/java/second/shortcuts/InterfaceOne.java
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
package second.shortcuts;
|
||||||
|
|
||||||
|
public interface InterfaceOne {
|
||||||
|
|
||||||
|
public void printMe(String info);
|
||||||
|
|
||||||
|
}
|
16
src/main/resources/log4j.properties
Normal file
16
src/main/resources/log4j.properties
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Root logger option
|
||||||
|
log4j.rootLogger=INFO, stdout, file
|
||||||
|
|
||||||
|
# Redirect log messages to console
|
||||||
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||||
|
log4j.appender.stdout.Target=System.out
|
||||||
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||||
|
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
||||||
|
|
||||||
|
# Redirect log messages to a log file, support file rolling.
|
||||||
|
log4j.appender.file=org.apache.log4j.RollingFileAppender
|
||||||
|
log4j.appender.file.File=log.log
|
||||||
|
log4j.appender.file.MaxFileSize=5MB
|
||||||
|
log4j.appender.file.MaxBackupIndex=10
|
||||||
|
log4j.appender.file.layout=org.apache.log4j.PatternLayout
|
||||||
|
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
@ -1 +0,0 @@
|
|||||||
test resource file
|
|
37
src/test/java/second/junit/AdvanceMathTest.java
Normal file
37
src/test/java/second/junit/AdvanceMathTest.java
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
package second.junit;
|
||||||
|
|
||||||
|
import org.junit.Assert;
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
|
public class AdvanceMathTest {
|
||||||
|
|
||||||
|
AdvanceMath math;
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void setUp() {
|
||||||
|
System.out.println("Run setUp");
|
||||||
|
math = new AdvanceMath();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void additionTest() {
|
||||||
|
Integer a = math.addition(1, 4);
|
||||||
|
Assert.assertTrue(a == 5);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void additionTestString() {
|
||||||
|
long a = math.addition("1", 4);
|
||||||
|
Assert.assertEquals(5L, a);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Test(expected = Exception.class)
|
||||||
|
public void additionTestString2() {
|
||||||
|
int a = math.addition("a1", 4);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
128
src/test/java/second/junit/FrodoTest.java
Normal file
128
src/test/java/second/junit/FrodoTest.java
Normal file
@ -0,0 +1,128 @@
|
|||||||
|
package second.junit;
|
||||||
|
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import static org.assertj.core.api.Assertions.*;
|
||||||
|
|
||||||
|
public class FrodoTest {
|
||||||
|
|
||||||
|
Creature frodo = new Creature("Frodo", 33L, Race.HOBBIT);
|
||||||
|
Creature sauron = new Creature("Sauron", 10000L, Race.WIZARD);
|
||||||
|
List<Creature> fellowshipOfTheRing = new ArrayList<Creature>();
|
||||||
|
Creature boromir = new Creature("Boromir", 37L, Race.MAN);
|
||||||
|
Creature sam = new Creature("Sam", 38L, Race.HOBBIT);
|
||||||
|
Creature merry = new Creature("Merry", 36L, Race.HOBBIT);
|
||||||
|
Creature pippin = new Creature("Pippin", 28L, Race.HOBBIT);
|
||||||
|
Creature legolas = new Creature("Legolas", 2500L, Race.ELF);
|
||||||
|
Creature aragorn = new Creature("Aragorn", 87L, Race.MAN);
|
||||||
|
Creature gimli = new Creature("Gimli", 139L, Race.DWARF);
|
||||||
|
Creature gandalf = new Creature("Gandalf", 3000L, Race.WIZARD);
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void prepareData() {
|
||||||
|
fellowshipOfTheRing.add(frodo);
|
||||||
|
fellowshipOfTheRing.add(sam);
|
||||||
|
fellowshipOfTheRing.add(merry);
|
||||||
|
fellowshipOfTheRing.add(pippin);
|
||||||
|
fellowshipOfTheRing.add(legolas);
|
||||||
|
fellowshipOfTheRing.add(aragorn);
|
||||||
|
fellowshipOfTheRing.add(boromir);
|
||||||
|
fellowshipOfTheRing.add(gimli);
|
||||||
|
fellowshipOfTheRing.add(gandalf);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void assertJtestexample() {
|
||||||
|
|
||||||
|
// basic assertions
|
||||||
|
assertThat(frodo.getName()).isEqualTo("Frodo");
|
||||||
|
assertThat(frodo).isNotEqualTo(sauron);
|
||||||
|
|
||||||
|
// chaining string specific assertions
|
||||||
|
assertThat(frodo.getName()).startsWith("Fro")
|
||||||
|
.endsWith("do")
|
||||||
|
.isEqualToIgnoringCase("frodo");
|
||||||
|
|
||||||
|
// collection specific assertions (there are plenty more)
|
||||||
|
assertThat(fellowshipOfTheRing).hasSize(9)
|
||||||
|
.contains(frodo, sam)
|
||||||
|
.doesNotContain(sauron);
|
||||||
|
|
||||||
|
// as() is used to describe the test and will be shown before the error message
|
||||||
|
assertThat(frodo.getAge()).isEqualTo(33);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void test() {
|
||||||
|
|
||||||
|
// using the 'extracting' feature to check fellowshipOfTheRing character's names
|
||||||
|
assertThat(fellowshipOfTheRing).extracting(Creature::getName)
|
||||||
|
.doesNotContain("Sauron", "Elrond");
|
||||||
|
|
||||||
|
// extracting multiple values at once grouped in tuples
|
||||||
|
assertThat(fellowshipOfTheRing).extracting("name", "age", "race")
|
||||||
|
.contains(tuple("Boromir", 37L, Race.MAN),
|
||||||
|
tuple("Sam", 38L, Race.HOBBIT),
|
||||||
|
tuple("Legolas", 2500L, Race.ELF));
|
||||||
|
|
||||||
|
// filtering a collection before asserting
|
||||||
|
assertThat(fellowshipOfTheRing).filteredOn(character -> character.getName().contains("o"))
|
||||||
|
.containsOnly(aragorn, frodo, legolas, boromir);
|
||||||
|
|
||||||
|
// combining filtering and extraction (yes we can)
|
||||||
|
assertThat(fellowshipOfTheRing).filteredOn(character -> character.getName().contains("o"))
|
||||||
|
.containsOnly(aragorn, frodo, legolas, boromir)
|
||||||
|
.extracting(character -> character.getRace())
|
||||||
|
.contains(Race.HOBBIT, Race.ELF, Race.MAN);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
class Creature {
|
||||||
|
String name;
|
||||||
|
Long age;
|
||||||
|
Race race;
|
||||||
|
|
||||||
|
public Creature(String name, Long age, Race race) {
|
||||||
|
this.name = name;
|
||||||
|
this.age = age;
|
||||||
|
this.race = race;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getAge() {
|
||||||
|
return age;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAge(Long age) {
|
||||||
|
this.age = age;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Race getRace() {
|
||||||
|
return race;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRace(Race race) {
|
||||||
|
this.race = race;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Race {
|
||||||
|
HOBBIT,
|
||||||
|
ORK,
|
||||||
|
WIZARD,
|
||||||
|
ELF,
|
||||||
|
MAN,
|
||||||
|
DWARF
|
||||||
|
}
|
33
src/test/java/second/junit/MockTest.java
Normal file
33
src/test/java/second/junit/MockTest.java
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
package second.junit;
|
||||||
|
|
||||||
|
import org.junit.Assert;
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mockito.Mock;
|
||||||
|
import org.mockito.Mockito;
|
||||||
|
|
||||||
|
import static org.assertj.core.api.Assertions.assertThat;
|
||||||
|
import static org.mockito.Mockito.when;
|
||||||
|
import static org.mockito.ArgumentMatchers.any;
|
||||||
|
|
||||||
|
public class MockTest {
|
||||||
|
|
||||||
|
HttpQueryClass httpQueryClass;
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void setUp() {
|
||||||
|
System.out.println("Run setUp");
|
||||||
|
httpQueryClass = Mockito.mock(HttpQueryClass.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void mockTestExample() {
|
||||||
|
Mockito.when(httpQueryClass.query(any())).thenReturn("test");
|
||||||
|
|
||||||
|
ProcessQuery processQuery = new ProcessQuery(httpQueryClass);
|
||||||
|
|
||||||
|
String result = processQuery.process("test param");
|
||||||
|
assertThat(result).isEqualTo("TEST");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
16
target/classes/log4j.properties
Normal file
16
target/classes/log4j.properties
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Root logger option
|
||||||
|
log4j.rootLogger=INFO, stdout, file
|
||||||
|
|
||||||
|
# Redirect log messages to console
|
||||||
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||||
|
log4j.appender.stdout.Target=System.out
|
||||||
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||||
|
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
||||||
|
|
||||||
|
# Redirect log messages to a log file, support file rolling.
|
||||||
|
log4j.appender.file=org.apache.log4j.RollingFileAppender
|
||||||
|
log4j.appender.file.File=log.log
|
||||||
|
log4j.appender.file.MaxFileSize=5MB
|
||||||
|
log4j.appender.file.MaxBackupIndex=10
|
||||||
|
log4j.appender.file.layout=org.apache.log4j.PatternLayout
|
||||||
|
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
BIN
target/classes/second/debug/Breakpoints.class
Normal file
BIN
target/classes/second/debug/Breakpoints.class
Normal file
Binary file not shown.
BIN
target/classes/second/debug/ConditionalBreak.class
Normal file
BIN
target/classes/second/debug/ConditionalBreak.class
Normal file
Binary file not shown.
BIN
target/classes/second/debug/EvaluateExpressions.class
Normal file
BIN
target/classes/second/debug/EvaluateExpressions.class
Normal file
Binary file not shown.
BIN
target/classes/second/debug/hidden/MakeThings.class
Normal file
BIN
target/classes/second/debug/hidden/MakeThings.class
Normal file
Binary file not shown.
BIN
target/classes/second/debug/hidden/ObjectAnalyzer.class
Normal file
BIN
target/classes/second/debug/hidden/ObjectAnalyzer.class
Normal file
Binary file not shown.
BIN
target/classes/second/debug/hidden/ObjectMaker.class
Normal file
BIN
target/classes/second/debug/hidden/ObjectMaker.class
Normal file
Binary file not shown.
BIN
target/classes/second/junit/AdvanceMath.class
Normal file
BIN
target/classes/second/junit/AdvanceMath.class
Normal file
Binary file not shown.
BIN
target/classes/second/junit/HttpQueryClass.class
Normal file
BIN
target/classes/second/junit/HttpQueryClass.class
Normal file
Binary file not shown.
BIN
target/classes/second/junit/Main.class
Normal file
BIN
target/classes/second/junit/Main.class
Normal file
Binary file not shown.
BIN
target/classes/second/junit/ProcessQuery.class
Normal file
BIN
target/classes/second/junit/ProcessQuery.class
Normal file
Binary file not shown.
BIN
target/classes/second/shortcuts/ClassThatHaveItAll.class
Normal file
BIN
target/classes/second/shortcuts/ClassThatHaveItAll.class
Normal file
Binary file not shown.
BIN
target/classes/second/shortcuts/ClassThatHaveItAllBis.class
Normal file
BIN
target/classes/second/shortcuts/ClassThatHaveItAllBis.class
Normal file
Binary file not shown.
BIN
target/classes/second/shortcuts/InterfaceOne.class
Normal file
BIN
target/classes/second/shortcuts/InterfaceOne.class
Normal file
Binary file not shown.
@ -0,0 +1,13 @@
|
|||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\shortcuts\ClassThatHaveItAllBis.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\debug\hidden\ObjectMaker.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\junit\HttpQueryClass.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\debug\hidden\MakeThings.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\junit\Main.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\junit\ProcessQuery.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\shortcuts\InterfaceOne.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\junit\AdvanceMath.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\debug\Breakpoints.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\shortcuts\ClassThatHaveItAll.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\debug\ConditionalBreak.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\debug\EvaluateExpressions.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\main\java\second\debug\hidden\ObjectAnalyzer.java
|
@ -0,0 +1,5 @@
|
|||||||
|
second\junit\Creature.class
|
||||||
|
second\junit\FrodoTest.class
|
||||||
|
second\junit\MockTest.class
|
||||||
|
second\junit\Race.class
|
||||||
|
second\junit\AdvanceMathTest.class
|
@ -0,0 +1,3 @@
|
|||||||
|
J:\IdeaProjects\PRA2024\src\test\java\second\junit\MockTest.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\test\java\second\junit\AdvanceMathTest.java
|
||||||
|
J:\IdeaProjects\PRA2024\src\test\java\second\junit\FrodoTest.java
|
@ -0,0 +1,5 @@
|
|||||||
|
# Created at 2023-11-27T12:44:09.197
|
||||||
|
Boot Manifest-JAR contains absolute paths in classpath 'J:\.m2\repository\org\apache\maven\surefire\surefire-booter\3.0.0\surefire-booter-3.0.0.jar'
|
||||||
|
Hint: <argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
|
||||||
|
'other' has different root
|
||||||
|
|
@ -0,0 +1,74 @@
|
|||||||
|
<?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-3.0.xsd" version="3.0" name="second.junit.AdvanceMathTest" time="0.268" tests="3" errors="0" skipped="0" failures="0">
|
||||||
|
<properties>
|
||||||
|
<property name="java.specification.version" value="17"/>
|
||||||
|
<property name="sun.cpu.isalist" value="amd64"/>
|
||||||
|
<property name="sun.jnu.encoding" value="Cp1250"/>
|
||||||
|
<property name="java.class.path" value="J:\IdeaProjects\PRA2024\target\test-classes;J:\IdeaProjects\PRA2024\target\classes;J:\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;J:\.m2\repository\org\assertj\assertj-core\3.17.2\assertj-core-3.17.2.jar;J:\.m2\repository\junit\junit\4.12\junit-4.12.jar;J:\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;J:\.m2\repository\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;J:\.m2\repository\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;J:\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;J:\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;J:\.m2\repository\org\mockito\mockito-core\5.7.0\mockito-core-5.7.0.jar;J:\.m2\repository\net\bytebuddy\byte-buddy\1.14.9\byte-buddy-1.14.9.jar;J:\.m2\repository\net\bytebuddy\byte-buddy-agent\1.14.9\byte-buddy-agent-1.14.9.jar;J:\.m2\repository\org\objenesis\objenesis\3.3\objenesis-3.3.jar;"/>
|
||||||
|
<property name="java.vm.vendor" value="BellSoft"/>
|
||||||
|
<property name="sun.arch.data.model" value="64"/>
|
||||||
|
<property name="user.variant" value=""/>
|
||||||
|
<property name="java.vendor.url" value="https://bell-sw.com/"/>
|
||||||
|
<property name="user.timezone" value="Europe/Warsaw"/>
|
||||||
|
<property name="user.country.format" value="PL"/>
|
||||||
|
<property name="os.name" value="Windows 10"/>
|
||||||
|
<property name="java.vm.specification.version" value="17"/>
|
||||||
|
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||||
|
<property name="user.country" value="US"/>
|
||||||
|
<property name="sun.boot.library.path" value="C:\software\jdk\bin"/>
|
||||||
|
<property name="sun.java.command" value="C:\Users\s485954.LABS\AppData\Local\temp\surefire17425998844042915685\surefirebooter-20231127124409125_3.jar C:\Users\s485954.LABS\AppData\Local\temp\surefire17425998844042915685 2023-11-27T12-44-07_483-jvmRun1 surefire-20231127124409125_1tmp surefire_0-20231127124409125_2tmp"/>
|
||||||
|
<property name="jdk.debug" value="release"/>
|
||||||
|
<property name="surefire.test.class.path" value="J:\IdeaProjects\PRA2024\target\test-classes;J:\IdeaProjects\PRA2024\target\classes;J:\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;J:\.m2\repository\org\assertj\assertj-core\3.17.2\assertj-core-3.17.2.jar;J:\.m2\repository\junit\junit\4.12\junit-4.12.jar;J:\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;J:\.m2\repository\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;J:\.m2\repository\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;J:\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;J:\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;J:\.m2\repository\org\mockito\mockito-core\5.7.0\mockito-core-5.7.0.jar;J:\.m2\repository\net\bytebuddy\byte-buddy\1.14.9\byte-buddy-1.14.9.jar;J:\.m2\repository\net\bytebuddy\byte-buddy-agent\1.14.9\byte-buddy-agent-1.14.9.jar;J:\.m2\repository\org\objenesis\objenesis\3.3\objenesis-3.3.jar;"/>
|
||||||
|
<property name="sun.cpu.endian" value="little"/>
|
||||||
|
<property name="user.home" value="J:\"/>
|
||||||
|
<property name="user.language" value="en"/>
|
||||||
|
<property name="java.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.version.date" value="2023-10-17"/>
|
||||||
|
<property name="java.home" value="C:\software\jdk"/>
|
||||||
|
<property name="file.separator" value="\"/>
|
||||||
|
<property name="basedir" value="J:\IdeaProjects\PRA2024"/>
|
||||||
|
<property name="java.vm.compressedOopsMode" value="32-bit"/>
|
||||||
|
<property name="line.separator" value=" "/>
|
||||||
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||||
|
<property name="surefire.real.class.path" value="C:\Users\s485954.LABS\AppData\Local\temp\surefire17425998844042915685\surefirebooter-20231127124409125_3.jar"/>
|
||||||
|
<property name="user.script" value=""/>
|
||||||
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||||
|
<property name="java.runtime.version" value="17.0.9+11-LTS"/>
|
||||||
|
<property name="user.name" value="s485954"/>
|
||||||
|
<property name="path.separator" value=";"/>
|
||||||
|
<property name="os.version" value="10.0"/>
|
||||||
|
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
|
||||||
|
<property name="file.encoding" value="Cp1250"/>
|
||||||
|
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
|
||||||
|
<property name="localRepository" value="J:\.m2\repository"/>
|
||||||
|
<property name="java.vendor.url.bug" value="https://bell-sw.com/support"/>
|
||||||
|
<property name="java.io.tmpdir" value="C:\Users\S48595~1.LAB\AppData\Local\Temp\"/>
|
||||||
|
<property name="idea.version" value="2023.2"/>
|
||||||
|
<property name="java.version" value="17.0.9"/>
|
||||||
|
<property name="user.dir" value="J:\IdeaProjects\PRA2024"/>
|
||||||
|
<property name="os.arch" value="amd64"/>
|
||||||
|
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
||||||
|
<property name="user.language.format" value="pl"/>
|
||||||
|
<property name="sun.os.patch.level" value=""/>
|
||||||
|
<property name="native.encoding" value="Cp1250"/>
|
||||||
|
<property name="java.library.path" value="C:\software\jdk\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\windows\bin\sysinternals;c:\windows\bin;c:\software\openssl\bin;c:\software\julia\bin;c:\software\GnuPG\bin;c:\software\imagemagick;c:\software\python3\Scripts;c:\software\python3;c:\software\mongodt\bin;c:\software\gnuplot\bin;c:\software\gs\bin;c:\software\putty;C:\Program Files\7-Zip;c:\software\ruby\bin;c:\software\haskell\lib\extralibs\bin;c:\software\haskell\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;c:\software\jre\bin;C:\Program Files\google\chrome\application;c:\software\thunderbird;c:\software\firefox;c:\Program Files\dotnet\;c:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;c:\software\jdk\bin;C:\software\scala\bin;c:\software\gsview\gsview;c:\software\maven\bin;c:\software\orca;c:\software\gp;c:\software\vim;C:\Program Files (x86)\Windows Live\Shared;c:\software\qt\5.15.2\mingw81_64\bin;;c:\software\opencv\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;c:\software\gpg\bin;c:\software\latex\bin\windows;c:\software\cmake\bin;c:\software\ant\bin;c:\software\gradle\bin;c:\software\pgadmin4\runtime;c:\software\emacs\bin;C:\software\mongosh\;C:\Program Files\Amazon\AWSCLIV2\;c:\software\msys\usr\bin;c:\software\msys\mingw64\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;c:\software\adobe\reader\reader;c:\software\notepad++;c:\software\git\cmd;c:\software\php;C:\software\nodejs\;C:\Program Files\PowerShell\7\;;j:\.AppData\Python\Python310\Scripts;."/>
|
||||||
|
<property name="java.vm.info" value="mixed mode, sharing"/>
|
||||||
|
<property name="java.vendor" value="BellSoft"/>
|
||||||
|
<property name="java.vm.version" value="17.0.9+11-LTS"/>
|
||||||
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||||
|
<property name="java.class.version" value="61.0"/>
|
||||||
|
</properties>
|
||||||
|
<testcase name="additionTestString2" classname="second.junit.AdvanceMathTest" time="0.017">
|
||||||
|
<system-out><![CDATA[Run setUp
|
||||||
|
]]></system-out>
|
||||||
|
</testcase>
|
||||||
|
<testcase name="additionTest" classname="second.junit.AdvanceMathTest" time="0.001">
|
||||||
|
<system-out><![CDATA[Run setUp
|
||||||
|
]]></system-out>
|
||||||
|
</testcase>
|
||||||
|
<testcase name="additionTestString" classname="second.junit.AdvanceMathTest" time="0.004">
|
||||||
|
<system-out><![CDATA[Run setUp
|
||||||
|
]]></system-out>
|
||||||
|
</testcase>
|
||||||
|
</testsuite>
|
64
target/surefire-reports/TEST-second.junit.FrodoTest.xml
Normal file
64
target/surefire-reports/TEST-second.junit.FrodoTest.xml
Normal 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-3.0.xsd" version="3.0" name="second.junit.FrodoTest" time="0.239" tests="2" errors="0" skipped="0" failures="0">
|
||||||
|
<properties>
|
||||||
|
<property name="java.specification.version" value="17"/>
|
||||||
|
<property name="sun.cpu.isalist" value="amd64"/>
|
||||||
|
<property name="sun.jnu.encoding" value="Cp1250"/>
|
||||||
|
<property name="java.class.path" value="J:\IdeaProjects\PRA2024\target\test-classes;J:\IdeaProjects\PRA2024\target\classes;J:\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;J:\.m2\repository\org\assertj\assertj-core\3.17.2\assertj-core-3.17.2.jar;J:\.m2\repository\junit\junit\4.12\junit-4.12.jar;J:\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;J:\.m2\repository\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;J:\.m2\repository\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;J:\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;J:\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;J:\.m2\repository\org\mockito\mockito-core\5.7.0\mockito-core-5.7.0.jar;J:\.m2\repository\net\bytebuddy\byte-buddy\1.14.9\byte-buddy-1.14.9.jar;J:\.m2\repository\net\bytebuddy\byte-buddy-agent\1.14.9\byte-buddy-agent-1.14.9.jar;J:\.m2\repository\org\objenesis\objenesis\3.3\objenesis-3.3.jar;"/>
|
||||||
|
<property name="java.vm.vendor" value="BellSoft"/>
|
||||||
|
<property name="sun.arch.data.model" value="64"/>
|
||||||
|
<property name="user.variant" value=""/>
|
||||||
|
<property name="java.vendor.url" value="https://bell-sw.com/"/>
|
||||||
|
<property name="user.timezone" value="Europe/Warsaw"/>
|
||||||
|
<property name="user.country.format" value="PL"/>
|
||||||
|
<property name="os.name" value="Windows 10"/>
|
||||||
|
<property name="java.vm.specification.version" value="17"/>
|
||||||
|
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||||
|
<property name="user.country" value="US"/>
|
||||||
|
<property name="sun.boot.library.path" value="C:\software\jdk\bin"/>
|
||||||
|
<property name="sun.java.command" value="C:\Users\s485954.LABS\AppData\Local\temp\surefire17425998844042915685\surefirebooter-20231127124409125_3.jar C:\Users\s485954.LABS\AppData\Local\temp\surefire17425998844042915685 2023-11-27T12-44-07_483-jvmRun1 surefire-20231127124409125_1tmp surefire_0-20231127124409125_2tmp"/>
|
||||||
|
<property name="jdk.debug" value="release"/>
|
||||||
|
<property name="surefire.test.class.path" value="J:\IdeaProjects\PRA2024\target\test-classes;J:\IdeaProjects\PRA2024\target\classes;J:\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;J:\.m2\repository\org\assertj\assertj-core\3.17.2\assertj-core-3.17.2.jar;J:\.m2\repository\junit\junit\4.12\junit-4.12.jar;J:\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;J:\.m2\repository\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;J:\.m2\repository\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;J:\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;J:\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;J:\.m2\repository\org\mockito\mockito-core\5.7.0\mockito-core-5.7.0.jar;J:\.m2\repository\net\bytebuddy\byte-buddy\1.14.9\byte-buddy-1.14.9.jar;J:\.m2\repository\net\bytebuddy\byte-buddy-agent\1.14.9\byte-buddy-agent-1.14.9.jar;J:\.m2\repository\org\objenesis\objenesis\3.3\objenesis-3.3.jar;"/>
|
||||||
|
<property name="sun.cpu.endian" value="little"/>
|
||||||
|
<property name="user.home" value="J:\"/>
|
||||||
|
<property name="user.language" value="en"/>
|
||||||
|
<property name="java.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.version.date" value="2023-10-17"/>
|
||||||
|
<property name="java.home" value="C:\software\jdk"/>
|
||||||
|
<property name="file.separator" value="\"/>
|
||||||
|
<property name="basedir" value="J:\IdeaProjects\PRA2024"/>
|
||||||
|
<property name="java.vm.compressedOopsMode" value="32-bit"/>
|
||||||
|
<property name="line.separator" value=" "/>
|
||||||
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||||
|
<property name="surefire.real.class.path" value="C:\Users\s485954.LABS\AppData\Local\temp\surefire17425998844042915685\surefirebooter-20231127124409125_3.jar"/>
|
||||||
|
<property name="user.script" value=""/>
|
||||||
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||||
|
<property name="java.runtime.version" value="17.0.9+11-LTS"/>
|
||||||
|
<property name="user.name" value="s485954"/>
|
||||||
|
<property name="path.separator" value=";"/>
|
||||||
|
<property name="os.version" value="10.0"/>
|
||||||
|
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
|
||||||
|
<property name="file.encoding" value="Cp1250"/>
|
||||||
|
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
|
||||||
|
<property name="localRepository" value="J:\.m2\repository"/>
|
||||||
|
<property name="java.vendor.url.bug" value="https://bell-sw.com/support"/>
|
||||||
|
<property name="java.io.tmpdir" value="C:\Users\S48595~1.LAB\AppData\Local\Temp\"/>
|
||||||
|
<property name="idea.version" value="2023.2"/>
|
||||||
|
<property name="java.version" value="17.0.9"/>
|
||||||
|
<property name="user.dir" value="J:\IdeaProjects\PRA2024"/>
|
||||||
|
<property name="os.arch" value="amd64"/>
|
||||||
|
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
||||||
|
<property name="user.language.format" value="pl"/>
|
||||||
|
<property name="sun.os.patch.level" value=""/>
|
||||||
|
<property name="native.encoding" value="Cp1250"/>
|
||||||
|
<property name="java.library.path" value="C:\software\jdk\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\windows\bin\sysinternals;c:\windows\bin;c:\software\openssl\bin;c:\software\julia\bin;c:\software\GnuPG\bin;c:\software\imagemagick;c:\software\python3\Scripts;c:\software\python3;c:\software\mongodt\bin;c:\software\gnuplot\bin;c:\software\gs\bin;c:\software\putty;C:\Program Files\7-Zip;c:\software\ruby\bin;c:\software\haskell\lib\extralibs\bin;c:\software\haskell\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;c:\software\jre\bin;C:\Program Files\google\chrome\application;c:\software\thunderbird;c:\software\firefox;c:\Program Files\dotnet\;c:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;c:\software\jdk\bin;C:\software\scala\bin;c:\software\gsview\gsview;c:\software\maven\bin;c:\software\orca;c:\software\gp;c:\software\vim;C:\Program Files (x86)\Windows Live\Shared;c:\software\qt\5.15.2\mingw81_64\bin;;c:\software\opencv\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;c:\software\gpg\bin;c:\software\latex\bin\windows;c:\software\cmake\bin;c:\software\ant\bin;c:\software\gradle\bin;c:\software\pgadmin4\runtime;c:\software\emacs\bin;C:\software\mongosh\;C:\Program Files\Amazon\AWSCLIV2\;c:\software\msys\usr\bin;c:\software\msys\mingw64\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;c:\software\adobe\reader\reader;c:\software\notepad++;c:\software\git\cmd;c:\software\php;C:\software\nodejs\;C:\Program Files\PowerShell\7\;;j:\.AppData\Python\Python310\Scripts;."/>
|
||||||
|
<property name="java.vm.info" value="mixed mode, sharing"/>
|
||||||
|
<property name="java.vendor" value="BellSoft"/>
|
||||||
|
<property name="java.vm.version" value="17.0.9+11-LTS"/>
|
||||||
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||||
|
<property name="java.class.version" value="61.0"/>
|
||||||
|
</properties>
|
||||||
|
<testcase name="assertJtestexample" classname="second.junit.FrodoTest" time="0.195"/>
|
||||||
|
<testcase name="test" classname="second.junit.FrodoTest" time="0.036"/>
|
||||||
|
</testsuite>
|
66
target/surefire-reports/TEST-second.junit.MockTest.xml
Normal file
66
target/surefire-reports/TEST-second.junit.MockTest.xml
Normal 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-3.0.xsd" version="3.0" name="second.junit.MockTest" time="3.965" tests="1" errors="0" skipped="0" failures="0">
|
||||||
|
<properties>
|
||||||
|
<property name="java.specification.version" value="17"/>
|
||||||
|
<property name="sun.cpu.isalist" value="amd64"/>
|
||||||
|
<property name="sun.jnu.encoding" value="Cp1250"/>
|
||||||
|
<property name="java.class.path" value="J:\IdeaProjects\PRA2024\target\test-classes;J:\IdeaProjects\PRA2024\target\classes;J:\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;J:\.m2\repository\org\assertj\assertj-core\3.17.2\assertj-core-3.17.2.jar;J:\.m2\repository\junit\junit\4.12\junit-4.12.jar;J:\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;J:\.m2\repository\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;J:\.m2\repository\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;J:\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;J:\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;J:\.m2\repository\org\mockito\mockito-core\5.7.0\mockito-core-5.7.0.jar;J:\.m2\repository\net\bytebuddy\byte-buddy\1.14.9\byte-buddy-1.14.9.jar;J:\.m2\repository\net\bytebuddy\byte-buddy-agent\1.14.9\byte-buddy-agent-1.14.9.jar;J:\.m2\repository\org\objenesis\objenesis\3.3\objenesis-3.3.jar;"/>
|
||||||
|
<property name="java.vm.vendor" value="BellSoft"/>
|
||||||
|
<property name="sun.arch.data.model" value="64"/>
|
||||||
|
<property name="user.variant" value=""/>
|
||||||
|
<property name="java.vendor.url" value="https://bell-sw.com/"/>
|
||||||
|
<property name="user.timezone" value="Europe/Warsaw"/>
|
||||||
|
<property name="user.country.format" value="PL"/>
|
||||||
|
<property name="os.name" value="Windows 10"/>
|
||||||
|
<property name="java.vm.specification.version" value="17"/>
|
||||||
|
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||||
|
<property name="user.country" value="US"/>
|
||||||
|
<property name="sun.boot.library.path" value="C:\software\jdk\bin"/>
|
||||||
|
<property name="sun.java.command" value="C:\Users\s485954.LABS\AppData\Local\temp\surefire17425998844042915685\surefirebooter-20231127124409125_3.jar C:\Users\s485954.LABS\AppData\Local\temp\surefire17425998844042915685 2023-11-27T12-44-07_483-jvmRun1 surefire-20231127124409125_1tmp surefire_0-20231127124409125_2tmp"/>
|
||||||
|
<property name="jdk.debug" value="release"/>
|
||||||
|
<property name="surefire.test.class.path" value="J:\IdeaProjects\PRA2024\target\test-classes;J:\IdeaProjects\PRA2024\target\classes;J:\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;J:\.m2\repository\org\assertj\assertj-core\3.17.2\assertj-core-3.17.2.jar;J:\.m2\repository\junit\junit\4.12\junit-4.12.jar;J:\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;J:\.m2\repository\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;J:\.m2\repository\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;J:\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;J:\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;J:\.m2\repository\org\mockito\mockito-core\5.7.0\mockito-core-5.7.0.jar;J:\.m2\repository\net\bytebuddy\byte-buddy\1.14.9\byte-buddy-1.14.9.jar;J:\.m2\repository\net\bytebuddy\byte-buddy-agent\1.14.9\byte-buddy-agent-1.14.9.jar;J:\.m2\repository\org\objenesis\objenesis\3.3\objenesis-3.3.jar;"/>
|
||||||
|
<property name="sun.cpu.endian" value="little"/>
|
||||||
|
<property name="user.home" value="J:\"/>
|
||||||
|
<property name="user.language" value="en"/>
|
||||||
|
<property name="java.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.version.date" value="2023-10-17"/>
|
||||||
|
<property name="java.home" value="C:\software\jdk"/>
|
||||||
|
<property name="file.separator" value="\"/>
|
||||||
|
<property name="basedir" value="J:\IdeaProjects\PRA2024"/>
|
||||||
|
<property name="java.vm.compressedOopsMode" value="32-bit"/>
|
||||||
|
<property name="line.separator" value=" "/>
|
||||||
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||||
|
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||||
|
<property name="surefire.real.class.path" value="C:\Users\s485954.LABS\AppData\Local\temp\surefire17425998844042915685\surefirebooter-20231127124409125_3.jar"/>
|
||||||
|
<property name="user.script" value=""/>
|
||||||
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||||
|
<property name="java.runtime.version" value="17.0.9+11-LTS"/>
|
||||||
|
<property name="user.name" value="s485954"/>
|
||||||
|
<property name="path.separator" value=";"/>
|
||||||
|
<property name="os.version" value="10.0"/>
|
||||||
|
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
|
||||||
|
<property name="file.encoding" value="Cp1250"/>
|
||||||
|
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
|
||||||
|
<property name="localRepository" value="J:\.m2\repository"/>
|
||||||
|
<property name="java.vendor.url.bug" value="https://bell-sw.com/support"/>
|
||||||
|
<property name="java.io.tmpdir" value="C:\Users\S48595~1.LAB\AppData\Local\Temp\"/>
|
||||||
|
<property name="idea.version" value="2023.2"/>
|
||||||
|
<property name="java.version" value="17.0.9"/>
|
||||||
|
<property name="user.dir" value="J:\IdeaProjects\PRA2024"/>
|
||||||
|
<property name="os.arch" value="amd64"/>
|
||||||
|
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
||||||
|
<property name="user.language.format" value="pl"/>
|
||||||
|
<property name="sun.os.patch.level" value=""/>
|
||||||
|
<property name="native.encoding" value="Cp1250"/>
|
||||||
|
<property name="java.library.path" value="C:\software\jdk\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\windows\bin\sysinternals;c:\windows\bin;c:\software\openssl\bin;c:\software\julia\bin;c:\software\GnuPG\bin;c:\software\imagemagick;c:\software\python3\Scripts;c:\software\python3;c:\software\mongodt\bin;c:\software\gnuplot\bin;c:\software\gs\bin;c:\software\putty;C:\Program Files\7-Zip;c:\software\ruby\bin;c:\software\haskell\lib\extralibs\bin;c:\software\haskell\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;c:\software\jre\bin;C:\Program Files\google\chrome\application;c:\software\thunderbird;c:\software\firefox;c:\Program Files\dotnet\;c:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;c:\software\jdk\bin;C:\software\scala\bin;c:\software\gsview\gsview;c:\software\maven\bin;c:\software\orca;c:\software\gp;c:\software\vim;C:\Program Files (x86)\Windows Live\Shared;c:\software\qt\5.15.2\mingw81_64\bin;;c:\software\opencv\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;c:\software\gpg\bin;c:\software\latex\bin\windows;c:\software\cmake\bin;c:\software\ant\bin;c:\software\gradle\bin;c:\software\pgadmin4\runtime;c:\software\emacs\bin;C:\software\mongosh\;C:\Program Files\Amazon\AWSCLIV2\;c:\software\msys\usr\bin;c:\software\msys\mingw64\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;c:\software\adobe\reader\reader;c:\software\notepad++;c:\software\git\cmd;c:\software\php;C:\software\nodejs\;C:\Program Files\PowerShell\7\;;j:\.AppData\Python\Python310\Scripts;."/>
|
||||||
|
<property name="java.vm.info" value="mixed mode, sharing"/>
|
||||||
|
<property name="java.vendor" value="BellSoft"/>
|
||||||
|
<property name="java.vm.version" value="17.0.9+11-LTS"/>
|
||||||
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||||
|
<property name="java.class.version" value="61.0"/>
|
||||||
|
</properties>
|
||||||
|
<testcase name="mockTestExample" classname="second.junit.MockTest" time="3.947">
|
||||||
|
<system-out><![CDATA[Run setUp
|
||||||
|
]]></system-out>
|
||||||
|
</testcase>
|
||||||
|
</testsuite>
|
4
target/surefire-reports/second.junit.AdvanceMathTest.txt
Normal file
4
target/surefire-reports/second.junit.AdvanceMathTest.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Test set: second.junit.AdvanceMathTest
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.268 s - in second.junit.AdvanceMathTest
|
4
target/surefire-reports/second.junit.FrodoTest.txt
Normal file
4
target/surefire-reports/second.junit.FrodoTest.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Test set: second.junit.FrodoTest
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.239 s - in second.junit.FrodoTest
|
4
target/surefire-reports/second.junit.MockTest.txt
Normal file
4
target/surefire-reports/second.junit.MockTest.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Test set: second.junit.MockTest
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.965 s - in second.junit.MockTest
|
BIN
target/test-classes/second/junit/AdvanceMathTest.class
Normal file
BIN
target/test-classes/second/junit/AdvanceMathTest.class
Normal file
Binary file not shown.
BIN
target/test-classes/second/junit/Creature.class
Normal file
BIN
target/test-classes/second/junit/Creature.class
Normal file
Binary file not shown.
BIN
target/test-classes/second/junit/FrodoTest.class
Normal file
BIN
target/test-classes/second/junit/FrodoTest.class
Normal file
Binary file not shown.
BIN
target/test-classes/second/junit/MockTest.class
Normal file
BIN
target/test-classes/second/junit/MockTest.class
Normal file
Binary file not shown.
BIN
target/test-classes/second/junit/Race.class
Normal file
BIN
target/test-classes/second/junit/Race.class
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user