verify Questions
5
My program contains 2 root certs I know and trust.
I have to verify certs of trustcenters and "user" certs issued by the trustcenters which all originate from these 2 root certs.
I use X509Chain c...
Sherlocke asked 23/5, 2011 at 13:13
1
Solved
I have a problem with verifying that certain method was called on mock inside LINQ Select() query.
Here is the method of ContentManager I want to test:
public string ProcessElements(List<Item>...
Sensible asked 16/5, 2018 at 11:8
2
Solved
How can I verify that the "CallWithRef" method was called using Moq?
public interface ITest
{
void CallWithoutRef(string value, List<string> errors);
void CallWithRef(string value, ref Lis...
1
Solved
I have a class under test which contains a method which has an inner anonymous class. One of the methods in the anonymous class calls a method from the class under test, but Mockito doesn't seem to...
Coates asked 29/12, 2017 at 2:50
1
Solved
I write an add-ons, and publish it.
But when the user open that first, it will see:
It show "This app isn't verified", how should i setting my app's configuration to fix it?
Desolation asked 14/12, 2017 at 5:27
1
Solved
The input : big multipart signed and encrypted email (~10MB) done with openssl.
Decrypting the file seems to be fast enough.
Getting the decrypted information to verify them is MORE than long. It...
1
Solved
I'm considering to use Firebase to perform identity verification. I am new to JWT, so my apologies if this is an obvious question, but I don't understand how the verification is actually done. It s...
Xiphoid asked 22/11, 2016 at 22:23
1
Solved
interface LoginDisplay {
var username: String
var password: String
}
class LoginActivityLoginDisplay : LoginDisplay {
override var username: String
get() = usernameEditView.text.toString()
...
1
Solved
I want to test that my method calls another method in the same class that I cannot mock.
Example:
public void methodToTest(){
//other stuff to test that can be mocked
someClassICanMock.do...
Roasting asked 11/8, 2016 at 11:15
2
Solved
for a unit tests i am trying to verify if there is
a way to verify a method call inside a method with mockito verify?
An example would be:
public delete(param) {
VideoService.deleteVideo(param);...
Kuwait asked 6/4, 2016 at 13:12
1
I want to get access to the myspace api – but I can’t even access the developer platform to create an app or get my keys.
I always get this message:
We're sorry, but you must verify your email ad...
1
Solved
I have a service that I am mocking using Mockito. Is there any way that I can verify the parameters passed to the service call?
For example:
I have a service named employeeAnalyzer.calculateAnnua...
3
How can I verify a paypal donation?
In the user panel I have a donate button. And once someone actually donates I want to do something to him. But I do not know how to check if the user actually d...
2
I've tried everything what I understood in my short knowladge of Programming.
When I enter "bundler install" I get "Certificate Verify Failed" (I've checked the certificate, it's updated) Then it...
Mobile asked 3/12, 2014 at 2:19
1
Solved
I know that you can only verify void methods. But I actually ask myself why.
I recently stumbled upon an unit test where I really need to verify that a certain call has been made. To be exact, it'...
4
When I download GCC, it also has a .sig file, and I think it is provided to verify downloaded file.
(I downloaded GCC from here).
But I can't figure out how should I use it. I tried gpg, but it co...
Oro asked 11/3, 2013 at 4:2
5
Solved
I am using Selenium RC using Java with eclipse and TestNG framework. I have the following code snippet:
assertTrue(selenium.isTextPresent("Please enter Email ID"));
assertTrue(selenium.isTextPrese...
Madelaine asked 23/3, 2011 at 8:11
1
Solved
I'm trying to verify that a (void) method is being called inside of a DAO - I'm using a commit point that sends a list of results up to that point, resets the list and continues.
Say I have 4 thin...
Marcos asked 5/1, 2015 at 20:37
0
I am writing a test fixture in python2 and pyOpensSSL that is essentially an SSL factory. This text fixture creates its own CA cert and key, and then creates certs signed by this CA.
Currently, I ...
5
Solved
I want to prevent banned users from logging in to the site and give them a message that they are banned. I tried to use isAuthorized() for this but it allows the user to login and only after that d...
Premature asked 25/8, 2010 at 9:49
1
Solved
When using Moq with Verify, to assert that a certain method has been called with specified parameters, different kind of syntax is possible; one is the "It" syntax, like this
mock.Verify(c => c...
2
I have a Unit of Work implementation with, among others, the following method:
T Single<T>(Expression<Func<T, bool>> expression) where T : class, new();
and I call it, for inst...
3
Solved
I want to be sure that mocked is called with specific set of strings as parameter.
For example, I have the following code:
public class SomeLogic {
@Autowired
private SpecificService specificSer...
1
2
Solved
I'm trying to do a small secure HTTPS client for learning purposes and see how all the mechanics of SSL works on a higher level for now, so i'm trying to convert a simple socket into a ssl via ssl....
© 2022 - 2024 — McMap. All rights reserved.