You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2020/10/24 12:25:09 UTC

[tapestry-5] branch java9modules updated: TAP5-2644: trying to fix test failure in OverrideMethodsTest

This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch java9modules
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/java9modules by this push:
     new 779f9ab  TAP5-2644: trying to fix test failure in OverrideMethodsTest
779f9ab is described below

commit 779f9ab139aeabd5e900317711762c3409045cac
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Sat Oct 24 09:24:47 2020 -0300

    TAP5-2644: trying to fix test failure in OverrideMethodsTest
---
 tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java b/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java
index 41921d6..f09aea2 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java
@@ -29,6 +29,7 @@ import org.apache.tapestry5.ioc.Registry;
 import org.apache.tapestry5.ioc.def.ModuleDef;
 import org.apache.tapestry5.ioc.internal.util.InternalUtils;
 import org.apache.tapestry5.ioc.services.SymbolProvider;
+import org.apache.tapestry5.modules.TapestryModule;
 import org.slf4j.LoggerFactory;
 
 import java.io.IOException;
@@ -102,6 +103,7 @@ public class PageTester
         TapestryAppInitializer initializer = new TapestryAppInitializer(LoggerFactory.getLogger(PageTester.class), provider, appName,
                 null);
 
+        initializer.addModules(TapestryModule.class);
         initializer.addModules(PageTesterModule.class);
         initializer.addModules(moduleClasses);
         initializer.addModules(provideExtraModuleDefs());