slides ex08_discussion number 54:
what is the advantage of using a mock gradewriter instead of a normal gradewriter?
wouldn't i be interested in testing the explicit subclasses?
Die Suche ergab 80 Treffer
- 7. Aug 2012 10:50
- Forum: Archiv
- Thema: [mockito] slides ex08_discussion
- Antworten: 1
- Zugriffe: 357
- 2. Jul 2012 16:29
- Forum: Archiv
- Thema: ex09 task 3b
- Antworten: 14
- Zugriffe: 1059
Re: ex09 task 3b
well... i'm guessing i need something like this:
Code: Alles auswählen
after(Shape shape) returning: shapeChange(shape)
&& !cflowbelow(shapeChange()) {
Display.update(shape);
}
- 2. Jul 2012 15:59
- Forum: Archiv
- Thema: ex09 task 3b
- Antworten: 14
- Zugriffe: 1059
Re: ex09 task 3b
it maps the internal method calling sequences of the nested call?
- 2. Jul 2012 14:58
- Forum: Archiv
- Thema: ex09 task 3b
- Antworten: 14
- Zugriffe: 1059
Re: ex09 task 3b
Try it with a different approach... When you are looking for good pointcuts, think about the execution in terms of a stack trace. Every control flow is just a list of called methods in this case. i am totally aware of that. is it possible to distinguish between an initial function call and subseque...
- 2. Jul 2012 13:56
- Forum: Archiv
- Thema: ex09 task 3b
- Antworten: 14
- Zugriffe: 1059
Re: ex09 task 3b
i just found this
thisJoinPoint.getSourceLocation()
maybe it will help.
i'm still open for hints and suggestions...
thisJoinPoint.getSourceLocation()
maybe it will help.
i'm still open for hints and suggestions...
- 2. Jul 2012 13:53
- Forum: Archiv
- Thema: ex09 task 3b
- Antworten: 14
- Zugriffe: 1059
Re: ex09 task 3b
if startup_calculator contains nothing but fibonacci.run(2); the output is supposed to be solely RuntimeDataCollector: a call to Fibonacci RuntimeDataCollector: ... is recursive correct? in order to do that i need to be able to tell whether the method call was made from startup_calculator or from fi...
- 2. Jul 2012 13:21
- Forum: Archiv
- Thema: ex09 task 3b
- Antworten: 14
- Zugriffe: 1059
Re: ex09 task 3b
well... aspectJ is obviously new to me, so i'm trying to familiarize myself with all the options (syntax) aspectJ has to offer and which of those might be able to help me solve the task. the little information that can be found online seems not to be very helpful for me either. one of my many questi...
- 2. Jul 2012 12:55
- Forum: Archiv
- Thema: ex09 task 3b
- Antworten: 14
- Zugriffe: 1059
ex09 task 3b
sorry to bother again. can i please get more information about the second hint in the task and about how it is supposed to help me. "Hint: By default only one instance of an aspect is instantiated per virtual machine. As covered in the lecture, you can change this with aspect associations (perthis, ...
- 1. Jul 2012 16:54
- Forum: Archiv
- Thema: AspectJ in General - Pointcuts and Return Values
- Antworten: 2
- Zugriffe: 408
Re: AspectJ in General - Pointcuts and Return Values
thanks. sometimes the obvious is too easy...
- 1. Jul 2012 16:25
- Forum: Archiv
- Thema: AspectJ in General - Pointcuts and Return Values
- Antworten: 2
- Zugriffe: 408
AspectJ in General - Pointcuts and Return Values
consider the following pointcut: pointcut p1(Object f, int i): target(f) && args(i) && execution(int Object.doSomething(*)); in the advise that follows this pointcut i can work with the object i call the soSomething() method on and also with the parameter that is given to the doSomething() method, s...
Re: Ex 09 2c)
*obsolete*
- 18. Jun 2012 09:47
- Forum: Archiv
- Thema: Ex07 Task 3
- Antworten: 4
- Zugriffe: 374
Re: Ex07 Task 3
please explain a little more about what is meant by "provide at least one test case that reflects the work flow of an order".
thanks.
thanks.
- 18. Jun 2012 09:38
- Forum: Archiv
- Thema: Ex07 Task 3
- Antworten: 4
- Zugriffe: 374
Ex07 Task 3
"It can be combined with additional toppings (ham, onions, etc.) that can also be ordered multiple times ("double cheese")."
is it just possible to order single and double toppings or also tripple, quadruple, aso... speaking: as many times as the customer wants?
is it just possible to order single and double toppings or also tripple, quadruple, aso... speaking: as many times as the customer wants?
- 16. Jun 2012 08:49
- Forum: Archiv
- Thema: SVN Login Problems
- Antworten: 7
- Zugriffe: 681
SVN Login Problems
I'm not allowed to view or work on the exercise in svn anymore because apparently i have no rights. am i the only one with this problem?
- 9. Jun 2012 15:50
- Forum: Archiv
- Thema: Ex 06 Task 1
- Antworten: 14
- Zugriffe: 1053
Re: Ex 06 Task 1
i've been trying to solve this without any abstract methods for pretty printing or optimizing in the base classes and also without any type casting in the extension.. is that actually possible?