Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:
JadxPlus
JavaGenerator
jOptions
JsEngine
LogbackPlus
MvelPlus
SlackPlus
Expand Down
5 changes: 2 additions & 3 deletions CommonsLangPlus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ dependencies {

// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}

Expand Down
9 changes: 6 additions & 3 deletions GitPlus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ dependencies {
implementation 'com.google.guava:guava:33.4.0-jre'
implementation 'org.eclipse.jgit:org.eclipse.jgit:7.1.0.202411261347-r'

// JGit uses SLF4J 1.7. Keep its logs intentionally disabled without the
// missing StaticLoggerBinder startup warning.
runtimeOnly 'org.slf4j:slf4j-nop:1.7.36'
Comment thread
lm-sousa marked this conversation as resolved.

// JUnit 5 testing framework
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}

Expand Down
5 changes: 2 additions & 3 deletions JacksonPlus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ dependencies {

// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}

Expand Down
5 changes: 2 additions & 3 deletions JadxPlus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ dependencies {

// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}

Expand Down
5 changes: 2 additions & 3 deletions JavaGenerator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ dependencies {

// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}

Expand Down
5 changes: 2 additions & 3 deletions SpecsUtils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ repositories {
dependencies {
// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testImplementation 'org.junit-pioneer:junit-pioneer:2.3.0' // For test retries
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public BiFunctionClassMap() {
this.classMapper = new ClassMapper();
}

@SuppressWarnings("unchecked")
public <ER extends R> BiFunctionClassMap(BiFunctionClassMap<T, U, ER> other) {
this.map = new HashMap<>();
for (var keyPair : other.map.entrySet()) {
Expand Down
8 changes: 8 additions & 0 deletions SpecsUtils/src/pt/up/fe/specs/util/io/InputFiles.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

import pt.up.fe.specs.util.SpecsIo;
import pt.up.fe.specs.util.SpecsLogs;
Expand All @@ -32,6 +33,13 @@ public record InputFiles(boolean isSingleFile, File inputPath, List<File> inputF
* @param inputPath can be the path to a single file or to a folder
*/
public static InputFiles newInstance(String inputPath) {
Objects.requireNonNull(inputPath, "inputPath");

if (inputPath.isEmpty()) {
SpecsLogs.warn("Input path is empty.");
return null;
}

File inputPathFile = new File(inputPath);
if (!inputPathFile.exists()) {
SpecsLogs.warn("Input path '" + inputPathFile + "' does not exist.");
Expand Down
5 changes: 2 additions & 3 deletions SymjaPlus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ dependencies {

// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testImplementation 'org.junit-pioneer:junit-pioneer:2.3.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}
Expand Down
1 change: 1 addition & 0 deletions SymjaPlus/src/main/resources/log4j2.component.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
log4j2.loggerContextFactory=org.apache.logging.log4j.simple.SimpleLoggerContextFactory
Comment thread
lm-sousa marked this conversation as resolved.
5 changes: 2 additions & 3 deletions XStreamPlus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ dependencies {

// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}

Expand Down
5 changes: 2 additions & 3 deletions jOptions/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ dependencies {

// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testImplementation 'org.junit-pioneer:junit-pioneer:2.3.0' // For test retries
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}
Expand Down
5 changes: 2 additions & 3 deletions tdrcLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ dependencies {

// Testing dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.23.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-inline:5.2.0' // For static mocking
testImplementation 'org.junit-pioneer:junit-pioneer:2.3.0' // For test retries
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
}
Expand Down
Loading