-
To fix multiple captures I've created a MultipleCapture object (see below)
Now you can check the n-th call
MultipleCapture capturedMessages = new MultipleCapture();
.. method calls
assertThat(capturedMessages.getValue(1), containsString("GROUP"));
assertThat(capturedMessages.getValue(2), containsString("QUESTION"));
The class:
public class MultipleCapture...
2009-01-29 11:29:40 UTC in EasyMock
-
The ./configure command failes in version 1.3.0 with the following error:
appending configuration tag "F77" to libtool
checking for intltool >= 0.40.0... 0.37.1 found
configure: error: Your intltool is too old. You need intltool 0.40.0 or later.
I'am running Ubuntu 8.04 and run:
apt-get install pidgin-dev
apt-get install intltool
how can I fix this?.
2008-11-19 11:38:34 UTC in Bot Sentry
-
Hello,
I'm playing with unitils and want to know what the best practice is for Transactions and dao's
In the test below a call is made to: authorizationDao.save(authorizationUser) after that I check if the id of the saved object is set.
The default transaction is a commit after the test. But if I run the test there is no id generated for my object. To fix this I turned of the...
2008-11-13 12:20:38 UTC in Unitils
-
The problem of the exceptions was: The org.slf4j:slf4j-api and binding (org.slf4j:slf4j-log4j12) should be the same version.
I fixed this in my pom.xml and now the mapping test is succesful.
<!-- LOGGING DEPENDENCIES - LOG4J -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>...
2008-11-07 09:19:38 UTC in Unitils
-
Hi,
I'm tring unitils for the first time. I try to get the HibernateMappingTest working but got an exception (see below)
It looks like classpath issues.
I'am running Eclipse, maven2
What am I doing wrong?
org.unitils.core.UnitilsException: Could not load class with name org.hibernate.cfg.AnnotationConfiguration
at...
2008-11-06 21:46:44 UTC in Unitils
-
martintilma committed revision 15 to the Flori - learning objects repository SVN repository, changing 2 files.
2007-12-17 16:43:44 UTC in Flori - learning objects repository
-
martintilma committed revision 14 to the Flori - learning objects repository SVN repository, changing 1 files.
2007-12-17 16:24:35 UTC in Flori - learning objects repository
-
martintilma committed revision 13 to the Flori - learning objects repository SVN repository, changing 1 files.
2007-12-17 16:19:44 UTC in Flori - learning objects repository
-
martintilma committed revision 12 to the Flori - learning objects repository SVN repository, changing 3 files.
2007-12-17 15:34:19 UTC in Flori - learning objects repository
-
Hi,
I think I found a bug:
Book on one day from 8am till 16 am (normal 8hour workday) and the next day from 12:30 am till 02:30 am. When you look at the total duration of the normal workday its 10 hours. This is the same for the 12:30 - 02:30 period. When you move the 12:30 to 01:00 its okay.
So I think that hoursregistration that starts before 01:00 am will be added to the previous day.
2007-03-26 11:37:25 UTC in Open Project Services (OPS)