aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2020-01-17 01:17:37 +0100
committerRoel Spilker <r.spilker@gmail.com>2020-01-20 14:11:08 +0100
commit290edf95275f82e674952b21d27b9f485f5a2418 (patch)
tree5251b13539530775bed6b0a450dd559fadf1c089 /test
parentf2d49a89ecc09dc30fc03102254c9ffc62b7659e (diff)
downloadlombok-290edf95275f82e674952b21d27b9f485f5a2418.tar.gz
lombok-290edf95275f82e674952b21d27b9f485f5a2418.tar.bz2
lombok-290edf95275f82e674952b21d27b9f485f5a2418.zip
Config import: add to trace
Diffstat (limited to 'test')
-rw-r--r--test/configuration/resource/configurationRoot/d1/d11/d111/import1.config5
-rw-r--r--test/configuration/resource/configurationRoot/d1/d11/d111/lombok.config1
-rw-r--r--test/configuration/resource/configurationRoot/err.txt2
-rw-r--r--test/configuration/resource/configurationRoot/out.txt48
4 files changed, 27 insertions, 29 deletions
diff --git a/test/configuration/resource/configurationRoot/d1/d11/d111/import1.config b/test/configuration/resource/configurationRoot/d1/d11/d111/import1.config
new file mode 100644
index 00000000..2a38bda5
--- /dev/null
+++ b/test/configuration/resource/configurationRoot/d1/d11/d111/import1.config
@@ -0,0 +1,5 @@
+import missing
+import import1.config
+import ../d111/import1.config
+lombok.accessors.prefix += z_
+lombok.accessors.prefix += f \ No newline at end of file
diff --git a/test/configuration/resource/configurationRoot/d1/d11/d111/lombok.config b/test/configuration/resource/configurationRoot/d1/d11/d111/lombok.config
index abf7eea0..fefcea42 100644
--- a/test/configuration/resource/configurationRoot/d1/d11/d111/lombok.config
+++ b/test/configuration/resource/configurationRoot/d1/d11/d111/lombok.config
@@ -1,2 +1,3 @@
+import import1.config
clear lombok.accessors.chain
lombok.accessors.prefix += m_ \ No newline at end of file
diff --git a/test/configuration/resource/configurationRoot/err.txt b/test/configuration/resource/configurationRoot/err.txt
index e69de29b..a9b3f8af 100644
--- a/test/configuration/resource/configurationRoot/err.txt
+++ b/test/configuration/resource/configurationRoot/err.txt
@@ -0,0 +1,2 @@
+Problems in the configuration files:
+- Imported file does not exist: import missing (BASE/d1/d11/d111/import1.config:1) \ No newline at end of file
diff --git a/test/configuration/resource/configurationRoot/out.txt b/test/configuration/resource/configurationRoot/out.txt
index 8100fadb..8cdd9bca 100644
--- a/test/configuration/resource/configurationRoot/out.txt
+++ b/test/configuration/resource/configurationRoot/out.txt
@@ -2,26 +2,17 @@ Configuration for 'BASE/d1/d11'.
# Emit a warning or error if @Accessors is used.
lombok.accessors.flagUsage = ERROR
-# BASE/d1/lombok.config:
-# <'lombok.accessors.flagUsage' not mentioned>
-#
-# BASE/d1/d11/lombok.config:
+# BASE/d1/d11/lombok.config (stopped bubbling):
# 4: lombok.accessors.flagUsage = ERROR
# Generate setters that return 'this' instead of 'void' (default: false).
lombok.accessors.chain = false
-# BASE/d1/lombok.config:
-# <'lombok.accessors.chain' not mentioned>
-#
-# BASE/d1/d11/lombok.config:
+# BASE/d1/d11/lombok.config (stopped bubbling):
# 3: lombok.accessors.chain = false
# Strip this field prefix, like 'f' or 'm_', from the names of generated getters and setters.
lombok.accessors.prefix += f
-# BASE/d1/lombok.config:
-# <'lombok.accessors.prefix' not mentioned>
-#
-# BASE/d1/d11/lombok.config:
+# BASE/d1/d11/lombok.config (stopped bubbling):
# 5: lombok.accessors.prefix += f
# Use this name for the generated logger fields (default: 'log').
@@ -34,37 +25,39 @@ Configuration for:
# Emit a warning or error if @Accessors is used.
lombok.accessors.flagUsage = ERROR
-# BASE/d1/lombok.config:
-# <'lombok.accessors.flagUsage' not mentioned>
-#
-# BASE/d1/d11/lombok.config:
+# BASE/d1/d11/lombok.config (stopped bubbling):
# 4: lombok.accessors.flagUsage = ERROR
#
+# BASE/d1/d11/d111/import1.config (imported from BASE/d1/d11/d111/lombok.config:1):
+# <'lombok.accessors.flagUsage' not mentioned>
+#
# BASE/d1/d11/d111/lombok.config:
# <'lombok.accessors.flagUsage' not mentioned>
# Generate setters that return 'this' instead of 'void' (default: false).
clear lombok.accessors.chain
-# BASE/d1/lombok.config:
-# <'lombok.accessors.chain' not mentioned>
-#
-# BASE/d1/d11/lombok.config:
+# BASE/d1/d11/lombok.config (stopped bubbling):
# 3: lombok.accessors.chain = false
#
+# BASE/d1/d11/d111/import1.config (imported from BASE/d1/d11/d111/lombok.config:1):
+# <'lombok.accessors.chain' not mentioned>
+#
# BASE/d1/d11/d111/lombok.config:
-# 1: clear lombok.accessors.chain
+# 2: clear lombok.accessors.chain
# Strip this field prefix, like 'f' or 'm_', from the names of generated getters and setters.
+lombok.accessors.prefix += z_
lombok.accessors.prefix += f
lombok.accessors.prefix += m_
-# BASE/d1/lombok.config:
-# <'lombok.accessors.prefix' not mentioned>
+# BASE/d1/d11/lombok.config (stopped bubbling):
+# 5: lombok.accessors.prefix += f
#
-# BASE/d1/d11/lombok.config:
+# BASE/d1/d11/d111/import1.config (imported from BASE/d1/d11/d111/lombok.config:1):
+# 4: lombok.accessors.prefix += z_
# 5: lombok.accessors.prefix += f
#
# BASE/d1/d11/d111/lombok.config:
-# 2: lombok.accessors.prefix += m_
+# 3: lombok.accessors.prefix += m_
# Use this name for the generated logger fields (default: 'log').
clear lombok.log.fieldName
@@ -77,10 +70,7 @@ clear lombok.accessors.flagUsage
# Generate setters that return 'this' instead of 'void' (default: false).
lombok.accessors.chain = true
-# BASE/d1/lombok.config:
-# <'lombok.accessors.chain' not mentioned>
-#
-# BASE/d1/d12/lombok.config:
+# BASE/d1/d12/lombok.config (stopped bubbling):
# 3: lombok.accessors.chain = true
# Strip this field prefix, like 'f' or 'm_', from the names of generated getters and setters.