gt; be a more intuitive and easier way to setup testing. This is my first
> contact with an IoC-Container so maybe its a very basic question:
>
> What I want to test: DAOs configured as tapestry-services using hibernate.
> My question: how can these services be tested easily?
> My Pro
my first
contact with an IoC-Container so maybe its a very basic question:
What I want to test: DAOs configured as tapestry-services using hibernate.
My question: how can these services be tested easily?
My Problem: The implementation of the DAO is using a hibernate Session to
accomplish all tasks
try-release-version}
>
>
>
> org.hibernate
> hibernate
> 3.2.2.ga
>
>
>
> org.hibernate
> hibernate-annotations
> 3.2.1.ga
>
>
>
> c3p0
> c3p0
> 0.9.0
>
ry
tapestry-hibernate
${tapestry-release-version}
org.hibernate
hibernate
3.2.2.ga
org.hibernate
hibernate-annotations
3.2.1.ga
c3p0
c3p0
0.9.0
geronimo-spec
geronimo
.1.ga
c3p0
c3p0
0.9.0
geronimo-spec
geronimo-spec-jta
1.0-M1
test
mysql
mysql-connector-java
3.1.12
org.apache.tapestry
tapestry-yuicompressor
${tapestry-release-ve
On Wed, 08 Feb 2012 14:48:09 -0200, tompeter wrote:
Hi Thiago,
Hi!
I don't understand how this could happen, as packaging the application
with maven (with outcommented test) to a war file creates a working
application.
This doesn't mean you have wrong dependencies. Your s
Hi Thiago,
thanks a lot for your reply!
I don't understand how this could happen, as packaging the application with
maven (with outcommented test) to a war file creates a working application.
Could you give me a hint where I might have messed it up?
Thanks a lot!
Tom
--
View this messa
On Wed, 08 Feb 2012 13:37:48 -0200, tompeter wrote:
Hi everyone,
Hi!
java.lang.NoSuchMethodException:
org.hibernate.validator.ClassValidator.(java.lang.Class,
java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator,
java.util.Map,
org.hibernate.annotations.common.reflection.Re
Hi everyone,
I am currently trying to test a Tapestry page. The page Instantiation
already fails because of hibernate errors. I have remapped configuration for
the test, so that no hibernate session needs to be injected. still, i have
the following error output:
Failed tests:
simple_test
The message "No PersistenceProvider implementation available in the runtime
environment." means that no JPA implementor like EclipseLink is not
available on the classpath.
On Fri, Dec 16, 2011 at 10:50 AM, Bo Gao wrote:
> Hi,
> How can I test my services using TestNG?
>
&g
Hi,
How can I test my services using TestNG?
I use PageTester to start tapestry and call getService to get my service
instance.
This works when I run in a main function.
But I write some test class use TestNG, when I call mvn test in shell.
I get the following Exceptions.
&qu
I've been seeing this intermittently as well; it is a timing problem
since the content fades out shortly after being added. Not sure how
to fix it without simply removing the test entirely.
On Fri, Aug 12, 2011 at 11:27 AM, Jon Williams
wrote:
> Hi Tapestrians,
>
> I've b
y provider when clearing
the provider. This may indicate that you have multiple IoC Registries.
[INFO] log Shutdown hook executing
1338 tests completed, 2 failures
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':tapestry-core:test'.
#1 *ajax_se
Hi Raj,
Is your problem solved. I'm also facing similar issues while deployment in
jboss5.1.0.
Please help me in this regard,
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p4673436.html
Sent from the Tapestry - User mailing
This made the Trick !
Thank you very much !!
Regards !
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Grinder-stress-test-tp4564501p4575010.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Ajax support requires JavaScript. Test request.isXHR in your method before
returning a multi zone update.
On Jul 8, 2011 5:02 AM, "atcach" wrote:
> Hi,
> I'm doing some stress testing with grinder on a tapestry 5 project with
> multizones.
> I have multiple forms in th
http://tawus.wordpress.com/2011/04/16/tapestry-magic-2-ajax-with-graceful-degradation/
On Fri, Jul 8, 2011 at 16:16, Thiago H. de Paula Figueiredo
wrote:
> On Fri, 08 Jul 2011 09:02:18 -0300, atcach wrote:
>
>> Hi,
>
> Hi!
>
>> classpath:com/tida/servir/pages/ABMUsuario.tml, line 85]}]. Return t
On Fri, 08 Jul 2011 09:02:18 -0300, atcach wrote:
Hi,
Hi!
classpath:com/tida/servir/pages/ABMUsuario.tml, line 85]}]. Return type
org.apache.tapestry5.ajax.MultiZoneUpdate can not be handled.
Tapestry only handles AJAX-related return types (MultiZoneUpdate included)
if the request has t
.tapestry5.ajax.MultiZoneUpdate can not be handled.
Can anybody help me in any direction ?
Regards
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Grinder-stress-test-tp4564501p4564501.html
Sent from the Tapestry - User mailing list archive at
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/XHR-request-to-return-a-test-xml-payload-tp4277254p4277254.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---
l payload. I need to
> dynamically make the URL string in the browser to send to the server. What
> should the format of that URL be?
>
> Thanks
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/XHR-request-to-return-a-test-xml-payload-t
On Sat, 02 Apr 2011 01:53:47 -0300, coriolisguy
wrote:
Hi All,
Hi!
I have an ajax request that needs to return a text/xml payload.
Return a StreamResponse (TextStreamResponse will probably be useful to you.
I need to dynamically make the URL string in the browser to send to the
serve
http://code.google.com/p/tapestry-addons/
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/XHR-request-to-return-a-test-xml-payload-tp4277254p4278996.html
Sent from the Tapestry - User mailing list archive at Nabble.com
-test-xml-payload-tp4277254p4277254.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h
Hi,
Thanks for reply.I have done same think whatever you suggested me but i
still getting same exception.Please anybody provide me solution.
Thanks
Raj Jaiswal
MCA SCJP1.6.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test
://tapestry-users.832.n2.nabble.com/Exception-starting-filter-test-tp6083791p6096738.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For
t;app", but you
can use any name you want. Tapestry uses this to determine what module class
name to look for .
Please find solution,
Thanks in Advance
Raj Jaiswal
MCA SCJP1.6
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p34
Hi bobharner ,
Thanks for reply.
Raj jaiswal
MCA SCJP.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3411937.html
Sent from the Tapestry - User mailing list archive at Nabble.com
://tapestry.1045711.n5.nabble.com/file/n3410456/web.xml web.xml
> Hi,
> I have attached web.xml.
> Thanks
> Raj jaiswal
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3410456.html
> Sent
http://tapestry.1045711.n5.nabble.com/file/n3410456/web.xml web.xml
Hi,
I have attached web.xml.
Thanks
Raj jaiswal
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3410456.html
Sent from the Tapestry - User mailing list archive at
Can you send to us your web.xml .
Emmanuel
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3409390.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Hi,
I am developing very small program in tapestry its running fine but i am
getting below exception.Please anybody help to solve this problem.
Exception starting filter test
java.lang.NullPointerException
at
org.apache.tapestry5
Thanks Mark
We have just found the solution. I had the wrong testng version in my
pom.xml .
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Test-Selenium-with-Tapestry-5-2-4-tp3370957p3374542.html
Sent from the Tapestry - User mailing list archive at Nabble.com
t;
> I really thank to all of you!
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Test-Selenium-with-Tapestry-5-2-4-tp3370957p3373989.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> --
Does anyone have a solution to my problem ?
I really thank to all of you!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Test-Selenium-with-Tapestry-5-2-4-tp3370957p3373989.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Hi
What i do is create a main test page say "TestIndex"
Now say I have a page PageNeedingContext and it needs a context, I add this
to my TestIndex page
Page Needing Context
Now my test will be something like
@BeforeClass
public void init() {
pageTester = new
if the page contains some injected services, how to use PageTester with this
kind of page? thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-test-ActivationRequestParameter-using-PageTester-tp3353447p3353466.html
Sent from the Tapestry - User mailing list
Hi
When I have to test a page with context parameter, I create another page say
Index which has a page link to this page along with the context
Page to Test
and then load Index page and click on the pagelink
Hope it helps
regards
Taha
On Sun, Jan 23, 2011 at 1:44 PM, Jun Tsai wrote:
>
hi,
page(scala):
class Start{
@ActivationRequestParameter("name")
private var name:String = _
def onActivate():Object={
return new TextStreamResponse("text/plain",name)
}
}
test (scala):
val appPackage = "mq.api";
val appNa
Hi
I have a secured page which when requested without authentication redirects
to a login page.
I want to test this using PageTester. I tried
pageTester.renderPageAndReturnResponse().getRedirectURI() but it returns
null.
Now I am testing by checking the content of the returned page... Is there
Turn out to be "-XX:+UseCompressedOops" cause the problem. Problem solved.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3289579.html
Sent from the Tapestry - User mailing list archive at
message in context:
> http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278183.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
-return-blank-layout-under-heavy-load-test-tp3277134p3278183.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h
suggestion?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278118.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
11.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278100.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.or
h should normally:
>
> Tapestry.onDOMLoaded(function() {
> Tapestry.init({"linkZone":[["forgotPassword","loginZone","/duc/login.forgotpassword"]],"zone":[{"update":"show","element":"loginZone"}]});
> }
On Tue, 23 Nov 2010 15:07:33 -0200, dennisdeo81
wrote:
Hi,
Hi!
I recently have an application develop with tapestry 5.1 deploy on
Weblogic + oracle database.
Have you tried Tapestry 5.2(.4)? Since the 5.2 alphas, Tapestry doesn't
use a page pool anymore, and this can be a factor when
Also it's running on 4 vcpu, 12G memory server, so it only use nearly 50% of
cpu, 40% or memory, 40 connections to the database whilst the load test.
Anyone have any idea?
Helps are much appreciated.
Many thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.co
bject before I actually had this event handler in
place, to set off the if block (you know how that went...).
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/If-test-doesn-t-like-testing-a-java-lang-Object-for-not-null-tp5477845p5478857.html
Sent from the Tapestry Users ma
esults in false just fine. But doing "obj = new Object()"
> makes it explode. Oddly enough, "obj = new Integer(1)" (and presumably any
> other subclass of Object), works just fine.
>
>
> An unexpected application exception has occurred.
> Render queue err
ender queue error in BeginRender[Page:layout.if_9]: Failure reading
parameter 'test' of component Page:layout.if_9: Could not find a coercion
from type java.lang.Object to type java.lang.Boolean. Available coercions:
Double --> Float, Float --> Double, Long --> Boolean, Long --> Byt
DAO extends T5DAOTestCase {
...
}
Enjoy this~
On Sat, Aug 7, 2010 at 4:34 AM, cleverpig wrote:
> I checked out T5-hibernate-core source code,there's possible to make a
> test module for hibernate-core module.
> in HibernateCoreModule:
>
> public class HibernateCore
I checked out T5-hibernate-core source code,there's possible to make a
test module for hibernate-core module.
in HibernateCoreModule:
public class HibernateCoreModule
{
public static void bind(ServiceBinder binder)
{
binder.bind(HibernateTransactionDecorator.
http://maven.apache.org/guides/mini/guide-building-for-different-environments.html
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
==
http://tapestry.apache.org/tapestry5/tapestry-test/
http://tapestry.formos.com/projects/tapestry-testify/
ref: http://wiki.apache.org
JMockit allows developers to write unit and integration tests without
the testability issues typically found with other mocking tools.
It support hibernate mock too.
Sounds like very well fit with tapestry.
T5 has test ability with inject dependency itself: it can load
RegistryBuilder from test
I'm writing a unit test for a patch and I'm getting a
NullPointerException in an interesting place.
I have a property defined like this:
@Property
@Persist(org.apache.tapestry5.PersistenceConstants.FLASH)
private static Map selected;
and in method
public boolean isObje
test
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
t the an exception [1].
does anyone know how to obtain a reference to the Messages service from
the test enviroment?
Cheers,
Joost
[1]:
java.lang.RuntimeException: No service implements the interface
org.apache.tapestry5.ioc.Messages.
at
org.apache.tape
olle.hal...@gmail.com wrote on 09/10/2009 16:24:43:
> I'm struggling with writing a test for a page that just redirects to an
> external page.
>
> The page basically looks like this:
>
> public class Redirecter {
>
> @Inject
> private UrlManager urlManager;
Hi,
I'm struggling with writing a test for a page that just redirects to an
external page.
The page basically looks like this:
public class Redirecter {
@Inject
private UrlManager urlManager;
public Object onActivate() {
java.net.URL url = new URL(urlManager.getExternalUrlFor
Have a look at the org.apache.tapestry5.IntegrationTests class in src/test/.
Uli
Sebastian Hennebrueder schrieb:
Hello,
Ulrich remind me to write a unit test for the patch I provided.
https://issues.apache.org/jira/browse/TAP5-832
How to I properly test a form submission to submit no value
Hello,
Ulrich remind me to write a unit test for the patch I provided.
https://issues.apache.org/jira/browse/TAP5-832
How to I properly test a form submission to submit no value and to test
that the Hidden component throws an exception.
Shall I use a PageTester
http://tapestry.apache.org
Hello,
Ulrich remind me to write a unit test for the patch I provided.
https://issues.apache.org/jira/browse/TAP5-832
How to I properly test a form submission to submit no value and to test
that the Hidden component throws an exception.
Shall I use a PageTester
http://tapestry.apache.org
0)
at org.testng.TestRunner.runWorkers(TestRunner.java:712)
at org.testng.TestRunner.privateRun(TestRunner.java:582)
at org.testng.TestRunner.run(TestRunner.java:477)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
at org.testng.SuiteRunner.runSequentially(S
t what exactly is going wrong. I'm guessing some
> maven thing.
>
> Uli
>
> Sebastian Hennebrueder schrieb:
>>
>> Hello,
>> if I run the mvn test in tapestry-core, I get the following test failures
>>
>> failed tests:
>>
>> stylesheet_link(or
I ran the integration tests from within eclipse this morning and
everything was fine. Try to find out what exactly is going wrong. I'm
guessing some maven thing.
Uli
Sebastian Hennebrueder schrieb:
Hello,
if I run the mvn test in tapestry-core, I get the following test failures
failed
Hello,
if I run the mvn test in tapestry-core, I get the following test failures
failed tests:
stylesheet_link(org.apache.tapestry5.internal.services.PartialMarkupDocumentLinkerTest)
client_field_format_validation(org.apache.tapestry5.integration.IntegrationTests
Very nice Sebastian ! thanks!
On Fri, Aug 14, 2009 at 8:24 PM, Sebastian
Hennebrueder wrote:
> Hello,
>
> I have finally finished the evaluation of Tapestry.
>
> I would like to thank you for your feedbacks, which helped a lot to write
> the article.
>
> You can find the article on my website.
>
>
Hello,
I have finally finished the evaluation of Tapestry.
I would like to thank you for your feedbacks, which helped a lot to
write the article.
You can find the article on my website.
http://www.laliluna.de/tapestry-webframework-evaluation-test.html
It is part of the web framework series.
Paul Field wrote on 28/07/2009 09:35:05:
> rolfst wrote on 27/07/2009 14:13:51:
> > Yes there are three groups involved in the suite.
> > How ever no other test from other groups are available.
> > It seems that when I remove the reference to groups in my testng.x
rolfst wrote on 27/07/2009 14:13:51:
> Hi Paul,
>
> Yes there are three groups involved in the suite.
> How ever no other test from other groups are available.
> It seems that when I remove the reference to groups in my testng.xml it
> works fine.
>
> For now a workabl
Hi Paul,
Yes there are three groups involved in the suite.
How ever no other test from other groups are available.
It seems that when I remove the reference to groups in my testng.xml it
works fine.
For now a workable solution it looks like a bug though not sure wether
testng or testify
rolfst wrote on 27/07/2009 13:26:23:
>
> @Test(groups = "rbudisplay")
>public void test_rbuselection_fulltype() throws Exception
>{
Oooo... it might be something to do with groups. Is your suite specifying
that only certain groups are run?
(my brain aches
Hi Paul,
I have this test method
@Inject
private TestPageResultRetriever retriever;
@Inject
private RBUTypeRepository repository;
@Override
protected void doSetUp() throws Exception
{
}
@Test(groups = "rbudi
On Jul 27, 2009, at 6:25 AM, Paul Field wrote:
If you are setting up state that you want to be fresh for each test,
then
you should consider using Testify's pertest scope:
http://tapestry.formos.com/nightly/tapestry-testify/#Per-test_scope
Ah... this is what I was thinking - thank
then it's best to use @BeforeMethod, since you may be
> setting state on these which needs to be fresh for each test.
As I understand the Tapestry IOC, it shouldn't make any difference.
Generally, service objects are actually proxy objects; with non-singleton
scopes the proxy object
e on these which needs to be fresh for each test.
cheers,
Christian.
On 2009-07-27, at 05:00 , Paul Field wrote:
Hi Rolf,
Hi I am using Testify to inject a fake repository into my testng test
but I
come op to a problem.
when i first access the fake repository it gets injected however the
se
Hi Rolf,
> Hi I am using Testify to inject a fake repository into my testng test
but I
> come op to a problem.
>
> when i first access the fake repository it gets injected however the
second
> time i access the repository I get a null pointer exception.
>
> Now comes
Hi I am using Testify to inject a fake repository into my testng test but I
come op to a problem.
when i first access the fake repository it gets injected however the second
time i access the repository I get a null pointer exception.
Now comes another strange thing when i debug everything
se fake services and I
exclude the module(s) with the real services. The Fake services have
extended interfaces that allow fake data to be pushed into them.
Obviously, you have to be careful when the IOC container is shared by all
the tests that the data you push into the fakes in one test d
On Thu, May 28, 2009 at 5:18 PM, Geoffrey Wiseman <
geoffrey.wise...@gmail.com> wrote:
> To make this happen, I looked at a few options, an ObjectProvider (e.g.
> http://wiki.apache.org/tapestry/Tapestry5SpringIntegrationAlternative1)
> although tapestry-spring seems to now be using an ObjectCreat
This is a long story, so I'm going to try and get through it quickly in
point form:
- I have pages that have dependencies injected into them that come from
Spring.
- I want to be able to test those pages using tapestry-test and
PageTester, possibly with the real dependencies, pos
On Thu, May 14, 2009 at 7:41 PM, Ben Gidley wrote:
> Hi,
> As I posted a few weeks back I have been running a series of load tests and
> have come to the following key conslusions
Great work, really nice to read.
Thanks
--
Massimo
http://meridio.blogspot.com
--
Thanks for the great work; I think these were pretty great results.
On Thu, May 14, 2009 at 10:41 AM, Ben Gidley wrote:
> Hi,
> As I posted a few weeks back I have been running a series of load tests and
> have come to the following key conslusions
>
> - *Tapestry is fast* - the response times
Hi,
As I posted a few weeks back I have been running a series of load tests and
have come to the following key conslusions
- *Tapestry is fast* - the response times even under load are low. It
isn't alway's fastest solution but it is sufficiently fast for me to focus
my tuning attention e
Mostly our pages are kept quite clean and simple, so we write unit tests for
business logic mostly, I use JUnit and sometimes Easymock for that.
> using test driven development for pages?
No, (although thinking of looking at PageTester at some point) but we do some
black box testing us
Hi,
I'd like to know how others do the test for page? what I'm doing now is,
write the code, manually test it until it works, that's the end. how you
guys do this task:
1) using test driven development for pages?
2) just write the code, write a test after it is done for SVN
thanks this worked.
just some detailed program parameters for running with RunJetty:
working-directory needs to be:
/tapestry-core
programm arguments (for running integration-test-application app1):
app1 src/test/app1
Ulrich Stärk schrieb:
IIRC there's a RunJetty class somewhere in
tap
Just in case you browse thread for same problem and wait to have it
resolved: I filed a bug under
http://www.jetbrains.net/jira/browse/IDEA-22800.
manuel aldana schrieb:
I found the cause. It seems to be an IntelliJ thing. By default itself
maven2 isn't including test-classes (test page
I found the cause. It seems to be an IntelliJ thing. By default itself
maven2 isn't including test-classes (test pages are sitting inside
src/test/java) when packaging so pages could not be found.
Never the less it is weird that IntelliJ does not include them anyway,
because the o
IIRC there's a RunJetty class somewhere in tapestry-core/src/test/../integration that accepts the
name of the test application to start and starts it up. This works for me.
Uli
manuel aldana schrieb:
I am trying hard to deploy the integration test webapp from
tapestry-core, but I haven&
I am trying hard to deploy the integration test webapp from
tapestry-core, but I haven't had succeeded so far.
Loading webapp itself works (I see the ioc outputs on console). But when
going to the context path I would only see a directory listing of the
files of the exploded webapp.
Free-test russian xxx site http://xxx.gamapa.ru http://xxx.gamapa.ru
--
View this message in context:
http://www.nabble.com/Free-test-russian-xxx-site-tp21568499p21568499.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Seems reasonable to me; the TypeCoercer is coercing Float to Integer
and checking for zero, and that's a lossy coercion that rounds down.
On Sun, Jan 18, 2009 at 12:59 AM, James Hillyerd wrote:
> It seems that t:if considers 0.1, 0.99 as false, but 1.0 as true.
> Should I file a bug? This i
Hi James,
I don't think it is an issue with the if-component. If-component just
calls a method that is given in the test-attribute and evaluates whether
it returns true or false. Could it be that in this method you
accidencially do an Integer comparison instead of a Float comparison?
G
It seems that t:if considers 0.1, 0.99 as false, but 1.0 as true.
Should I file a bug? This is 5.0.18
-james
--
James A. Hillyerd
Hi,
I created src/test/java/bb.sandbox/myapp/integration/IntegrationTests.java
package bb.sandbox.myapp.integration;
import org.apache.tapestry5.test.AbstractIntegrationTestSuite;
import org.testng.annotations.Test;
@Test(timeOut = 5, sequential = true)
public class IntegrationTests
, and get us well past the "why is Tapestry output broken"
questions. However, being on a Mac, I don't really have a good IE
test environment.
I would ask that people build the latest Tapestry (or wait for
tonight's nightly build) and give this a whirl, to see if it has
broken a
I have some integration tests that use the tapestry-test module. The
tests run just fine when i execute mvn test but when i execute the
cobertura report the tests fail with the following error:
[ERROR] TapestryIOCModule.MasterObjectProvider Construction of service
MasterObjectProvider failed
anging the location
path in the constructor to the place where maven creates the exploded
war but that didn't help.
Again, any ideas ?
Hugo Palma wrote:
This is my first try at using tapestry-test.
I created a test class with a test method:
public class SecurityTest extends AbstractInteg
101 - 200 of 298 matches
Mail list logo