Пример #1
0
 /// <summary>
 /// Creates a mocked server. This helps to mock all or some backend calls, e.g. for OData/JSON Models or simple XHR calls, without changing the application code. This class can also be used for qunit tests.
 ///
 /// Accepts an object literal <code>mSettings</code> that defines initial property values, aggregated and associated objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description of the syntax of the settings object.
 /// </summary>
 /// <param name="mSettings">optional map/JSON-object with initial property values, aggregated objects etc. for the new object</param>
 /// <param name="oScope">scope object for resolving string based type and formatter references in bindings</param>
 public extern MockServer(sap.ui.core.util.MockServer.Settings mSettings, object oScope);
Пример #2
0
 /// <summary>
 /// Creates a mocked server. This helps to mock all or some backend calls, e.g. for OData/JSON Models or simple XHR calls, without changing the application code. This class can also be used for qunit tests.
 ///
 /// Accepts an object literal <code>mSettings</code> that defines initial property values, aggregated and associated objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description of the syntax of the settings object.
 /// </summary>
 /// <param name="mSettings">optional map/JSON-object with initial property values, aggregated objects etc. for the new object</param>
 public extern MockServer(sap.ui.core.util.MockServer.Settings mSettings);