This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch 4.2.x
in repository https://gitbox.apache.org/repos/asf/grails-geb.git
The following commit(s) were added to refs/heads/4.2.x by this push:
new 67789f4 fix: Add fileDetector method to IContainerGebConfiguration
interface (#164)
67789f4 is described below
commit 67789f44b889600c6e15e4b5ac4daeb6eb826213
Author: Jonas Pammer <[email protected]>
AuthorDate: Tue Apr 15 08:20:53 2025 +0200
fix: Add fileDetector method to IContainerGebConfiguration interface (#164)
---
.../groovy/grails/plugin/geb/ContainerGebConfiguration.groovy | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git
a/src/testFixtures/groovy/grails/plugin/geb/ContainerGebConfiguration.groovy
b/src/testFixtures/groovy/grails/plugin/geb/ContainerGebConfiguration.groovy
index 487f2f9..36e5f8e 100644
--- a/src/testFixtures/groovy/grails/plugin/geb/ContainerGebConfiguration.groovy
+++ b/src/testFixtures/groovy/grails/plugin/geb/ContainerGebConfiguration.groovy
@@ -68,11 +68,11 @@ import java.lang.annotation.Target
/**
* Inheritable version of {@link ContainerGebConfiguration}
- *
+ *
* @since 4.2
*/
interface IContainerGebConfiguration {
-
+
default String protocol() {
ContainerGebConfiguration.DEFAULT_PROTOCOL
}
@@ -84,4 +84,8 @@ interface IContainerGebConfiguration {
default boolean reporting() {
false
}
+
+ default Class<? extends ContainerFileDetector> fileDetector() {
+ ContainerGebConfiguration.DEFAULT_FILE_DETECTOR
+ }
}