For both classes (originalRpcManager and rpcManager) we get a dynamic easy mock
proxy instance of the same type: $Proxy20
The toString yields:
EasyMock for interface som.org.jboss.cache.RPCManager
I hope this can help,
Thanks,
View the original post :
I don't think anyone has tried this before, although it should be possible.
Some tests may fail since JBC trunk uses a parallel test suite. To deal with
this, the UnitTestCacheFactory makes use of a lot of reflection in finding
cache components and making sure they are properly isolated for
We are using tagged release 3.0.2.CR2.
In those lines is:
| RPCManager barfingRpcManager =
EasyMock.createNiceMock(RPCManager.class);
| RPCManager originalRpcManager =
cache1.getConfiguration().getRuntimeConfig().getRPCManager();
|
Is there a way to validate the
The first one would be a mock, as expected, and the second should be the actual
RPC manager. I can't imagine how you would get proxies for the second
instance, even if you are using jarjar'ed code. Could you paste the FQCN of
the class you get for 'originalRpcManager' ?
View the original
We`ve been working hard on this one, and to the moment we are having issues
with JBC tests. We have refactored jgroups to mycompany.org.jgroups, and passed
all tests in JGroups distro.
We have refactored JBC3 to use this mycompany.jgrousp, and all tests passed ok.
Then we`ve been refactoring
yep, I'm using jdk 5 and these are my test results
Tests run: 7637, Failures: 492, Errors: 0, Skipped: 5993
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4201638#4201638
Reply to the post :
After each suite run there is are some info printed to the console, something
like:
~ ENVIRONMENT INFO ~~
bind.address = 127.0.0.1
java.vm.version = 1.5.0_15-b04
os.name = 1.5.0_15-b04
os.version = 2.6.9-42.0.10.ELsmp
sun.arch.data.model = 32
This is the info
~ ENVIRONMENT INFO ~~
bind.address = 127.0.0.1
java.vm.version = 1.5.0_15-b04
os.name = 1.5.0_15-b04
os.version = 2.6.24-22-generic
sun.arch.data.model = 32
~ ENVIRONMENT INFO ~~
Tests
There is an issue with mvn test. For now, can you please use:
mvn -P test-functional test
or
mvn -P test-hudson test
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4201664#4201664
Reply to the post :
Ok, that works sucessfully. Can you please include this info in distribution's
README file? I think it will help others.
Thanks for your fast help!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4201677#4201677
Reply to the post :
yep, will do. Actually I'm thinking to make mvn test do the same think as mvn
-Ptest-functional test, because every mvn user will (naturally) try running the
test this way (i.e. mvn test).
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4201680#4201680
Reply
Hi,
I'm trying to run the tests on 3.0.2.CR2 distro. It compiles successfully, but
I'm getting lot of failures as test result. I would paste some surefire
reports, but there are a lot of them. Maybe they are all about cache
initialization. I don't know if I have to configure any resource to
we have some known issues with JDK 6 at the moment (mainly due to the test
harness, introduced when we tried t parallelize the test suite) and there were
2 or 3 intermittent failures when using JDK 5. Do any of these apply to you?
We plan to close these up this week in time for a GA.
View
The tests are included in the JBC -src.ZIP distros though (3.x onwards).
Ther're in the src/test/java directory.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4200550#4200550
Reply to the post :
Yes, that's what I did at first, but it didn't work. Maybe my fault?
So I had hardcoded magicNumbers in the java class, so refactorings work better
for my case.
I still want to know if there is a test suite to pass over JBC to verify it
works correctly. I have downloaded the distrib, which
Suggest you get the source from svn directly. Tagged releases are under
http://anonsvn.jboss.org/repos/jbosscache/core/tags.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4200396#4200396
Reply to the post :
Did you try doing a search replace on jg-magic-map.xml?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4200158#4200158
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4200158
___
17 matches
Mail list logo