1
0
Fork 0
liza/test
Mike Gerwitz e25bec5ac0 DataApiMediator: New class
This extracts existing code from Client and adds tests.  The glue code is
far from ideal and highlights the amount of work needed to decouple Client
from so many parts of the system.

* src/client/Client.js (_dapiManager): New field.
  (_init): Use DataApiMediator.
  (_createProgram): Assign `_dapiManager' (this is not at all
  ideal).  Remove hooks from it: fieldLoading, updateFieldData,
  clearFieldData.
* src/client/ClientDependencyFactory.js (createDataApiMediator): New alias
  to DataApiMediator constructor.
* src/client/dapi/DataApiMediator.js: New class.
* test/client/dapi/DataApiMediatorTest.js: New test case.

DEV-3257
2018-07-17 15:44:33 -04:00
..
bucket [DEV-2692] [BC-BREAK] Bucket stability and consistency fixes and non-term nulls 2017-09-06 09:03:45 -04:00
client DataApiMediator: New class 2018-07-17 15:44:33 -04:00
conf Add ConfLoader 2017-08-28 09:07:28 -04:00
dapi Add HttpDataApiUrlData 2018-05-01 09:44:53 -04:00
document [DEV-2871] DocumentProgramFormatter: Match on fields from FieldClassMatcher instead of __classes and program.whens 2018-06-13 15:42:45 -04:00
event ValueSetEventHandler: New handler for `set' event 2018-02-07 14:59:50 -05:00
field FieldClassMatcher: Minor refactoring/cleanup 2018-06-12 16:52:14 -04:00
program [DEV-3192] Renamed variables and added test case 2018-06-19 10:28:48 -04:00
server RatingServiceSubmitNotify: Do not flag as notified on error 2018-05-02 14:23:39 -04:00
store Add DelimitedKey Store trait 2017-08-29 14:34:40 -04:00
system LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
ui GeneralStepUiTest: Fix failing test case in newer version of Node 2018-03-07 14:12:48 -05:00
validate LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
pre.js LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00