Skip to content
#

mocking

Here are 709 public repositories matching this topic...

florianschmidt1994
florianschmidt1994 commented Apr 14, 2017

Hey Guys,
I see an IllegalStateException when running one particular test.

What steps will reproduce the problem?
The following code fails each time it is run

Testcase:

package backend.model.posting

import backend.controller.exceptions.ConflictException
import backend.model.location.Location
import backend.model.user.UserAccount
import org.junit.Before
import org.
pappe82
pappe82 commented Feb 24, 2021

A "normal" event on an instance ignores null subscriptions. If I do so on a substituted interface, a null subscription leads to an exception. I have a not so nice legacy code with different listeners to an event an one class that does null-attach internally under some conditions, would be nice if this behaviour would be able to be tested as well. Example code for the problem:

        publ
jchitel
jchitel commented Sep 15, 2020

Today, my project's build failed in CI because of a problem downloading the cuckoo_generator executable in the run script. I'm not sure what the actual issue was (there was an issue extracting the URL from the GH API response), but it started working again by itself sometime later, so I'm assuming that it was a GH blip.

I find it a little strange that the SPM installation for Cuckoo depends

Improve this page

Add a description, image, and links to the mocking topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mocking topic, visit your repo's landing page and select "manage topics."

Learn more