Searched refs:stub (Results 1 - 25 of 43) sorted by relevance

12

/forgerock/openam/openam-ui/openam-ui-ria/src/test/js/org/forgerock/openam/ui/common/util/
H A DRealmHelperTest.js47 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm1");
54 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm1");
64 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm2");
89 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm1");
95 this.stub(URIUtils, "getCurrentFragmentQueryString").returns("realm=realm1");
101 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm1");
102 this.stub(URIUtils, "getCurrentFragmentQueryString").returns("realm=realm2");
110 this.stub(URIUtils, "getCurrentFragment").returns("login/realm1");
116 this.stub(URIUtils, "getCurrentFragment").returns("other");
123 this.stub(URIUtil
[all...]
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/test/js/org/forgerock/openam/ui/common/util/
H A DRealmHelperTest.js45 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm1");
52 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm1");
62 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm2");
87 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm1");
93 this.stub(URIUtils, "getCurrentFragmentQueryString").returns("realm=realm1");
99 this.stub(URIUtils, "getCurrentQueryString").returns("realm=realm1");
100 this.stub(URIUtils, "getCurrentFragmentQueryString").returns("realm=realm2");
108 this.stub(URIUtils, "getCurrentFragment").returns("login/realm1");
114 this.stub(URIUtils, "getCurrentFragment").returns("other");
121 this.stub(URIUtil
[all...]
H A DThemeManagerTest.js58 sandbox.stub(require, "toUrl", function (url) {
70 sendEvent: sinon.stub()
74 getCurrentCompositeQueryString: sinon.stub().returns(""),
75 parseQueryString: sinon.stub().returns(urlParams)
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/test/js/org/forgerock/openam/ui/common/
H A DRouteToTest.js32 setProperty: sinon.stub()
36 sendEvent: sinon.stub()
47 getCurrentHash: sinon.stub().returns("page")
51 logout: sinon.stub()
107 SessionManager.logout = sinon.stub().returns(promise);
/forgerock/openam/openam-ui/openam-ui-ria/src/test/js/org/forgerock/openam/ui/common/
H A DRouteToTest.js36 setProperty: sinon.stub()
40 sendEvent: sinon.stub()
51 getCurrentHash: sinon.stub().returns("page")
55 logout: sinon.stub()
111 SessionManager.logout = sinon.stub().returns(promise);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/jaxrpc/
H A DJAXRPCUtil.java43 * <code>getRemoteStub(String serviceName)</code> returns a JAXRPC stub to the
44 * service. It is expected that the service caches the stub and re-uses it until
50 * server and will return a stub that is currently active or throws
85 Object stub = getServiceEndPoint(getValidURL(serviceName));
87 remoteStubs.put(serviceName, stub);
88 return (stub);
96 // Obtaining the stub for JAX-RPC and setting the endpoint URL
110 // Obtain the stub to be returned
/forgerock/openam/openam-core/src/main/java/com/sun/identity/jaxrpc/
H A DJAXRPCUtil.java43 * <code>getRemoteStub(String serviceName)</code> returns a JAXRPC stub to the
44 * service. It is expected that the service caches the stub and re-uses it until
50 * server and will return a stub that is currently active or throws
85 Object stub = getServiceEndPoint(getValidURL(serviceName));
87 remoteStubs.put(serviceName, stub);
88 return (stub);
96 // Obtaining the stub for JAX-RPC and setting the endpoint URL
110 // Obtain the stub to be returned
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/test/js/org/forgerock/openam/ui/common/sessions/
H A DSessionValidatorTest.js29 Strategy = sinon.stub().returns(validatePromise);
32 sessionExpired: sinon.stub()
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/test/js/org/forgerock/openam/ui/common/sessions/strategies/
H A DMaxIdleTimeLeftStrategyTest.js31 getMaxIdle: sinon.stub().returns(getMaxIdlePromise),
32 getTimeLeft: sinon.stub().returns(getTimeLeftPromise)
/forgerock/openidm-v4/openidm-ui/openidm-ui-common/src/test/qunit/
H A Dcommon.js45 var dialogRenderStub = sinon.stub(mandatoryPasswordChangeDialog, "render", function (args, callback) {
70 sinon.stub(landingPageView, "render", function (args, callback) {
/forgerock/openidm-v4/openidm-ui/openidm-ui-enduser/src/test/qunit/
H A Dspecific.js42 var siteIdStub = sinon.stub(siteIdentificationDelegate, "getSiteIdentificationForLogin", function (login, callback) {
69 sinon.stub(userDelegate, "checkCredentials", function (value, successCallback, errorCallback) {
/forgerock/openam/openam-ui/openam-ui-ria/src/test/js/org/forgerock/openam/ui/common/sessions/
H A DSessionValidatorTest.js32 Strategy = sinon.stub().returns(validatePromise);
35 "default": sinon.stub().returns($.Deferred())
/forgerock/openam/openam-ui/openam-ui-ria/src/test/js/org/forgerock/openam/ui/common/sessions/strategies/
H A DMaxIdleTimeLeftStrategyTest.js32 getTimeLeft: sinon.stub().returns(getTimeLeftPromise)
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/
H A DAssertionManagerClient.java84 // JAX-RPC remote stub
85 private SOAPClient stub; field in class:AssertionManagerClient
167 stub = remoteStub;
184 stub = new SOAPClient(urls);
208 stub = new SOAPClient(urls);
230 // Obtaining the stub for JAX-RPC
275 assertion = (String) stub.send("createAssertion", args, null,
318 assertion = (String) stub.send("createAssertion2", args, null,
356 aa = (String) stub.send("createAssertionArtifact", args, null,
403 assertion = (String) stub
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/
H A DAssertionManagerClient.java84 // JAX-RPC remote stub
85 private SOAPClient stub; field in class:AssertionManagerClient
167 stub = remoteStub;
184 stub = new SOAPClient(urls);
208 stub = new SOAPClient(urls);
230 // Obtaining the stub for JAX-RPC
275 assertion = (String) stub.send("createAssertion", args, null,
318 assertion = (String) stub.send("createAssertion2", args, null,
356 aa = (String) stub.send("createAssertionArtifact", args, null,
403 assertion = (String) stub
[all...]
/forgerock/openidm-v4/custom-scripted-connector-bundler/src/main/java/org/forgerock/openidm/tools/scriptedbundler/
H A DSourceGenerator.java47 private final static SourceGenerator stub = new SourceGenerator(); field in class:SourceGenerator
119 stub.getClass().getResourceAsStream("/" + template.getInputName())));
147 stub.getClass().getResourceAsStream("/UI_base.template")));
158 stub.getClass().getResourceAsStream("/" + uiTemplate.getInputName())));
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/security/
H A DSecurityTokenManagerClient.java103 // JAX-RPC remote stub
104 private SOAPClient stub; field in class:SecurityTokenManagerClient
147 stub = remoteStub;
151 stub.send("initialization", ssoToken, null, ssoToken);
178 // Construct the JAX-RPC stub and set the URL endpoint
181 stub = new SOAPClient(urls);
182 stub.send("initialization", ssoToken, null, ssoToken);
285 stub.send("setCertificate", obj, null, ssoToken);
313 stub.send("setCertificate", obj, null, ssoToken);
339 bst = (String) stub
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/security/
H A DSecurityTokenManagerClient.java103 // JAX-RPC remote stub
104 private SOAPClient stub; field in class:SecurityTokenManagerClient
147 stub = remoteStub;
151 stub.send("initialization", ssoToken, null, ssoToken);
178 // Construct the JAX-RPC stub and set the URL endpoint
181 stub = new SOAPClient(urls);
182 stub.send("initialization", ssoToken, null, ssoToken);
285 stub.send("setCertificate", obj, null, ssoToken);
313 stub.send("setCertificate", obj, null, ssoToken);
339 bst = (String) stub
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/
H A DFSAssertionManagerClient.java87 // JAX-RPC remote stub
88 private SOAPClient stub; field in class:FSAssertionManagerClient
132 stub = remoteStub;
149 // Construct the JAX-RPC stub and set the URL endpoint
154 stub = new SOAPClient(urls);
177 // Obtaining the stub for JAX-RPC and setting the endpoint URL
203 assertion = (String) stub.send("getAssertion", obj, null, null);
257 providerId = (String) stub.send("getDestIdForArtifact", obj,
303 Boolean ret = (Boolean) stub.send("isUserExists", obj, null,
333 status = (String) stub
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/
H A DFSAssertionManagerClient.java87 // JAX-RPC remote stub
88 private SOAPClient stub; field in class:FSAssertionManagerClient
132 stub = remoteStub;
149 // Construct the JAX-RPC stub and set the URL endpoint
154 stub = new SOAPClient(urls);
177 // Obtaining the stub for JAX-RPC and setting the endpoint URL
203 assertion = (String) stub.send("getAssertion", obj, null, null);
257 providerId = (String) stub.send("getDestIdForArtifact", obj,
303 Boolean ret = (Boolean) stub.send("isUserExists", obj, null,
333 status = (String) stub
[all...]
/forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/test/qunit/connector/
H A DaddConnectorTest.js63 stubConnectorChange = sinon.stub(ValidatorsManager, "validateAllFields", function(el){
/forgerock/openam/openam-ui/openam-ui-ria/src/test/js/org/forgerock/openam/ui/common/util/uri/
H A DqueryTest.js28 getCurrentQueryString: sinon.stub()
/forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/test/qunit/managedobjects/
H A DmanagedObjectsTest.js87 stubbedSave = sinon.stub(ConfigDelegate, "updateEntity", function(name, managedObject){
/forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/test/qunit/mapping/
H A DcorrelationTest.js87 stubbedLink = sinon.stub(ChangeAssociationDialog, "linkObject", function(){
H A DlinkQualifierTest.js83 errorMessageStub = sinon.stub(PropertiesLinkQualifier, "showErrorMessage", function(message){

Completed in 145 milliseconds

12