... OK. Now can someone tell me WHY it expects it? Why can't it just use the actual object as-is? ... -- David Corbin Mach Turtle Technologies, Inc. ...
44
Jonathan Rasmusson
jr@...
Nov 19, 2000 4:28 pm
... testable. ... packages is ... Home ... normal ... depending on a ... we ... debugging ... I think this is a great idea. Does this mean you essentially...
45
Johannes Link
john.link@...
Nov 20, 2000 8:23 am
The developers decided that to be their interface of choice. What is "the actual object"? You just give a string as parameter which ghas to be interpreted...
46
Vera Peeters
vera.peeters@...
Nov 20, 2000 12:39 pm
... No code duplication. ... No client code changes. My clients don't even notice wether they're running with a local or a remote EJB. ... We use the following...
47
Jonathan Rasmusson
jr@...
Nov 20, 2000 7:29 pm
... container does a ... mechanism ... side as ... the ... Thanks for the diagram! I know those are a pain to draw. I understand much more clearly what you...
48
imitrovic@...
Nov 21, 2000 4:57 am
I added a very simple extension for JBuilder4 (actually I didn't try it with JBuilder3.5, but I think it would work). ...
... Yes, the declarations of the functions in MyEJBIF do mention RemoteExceptions. I like it this way because the declaration of the RemoteMyEJB simply ...
51
Erik Meade
emeade@...
Nov 25, 2000 11:53 pm
Some kind soul out there sent this to me, but since I don't have VisualAge for Java I can't verify this works. Anyway I uploaded it to the files section...
52
FERAUD Joel
joel.feraud@...
Nov 27, 2000 12:09 pm
Hi, I am looking for information on integrated code anlaysis and unit testing tools for Java. Has anybody good and bad experiences to share? In particular, I...
53
Jim Jackl-Mochel
jmochel@...
Nov 27, 2000 7:35 pm
I was wondering if anyone has coded up an test case base class that allows for file comparisons of output files ? I expect that it would look something like...
54
Erik
emeade@...
Nov 28, 2000 12:50 am
... I don't have one coded up in a base class, but here is the code I use... public void assertFilesEqual(File fileOne, File fileTwo) { ...
55
Jim Jackl-Mochel
jmochel@...
Nov 28, 2000 1:56 pm
Thanks Erik, I am suprised that this (and equivalent tests for binary files) hasn't become a part of one of the base classes. Does anyone know why (time,...
56
Blum, Robert
rblum@...
Nov 28, 2000 5:05 pm
... My guess would be philosophy. (That DOES sound like a song title, doesn't it? :-) If you can only test your class by testing the output it generates on a ...
57
Jim Jackl-Mochel
jmochel@...
Nov 28, 2000 5:41 pm
I am not sure that I grok what you are saying. ... By the hair band eXtreme Programming ? ... As a concrete example I am currently working on a a templated...
58
Blum, Robert
rblum@...
Nov 28, 2000 6:04 pm
... UhOh. I didn't have my coffee yet :-) ... Not having an idea about doclets, I don't know if the following is applicable ... For simplicity, let's assume...
59
Jim Jackl-Mochel
jmochel@...
Nov 28, 2000 6:28 pm
Perfect. The Java IO classes are pretty damend flexible., Jim ... From: Blum, Robert [mailto:rblum@...] Sent: Tuesday, November 28, 2000 1:04 PM ...
60
Ilja Preuß
ilja.preuss@...
Nov 28, 2000 6:55 pm
... I think, a StringWriter would be more appropriate...? ciao, Ilja...
61
Blum, Robert
rblum@...
Nov 28, 2000 9:14 pm
... Well, depends. If his functions are expecting a PrintWriter, what can you do... If they're expecting a Writer, you can feed a StringWriter. Bye, Robert ...
62
Andreas Heilwagen
andreas.heilwagen@...
Nov 28, 2000 10:07 pm
I think JUnit* should be kept light, perhaps with plug-ins. If you include all nice-to-have options a lot of people won't like it any more because it gets...
63
Ilja Preuß
ilja.preuss@...
Nov 28, 2000 10:09 pm
... Well, I was talking about replacing the *ByteArrayOutputStream* by a StringWriter. You can wrap the StringWriter in a PrintWriter the same way as the...
64
Blum, Robert
rblum@...
Nov 28, 2000 11:13 pm
... Aah - I see. Most of our classes uses Streams, so I was stuck in the 'need a stream' mindset :-) But is there any benefit of using a StringWriter instead? ...
65
Jim Jackl-Mochel
jmochel@...
Nov 29, 2000 1:34 pm
Light is always such a subjective term. Just think of all those "thin-clients" out that that require a browser weighing in at about 17 meg in memory :-) I...
66
Dan MacKay
dmackay@...
Nov 30, 2000 2:14 pm
Hi all, I was wondering if anyone has successfully gotten junit to work with Mandrake7.2. I have been using junit on NT for a while now. I have been ...
67
David Corbin
dcorbin@...
Nov 30, 2000 4:32 pm
... Not on Mandrake, but on Linux. Works fine. Can you define "not had much success" with a little more detail? ... -- David Corbin Mach Turtle Technologies,...
68
Andreas Heilwagen
andreas.heilwagen@...
Nov 30, 2000 6:07 pm
Try JUnitX on http://www.extreme-java.de. It is an extended version which can be build using ant. So you only need a JDK installed (Sun JDK 1.3 final ...
69
Dan MacKay
dmackay@...
Nov 30, 2000 7:41 pm
Hi David, I keep on getting thread violations when I run test suites. I am going to try Andreas suggestion and will let you know how it goes. Thanks, Dan...
70
Dan MacKay
dmackay@...
Nov 30, 2000 7:41 pm
Hi Adreas, Thanks for the tip. I'll give it a go. Dan...
71
Jim Jackl-Mochel
jmochel@...
Nov 30, 2000 9:44 pm
In trying to make my unit tests very self contained I have come up against a small headache. In the case of those classes that read or manipulate a database ...
72
Blum, Robert
rblum@...
Nov 30, 2000 10:53 pm
... I'm using Hypersonic SQL. It's a small JDBC driver that allows you to have in-memory database. Just setup your tables at test construction time, and you're...