Skip to content

Commit

Permalink
Latest Reflections API causes runtime failure that is visible only wh…
Browse files Browse the repository at this point in the history
…ile real lib usage. It was downgraded.

TestNGMethod structure is not shipped with DataSupplierMetaData.

As changelog plugin is abandoned, it was removed.
  • Loading branch information
sskorol committed Jul 18, 2020
1 parent 3ba5b9d commit 076fbf7
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 28 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Test Data Supplier Changelog

## 1.9.1-1.9.2
**feat(dependencies): micro-release**

* added TestNG 7.2.0 support;
* fixed broken tests and Sonar violations;
* updated outdated dependencies;
* removed abandoned Changelog plugin;
* fixed a crash related to Redlections API;
* TestNGMethod is now visible outside to make data listener more flexible;

## 1.9.0
**feat(dependencies): migrate to TestNG 7.0.0**

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ configurations {
dependencies {
agent 'org.aspectj:aspectjweaver:1.9.5'
compile 'io.github.sskorol:test-data-supplier:1.9.1'
compile 'io.github.sskorol:test-data-supplier:1.9.2'
}
compileJava {
Expand Down
12 changes: 2 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask

plugins {
id "java-library"
id "java"
Expand All @@ -8,7 +6,6 @@ plugins {
id "com.jfrog.bintray" version "1.8.5"
id "net.researchgate.release" version "2.8.1"
id "com.ferranpons.twitterplugin" version "1.1.0"
id "se.bjurr.gitchangelog.git-changelog-gradle-plugin" version "1.64"
id "com.github.ben-manes.versions" version "0.29.0"
}

Expand Down Expand Up @@ -52,7 +49,7 @@ dependencies {
'one.util:streamex:0.7.2',
'io.vavr:vavr:1.0.0-alpha-3',
"org.aspectj:aspectjrt:${aspectjVersion}",
'org.reflections:reflections:0.9.12',
'org.reflections:reflections:0.9.11',
'org.apache.commons:commons-csv:1.8',
'com.google.code.gson:gson:2.8.6',
"com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonVersion}",
Expand Down Expand Up @@ -181,11 +178,6 @@ test {
}
}

task gitChangelog(type: GitChangelogTask) {
file = new File("CHANGELOG.md")
templateContent = file('gradle/changelog.mustache').getText('UTF-8')
}

twitterPlugin {
def releaseVersion = project.hasProperty('release.releaseVersion') ? project.property('release.releaseVersion') : System.getenv('RELEASE_VERSION')
def tweet = "Test Data Supplier ${releaseVersion} has been released: ${project.projectUrl} #testng #testdatasupplier #java"
Expand All @@ -197,4 +189,4 @@ twitterPlugin {
message = "${tweet}"
}

afterReleaseBuild.dependsOn createTweet, gitChangelog
afterReleaseBuild.dependsOn createTweet
17 changes: 0 additions & 17 deletions gradle/changelog.mustache

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class DataSupplierMetaData {
private final boolean transpose;
private final boolean flatMap;
private final int[] indices;
@Getter
private final TestNGMethod testNGMethod;

public DataSupplierMetaData(final ITestContext context, final ITestNGMethod testMethod) {
Expand Down

0 comments on commit 076fbf7

Please sign in to comment.