diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-03-13 17:06:20 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-03-13 18:19:35 +0100 |
commit | c979ee9ddfe0e990c1527d45c8429397601e4f52 (patch) | |
tree | 5184ebcb639507482a29a70d449f8cee0adf2558 /test/transform | |
parent | e8cd744d3b2d986dd847b9ff6bdf2750a8dd6764 (diff) | |
download | lombok-c979ee9ddfe0e990c1527d45c8429397601e4f52.tar.gz lombok-c979ee9ddfe0e990c1527d45c8429397601e4f52.tar.bz2 lombok-c979ee9ddfe0e990c1527d45c8429397601e4f52.zip |
[testing] now easier to identify what failed, by name of test case
test case names now include idempotent/javac/ecj/prettyprint as a prefix to the test case filename.
Diffstat (limited to 'test/transform')
4 files changed, 20 insertions, 4 deletions
diff --git a/test/transform/src/lombok/transform/TestLombokFilesIdempotent.java b/test/transform/src/lombok/transform/TestLombokFilesIdempotent.java index 754a4237..42d2b636 100644 --- a/test/transform/src/lombok/transform/TestLombokFilesIdempotent.java +++ b/test/transform/src/lombok/transform/TestLombokFilesIdempotent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2015 The Project Lombok Authors. + * Copyright (C) 2009-2021 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -58,4 +58,8 @@ public class TestLombokFilesIdempotent extends DirectoryRunner.TestParams { public boolean expectChanges() { return false; } + + @Override public String testNamePrefix() { + return "idempotent-"; + } } diff --git a/test/transform/src/lombok/transform/TestSourceFiles.java b/test/transform/src/lombok/transform/TestSourceFiles.java index 17be133e..ac8b59c1 100644 --- a/test/transform/src/lombok/transform/TestSourceFiles.java +++ b/test/transform/src/lombok/transform/TestSourceFiles.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2015 The Project Lombok Authors. + * Copyright (C) 2009-2021 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -58,4 +58,8 @@ public class TestSourceFiles extends DirectoryRunner.TestParams { public boolean expectChanges() { return false; } + + @Override public String testNamePrefix() { + return "prettyprint-"; + } } diff --git a/test/transform/src/lombok/transform/TestWithDelombok.java b/test/transform/src/lombok/transform/TestWithDelombok.java index 9f4cf94a..f075ba04 100644 --- a/test/transform/src/lombok/transform/TestWithDelombok.java +++ b/test/transform/src/lombok/transform/TestWithDelombok.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2015 The Project Lombok Authors. + * Copyright (C) 2009-2021 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -58,4 +58,8 @@ public class TestWithDelombok extends DirectoryRunner.TestParams { public boolean expectChanges() { return true; } + + @Override public String testNamePrefix() { + return "javac-"; + } } diff --git a/test/transform/src/lombok/transform/TestWithEcj.java b/test/transform/src/lombok/transform/TestWithEcj.java index 3df8dc8b..7b2a6c03 100644 --- a/test/transform/src/lombok/transform/TestWithEcj.java +++ b/test/transform/src/lombok/transform/TestWithEcj.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2015 The Project Lombok Authors. + * Copyright (C) 2009-2021 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -62,4 +62,8 @@ public class TestWithEcj extends DirectoryRunner.TestParams { public boolean expectChanges() { return true; } + + @Override public String testNamePrefix() { + return "ecj-"; + } } |