<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/hansel/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/hansel/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/hansel/support-requests/</id><updated>2006-09-12T15:55:42Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>How to build a coverage Suite using JUnit 4.0?</title><link href="https://sourceforge.net/p/hansel/support-requests/3/" rel="alternate"/><published>2006-09-12T15:55:42Z</published><updated>2006-09-12T15:55:42Z</updated><author><name>Henk van Voorthuijsen</name><uri>https://sourceforge.net/u/voorth/</uri></author><id>https://sourceforge.net3434c152c5704d991db241c3fce72dee2829a68f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Even though the release notes for 2.0a2 claim that this&lt;br /&gt;
relaes now works with JUnit 4.0, I have found no clue&lt;br /&gt;
at all, how to achieve this. Perhaps a small tutorial&lt;br /&gt;
would be in order?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>where to place additional output</title><link href="https://sourceforge.net/p/hansel/support-requests/2/" rel="alternate"/><published>2006-08-21T15:58:28Z</published><updated>2006-08-21T15:58:28Z</updated><author><name>hfrik</name><uri>https://sourceforge.net/u/hfrik/</uri></author><id>https://sourceforge.net00bace381c95b1ca684e232abb78cb8bb3d32053</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;the new release was just in time for me, I was just&lt;br /&gt;
testing weather hansel could cooperate with Java 5.0.&lt;/p&gt;
&lt;p&gt;today I was trying to find out where to attach some&lt;br /&gt;
lines of code to get some additional log information&lt;br /&gt;
which results were success and which results were failures.&lt;/p&gt;
&lt;p&gt;Unfortunately my first attempt in org.hansel.Probe.run&lt;br /&gt;
was no success, maybee it's neccesary to do the changes&lt;br /&gt;
directly in JUnit. &lt;/p&gt;
&lt;p&gt;Am I right that JUnit 3.8.2 fits to the actual version&lt;br /&gt;
of Hansel? (JUnit 4.1 seems to be incompatible because&lt;br /&gt;
of a missing TestCaseClassLoder class in&lt;br /&gt;
org.hansel.CoverageDecorator.patchTestClassLoader&lt;br /&gt;
Unfortunately I didn't find a place yet where to get&lt;br /&gt;
this version in Sourcecode. &lt;/p&gt;
&lt;p&gt;So if anybody would have a Idea where to get the right&lt;br /&gt;
sourcecode, or where to attach some output preferred to&lt;br /&gt;
file in Hansel, this would be really nice and useful&lt;br /&gt;
for me.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Helmut&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>exception from org.hansel.stack.ComplexAnd.translateBranch</title><link href="https://sourceforge.net/p/hansel/support-requests/1/" rel="alternate"/><published>2004-01-29T16:19:29Z</published><updated>2004-01-29T16:19:29Z</updated><author><name>A.G.McDowell</name><uri>https://sourceforge.net/u/mcdowella/</uri></author><id>https://sourceforge.net8e75f1029e439a221ea912967a76f278381624ad</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The following comes from versions of Hansel and BCEL I &lt;br /&gt;
downloaded today, both to use on code (proprietary to &lt;br /&gt;
Scisys, the company I work for) and to evaluate for &lt;br /&gt;
future use. Am I doing something stupid? Is there a &lt;br /&gt;
workaround?&lt;/p&gt;
&lt;p&gt;C:\temp\jettsWriteup\patricia&amp;gt;java -version&lt;br /&gt;
java version "1.4.2"&lt;br /&gt;
Java(TM) 2 Runtime Environment, Standard Edition (build &lt;br /&gt;
1.4.2-b28)&lt;br /&gt;
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed &lt;br /&gt;
mode)&lt;/p&gt;
&lt;p&gt;junit:&lt;br /&gt;
[exec] java.lang.UnsupportedOperationException: &lt;br /&gt;
Instruction: ifge[156](3) -&lt;br /&gt;
&amp;gt; iconst_0 unknown&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.stack.ComplexAnd.translateBranch&lt;br /&gt;
(ComplexAnd.java:1&lt;br /&gt;
38)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.stack.ComplexAnd.getStackEntry&lt;br /&gt;
(ComplexAnd.java:59)&lt;/p&gt;
&lt;p&gt;[exec]     at &lt;br /&gt;
org.hansel.stack.ComplexOr.getStackEntry&lt;br /&gt;
(ComplexOr.java:41)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.stack.StackFactory.checkComplexOperator&lt;br /&gt;
(StackFacto&lt;br /&gt;
ry.java:178)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.stack.StackFactory.calculateStackEntries&lt;br /&gt;
(StackFact&lt;br /&gt;
ory.java:203)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.stack.StackFactory.calculateMethodStacks&lt;br /&gt;
(StackFact&lt;br /&gt;
ory.java:82)&lt;br /&gt;
[exec]     at org.hansel.Instrumenter.instrument&lt;br /&gt;
(Instrumenter.java:291)&lt;br /&gt;
[exec]     at org.hansel.Instrumenter.instrument&lt;br /&gt;
(Instrumenter.java:62)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.ModifyingClassLoader.modifyClass&lt;br /&gt;
(ModifyingClassLoa&lt;br /&gt;
der.java:205)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.apache.bcel.util.ClassLoader.loadClass&lt;br /&gt;
(ClassLoader.java:1&lt;br /&gt;
52)&lt;br /&gt;
[exec]     at java.lang.ClassLoader.loadClass&lt;br /&gt;
(ClassLoader.java:235)&lt;br /&gt;
[exec]     at org.hansel.ModifyingClassLoader.&amp;lt;init&amp;gt;&lt;br /&gt;
(ModifyingClassLoader.j&lt;br /&gt;
ava:108)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.ClassLoaderFactory$InternalClassLoader.&amp;lt;init&amp;gt;&lt;br /&gt;
(Clas&lt;br /&gt;
sLoaderFactory.java:107)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.ClassLoaderFactory.createInternalClassLoader&lt;br /&gt;
(Class&lt;br /&gt;
LoaderFactory.java:57)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.ClassLoaderFactory.createClassLoader&lt;br /&gt;
(ClassLoaderFa&lt;br /&gt;
ctory.java:75)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.CoverageDecorator.internalAddTest&lt;br /&gt;
(CoverageDecorato&lt;br /&gt;
r.java:103)&lt;br /&gt;
[exec]     at &lt;br /&gt;
org.hansel.CoverageDecorator.addTestClass&lt;br /&gt;
(CoverageDecorator.j&lt;br /&gt;
ava:118)&lt;br /&gt;
[exec]     at org.hansel.CoverageDecorator.&amp;lt;init&amp;gt;&lt;br /&gt;
(CoverageDecorator.java:66&lt;br /&gt;
)&lt;br /&gt;
[exec]     at scisys.jetts.realEstate.RegionTest.suite&lt;br /&gt;
(RegionTest.java:1601&lt;br /&gt;
)&lt;br /&gt;
[exec]     at &lt;br /&gt;
sun.reflect.NativeMethodAccessorImpl.invoke0(Native &lt;br /&gt;
Method)&lt;br /&gt;
[exec]     at &lt;br /&gt;
sun.reflect.NativeMethodAccessorImpl.invoke&lt;br /&gt;
(NativeMethodAcces&lt;br /&gt;
sorImpl.java:39)&lt;br /&gt;
[exec]     at &lt;br /&gt;
sun.reflect.DelegatingMethodAccessorImpl.invoke&lt;br /&gt;
(DelegatingMet&lt;br /&gt;
hodAccessorImpl.java:25)&lt;br /&gt;
[exec]     at java.lang.reflect.Method.invoke&lt;br /&gt;
(Method.java:324)&lt;br /&gt;
[exec]     at junit.runner.BaseTestRunner.getTest&lt;br /&gt;
(BaseTestRunner.java:111)&lt;br /&gt;
[exec]     at junit.textui.TestRunner.start&lt;br /&gt;
(TestRunner.java:171)&lt;br /&gt;
[exec] WARNING: Instruction: ifge[156](3) -&amp;gt; &lt;br /&gt;
iconst_0 unknown&lt;br /&gt;
[exec]     at junit.textui.TestRunner.main&lt;br /&gt;
(TestRunner.java:138)&lt;br /&gt;
[exec] Got 8347 intersections in 10000 runs&lt;br /&gt;
[exec] 29-Jan-2004 16:04:25 &lt;br /&gt;
scisys.jetts.realEstate.PatRegionCatalog$Inters&lt;br /&gt;
ectionIterator remove&lt;br /&gt;
[exec] WARNING: no such element&lt;br /&gt;
[exec] 29-Jan-2004 16:04:25 &lt;br /&gt;
scisys.jetts.realEstate.PatRegionCatalog$Inters&lt;br /&gt;
ectionIterator remove&lt;br /&gt;
[exec] WARNING: no such element&lt;br /&gt;
[exec] 29-Jan-2004 16:04:25 &lt;br /&gt;
scisys.jetts.realEstate.PatRegionCatalog$AllIte&lt;br /&gt;
rator next&lt;br /&gt;
[exec] WARNING: no such element&lt;br /&gt;
[exec] 29-Jan-2004 16:04:25 &lt;br /&gt;
scisys.jetts.realEstate.PatRegionCatalog$Inters&lt;br /&gt;
ectionIterator remove&lt;br /&gt;
[exec] WARNING: no such element&lt;br /&gt;
[exec] 29-Jan-2004 16:04:25 &lt;br /&gt;
scisys.jetts.realEstate.SetRegionCatalog$Inters&lt;br /&gt;
ectionIterator next&lt;br /&gt;
[exec] WARNING: no next element&lt;br /&gt;
[exec] 29-Jan-2004 16:04:25 &lt;br /&gt;
scisys.jetts.realEstate.SetRegionCatalog$Inters&lt;br /&gt;
ectionIterator next&lt;br /&gt;
[exec] WARNING: no next element&lt;br /&gt;
[exec] 29-Jan-2004 16:04:25 &lt;br /&gt;
scisys.jetts.realEstate.SetRegionCatalog$Inters&lt;br /&gt;
ectionIterator next&lt;br /&gt;
[exec] WARNING: no next element&lt;br /&gt;
[exec] .....&lt;br /&gt;
[exec] Result: 1&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>