stephanie coy

Greenhorn
+ Follow
since May 19, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by stephanie coy

Hello there,

Hi I am trying to implement junit to my application. But when I wasa trying to do some research on that, I see junit and Mock objects for testing. But I really could not figure out whether they are both used same way or used together.

Thanks
Spephanie
17 years ago
I am doing the if/else on calling object's class.

And I have another option here, if I could in anyway findout the command line arguments passed in the main class, in the method being called(which is originally in another class), I think I can do what I am supposed to do.
Any ideas about this.

Thanks
Stephanie
17 years ago
Thanks guys for your reply. It worked. But Stan, do you think it isn't an efficient way to do things. Because my application demanded this scenario. Can you suggest any other option for this kind of situation.

Thanks
Stephanie
17 years ago
Hello there,

I have a situation where I have a method 'x' in a class 'A'. And I have couple of main classes I mean the classes which have main method, where we call this method 'x' in class 'A'. So I have to determine at runtime in the method 'x', from which main class the call came from and then do some operations. I cannot write another method passing some arguments or keep any identifiers because everything is already defined and implemented.
I mean I am not supposed to make any changes in the existing code. Any ideas.

Thanks
Stephanie.
17 years ago
Hi Paul,

I was getting a similar problem before. Regarding the jar file to be added in the classpath, could you tell me what is that jar and where could I find it.

Thanks
Stephanie