Produced by Araxis Merge on 10/3/2017 11:16:05 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\unittests\utils | worker-config-utils-spec.js | Mon Jul 10 17:46:22 2017 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\unittests\utils | worker-config-utils-spec.js | Tue Oct 3 13:35:18 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 7 | 684 |
| Changed | 6 | 40 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | 'use stric t'; | |
| 2 | ||
| 3 | require('. ./../../en v-setup'); | |
| 4 | var _ = re quire('und erscore'); | |
| 5 | var worker ConfigUtil = require (global.VX _UTILS + ' worker-con fig-utils' ); | |
| 6 | var val = require(gl obal.VX_UT ILS + 'obj ect-utils' ).getPrope rty; | |
| 7 | ||
| 8 | var initia lConfig = { | |
| 9 | 'confi gRefresh': 0, | |
| 10 | 'rules ': { | |
| 11 | 'a ccept-all' : {}, | |
| 12 | 'r apid-fire' : {}, | |
| 13 | 'o perational -data-sync ': { | |
| 14 | 'odsAtte mpts': 10, | |
| 15 | 'odsDela y': 30 | |
| 16 | }, | |
| 17 | 'e xpiration' : { | |
| 18 | 'default ': 3600000 , | |
| 19 | 'dod': 3 600000 | |
| 20 | } | |
| 21 | }, | |
| 22 | 'vista Sites': { | |
| 23 | '9 E7A': { | |
| 24 | 'name': 'panorama' , | |
| 25 | 'host': ' IP ', | |
| 26 | 'port': PORT , | |
| 27 | 'accessCod e': ' REDACTED ', | |
| 28 | 'verifyCod e': ' REDACTED ', | |
| 29 | 'localIP ': '127.0. 0.1', | |
| 30 | 'station Number': 5 00, | |
| 31 | 'localAd dress': 'l ocalhost', | |
| 32 | 'connect Timeout': 3000, | |
| 33 | 'sendTim eout': 200 00 | |
| 34 | }, | |
| 35 | 'C 877': { | |
| 36 | 'name': 'kodak', | |
| 37 | 'host': ' IP ', | |
| 38 | 'port': PORT , | |
| 39 | 'accessCod e': ' REDACTED ', | |
| 40 | 'verifyCod e': ' REDACTED ', | |
| 41 | 'localIP ': '127.0. 0.1', | |
| 42 | 'station Number': 5 01, | |
| 43 | 'localAd dress': 'l ocalhost', | |
| 44 | 'connect Timeout': 3000, | |
| 45 | 'sendTim eout': 200 00 | |
| 46 | } | |
| 47 | }, | |
| 48 | 'beans talk': { | |
| 49 | 'r epoUnivers al': { | |
| 50 | 'priorit y': 10, | |
| 51 | 'delay': 0, | |
| 52 | 'ttr': 1 20, | |
| 53 | 'timeout ': 10, | |
| 54 | 'initMil lis': 1000 , | |
| 55 | 'maxMill is': 15000 , | |
| 56 | 'incMill is': 1000 | |
| 57 | }, | |
| 58 | 'r epoDefault s': { | |
| 59 | 'host': '127.0.0.1 ', | |
| 60 | 'port': 5000, | |
| 61 | 'tubenam e': 'vxsyn c', | |
| 62 | 'tubePre fix': 'vxs -', | |
| 63 | 'jobType ForTube': true | |
| 64 | }, | |
| 65 | 'j obTypes': { | |
| 66 | 'job-typ e-1': {}, | |
| 67 | 'job-typ e-2': {} | |
| 68 | } | |
| 69 | }, | |
| 70 | 'hdr': { | |
| 71 | 'h drSites': { | |
| 72 | '1234': { | |
| 73 | 'nam e': 'panor ama', | |
| 74 | 'host': ' IP ', | |
| 75 | 'port': PORT , | |
| 76 | 'accessCod e': ' REDACTED ', | |
| 77 | 'verifyCod e': ' REDACTED ', | |
| 78 | 'loc alIP': '12 7.0.0.1', | |
| 79 | 'sta tionNumber ': 600, | |
| 80 | 'loc alAddress' : 'localho st', | |
| 81 | 'con nectTimeou t': 3000, | |
| 82 | 'sen dTimeout': 20000 | |
| 83 | }, | |
| 84 | 'CCCC': { | |
| 85 | 'nam e': 'kodak ', | |
| 86 | 'host': ' IP ', | |
| 87 | 'port': PORT , | |
| 88 | 'accessCod e': ' REDACTED ', | |
| 89 | 'verifyCod e': ' REDACTED ', | |
| 90 | 'loc alIP': '12 7.0.0.1', | |
| 91 | 'sta tionNumber ': 601, | |
| 92 | 'loc alAddress' : 'localho st', | |
| 93 | 'con nectTimeou t': 3000, | |
| 94 | 'sen dTimeout': 20000 | |
| 95 | } | |
| 96 | } | |
| 97 | }, | |
| 98 | 'jds': { | |
| 99 | 'p rotocol': 'http', | |
| 100 | 'host': ' IP ', | |
| 101 | 'port': ' PORT ', | |
| 102 | 't imeout': 3 00000 | |
| 103 | }, | |
| 104 | 'pjds' : { | |
| 105 | 'p rotocol': 'http', | |
| 106 | 'host': ' IP ', | |
| 107 | 'port': ' PORT ', | |
| 108 | 't imeout': 3 00001 | |
| 109 | }, | |
| 110 | 'osync ': { | |
| 111 | 'b eanstalk': { | |
| 112 | 'repoUni versal': { | |
| 113 | 'pri ority': 10 , | |
| 114 | 'del ay': 0, | |
| 115 | 'ttr ': 120, | |
| 116 | 'tim eout': 10, | |
| 117 | 'ini tMillis': 1000, | |
| 118 | 'max Millis': 1 5000, | |
| 119 | 'inc Millis': 1 000 | |
| 120 | }, | |
| 121 | 'repoDef aults': { | |
| 122 | 'hos t': '127.0 .0.1', | |
| 123 | 'por t': 5001, | |
| 124 | 'tub ename': 'o sync', | |
| 125 | 'tub ePrefix': 'osync-', | |
| 126 | 'job TypeForTub e': true | |
| 127 | }, | |
| 128 | 'jobType s': { | |
| 129 | 'job -type-1': {}, | |
| 130 | 'job -type-2': {}, | |
| 131 | } | |
| 132 | }, | |
| 133 | }, | |
| 134 | 'vxsyn cEnvironme nts': { | |
| 135 | 'v xsync-env- 1': { | |
| 136 | 'vxsync' : { | |
| 137 | 'bea nstalk': { | |
| 138 | 'repoUnive rsal': { | |
| 139 | 'prior ity': 10, | |
| 140 | 'delay ': 0, | |
| 141 | 'ttr': 120, | |
| 142 | 'timeo ut': 10, | |
| 143 | 'initM illis': 10 00, | |
| 144 | 'maxMi llis': 150 00, | |
| 145 | 'incMi llis': 100 0 | |
| 146 | }, | |
| 147 | 'repoDefau lts': { | |
| 148 | 'host' : '127.0.0 .1', | |
| 149 | 'port' : 5000, | |
| 150 | 'tuben ame': 'vxs ync', | |
| 151 | 'tubeP refix': 'v xs-', | |
| 152 | 'jobTy peForTube' : true | |
| 153 | }, | |
| 154 | 'jobTypes' : { | |
| 155 | 'job-t ype-1': {} , | |
| 156 | 'job-t ype-2': {} | |
| 157 | } | |
| 158 | } | |
| 159 | }, | |
| 160 | 'osync': { | |
| 161 | 'bea nstalk': { | |
| 162 | 'repoUnive rsal': { | |
| 163 | 'prior ity': 10, | |
| 164 | 'delay ': 0, | |
| 165 | 'ttr': 120, | |
| 166 | 'timeo ut': 10, | |
| 167 | 'initM illis': 10 00, | |
| 168 | 'maxMi llis': 150 00, | |
| 169 | 'incMi llis': 100 0 | |
| 170 | }, | |
| 171 | 'repoDefau lts': { | |
| 172 | 'host' : '127.0.0 .1', | |
| 173 | 'port' : 5001, | |
| 174 | 'tuben ame': 'osy nc', | |
| 175 | 'tubeP refix': 'o sync-', | |
| 176 | 'jobTy peForTube' : true | |
| 177 | }, | |
| 178 | 'jobTypes' : { | |
| 179 | 'job-t ype-1': {} , | |
| 180 | 'job-t ype-2': {} | |
| 181 | } | |
| 182 | }, | |
| 183 | } | |
| 184 | }, | |
| 185 | 'v xsync-env- 2': { | |
| 186 | 'vxsync' : { | |
| 187 | 'bea nstalk': { | |
| 188 | 'repoUnive rsal': { | |
| 189 | 'prior ity': 10, | |
| 190 | 'delay ': 0, | |
| 191 | 'ttr': 120, | |
| 192 | 'timeo ut': 10, | |
| 193 | 'initM illis': 10 00, | |
| 194 | 'maxMi llis': 150 00, | |
| 195 | 'incMi llis': 100 0 | |
| 196 | }, | |
| 197 | 'repoDefau lts': { | |
| 198 | 'host' : '127.0.0 .2', | |
| 199 | 'port' : 5432, | |
| 200 | 'tuben ame': 'vxs ync', | |
| 201 | 'tubeP refix': 'v xs-', | |
| 202 | 'jobTy peForTube' : true | |
| 203 | }, | |
| 204 | 'jobTypes' : { | |
| 205 | 'job-t ype-1': {} , | |
| 206 | 'job-t ype-2': {} | |
| 207 | } | |
| 208 | } | |
| 209 | }, | |
| 210 | 'osync': { | |
| 211 | 'bea nstalk': { | |
| 212 | 'repoUnive rsal': { | |
| 213 | 'prior ity': 10, | |
| 214 | 'delay ': 0, | |
| 215 | 'ttr': 120, | |
| 216 | 'timeo ut': 10, | |
| 217 | 'initM illis': 10 00, | |
| 218 | 'maxMi llis': 150 00, | |
| 219 | 'incMi llis': 100 0 | |
| 220 | }, | |
| 221 | 'repoDefau lts': { | |
| 222 | 'host' : '127.0.0 .2', | |
| 223 | 'port' : 6543, | |
| 224 | 'tuben ame': 'osy nc', | |
| 225 | 'tubeP refix': 'o sync-', | |
| 226 | 'jobTy peForTube' : true | |
| 227 | }, | |
| 228 | 'jobTypes' : { | |
| 229 | 'job-t ype-1': {} , | |
| 230 | 'job-t ype-2': {} | |
| 231 | } | |
| 232 | }, | |
| 233 | } | |
| 234 | } | |
| 235 | } | |
| 236 | }; | |
| 237 | ||
| 238 | ||
| 239 | ||
| 240 | describe(' worker-con fig-utils. js', funct ion() { | |
| 241 | descri be('create VistaSites ByStationC ombined()' , function () { | |
| 242 | it ('test wit h both vis ta and HDR data', fu nction() { | |
| 243 | var loca lConfig = JSON.parse (JSON.stri ngify(init ialConfig) ); | |
| 244 | var resu ltConfig = workerCon figUtil.cr eateVistaS itesByStat ionCombine d(localCon fig); | |
| 245 | expect(r esultConfi g).toBeTru thy(); | |
| 246 | expect(r esultConfi g.vistaSit esByStatio nCombined) .toBeTruth y(); | |
| 247 | expect(_ .size(resu ltConfig.v istaSitesB yStationCo mbined)).t oBe(4); | |
| 248 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. vistaSites ['9E7A'].s tationNumb er)]).toBe (resultCon fig.vistaS ites['9E7A ']); | |
| 249 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. vistaSites ['9E7A'].s tationNumb er)].siteH ash).toBe( '9E7A'); | |
| 250 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. vistaSites .C877.stat ionNumber) ]).toBe(re sultConfig .vistaSite s.C877); | |
| 251 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. vistaSites .C877.stat ionNumber) ].siteHash ).toBe('C8 77'); | |
| 252 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. hdr.hdrSit es['1234'] .stationNu mber)]).to Be(resultC onfig.hdr. hdrSites[' 1234']); | |
| 253 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. hdr.hdrSit es['1234'] .stationNu mber)].sit eHash).toB e('1234'); | |
| 254 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. hdr.hdrSit es.CCCC.st ationNumbe r)]).toBe( resultConf ig.hdr.hdr Sites.CCCC ); | |
| 255 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. hdr.hdrSit es.CCCC.st ationNumbe r)].siteHa sh).toBe(' CCCC'); | |
| 256 | }) ; | |
| 257 | it ('test wit h vista an d no HDR d ata', func tion() { | |
| 258 | var loca lConfig = JSON.parse (JSON.stri ngify(init ialConfig) ); | |
| 259 | localCon fig.hdr.hd rSites = { }; | |
| 260 | var resu ltConfig = workerCon figUtil.cr eateVistaS itesByStat ionCombine d(localCon fig); | |
| 261 | expect(r esultConfi g).toBeTru thy(); | |
| 262 | expect(r esultConfi g.vistaSit esByStatio nCombined) .toBeTruth y(); | |
| 263 | expect(_ .size(resu ltConfig.v istaSitesB yStationCo mbined)).t oBe(2); | |
| 264 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. vistaSites ['9E7A'].s tationNumb er)]).toBe (resultCon fig.vistaS ites['9E7A ']); | |
| 265 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. vistaSites .C877.stat ionNumber) ]).toBe(re sultConfig .vistaSite s.C877); | |
| 266 | }) ; | |
| 267 | it ('test wit h no vista but with HDR data', function( ) { | |
| 268 | var loca lConfig = JSON.parse (JSON.stri ngify(init ialConfig) ); | |
| 269 | localCon fig.vistaS ites = {}; | |
| 270 | var resu ltConfig = workerCon figUtil.cr eateVistaS itesByStat ionCombine d(localCon fig); | |
| 271 | expect(r esultConfi g).toBeTru thy(); | |
| 272 | expect(r esultConfi g.vistaSit esByStatio nCombined) .toBeTruth y(); | |
| 273 | expect(_ .size(resu ltConfig.v istaSitesB yStationCo mbined)).t oBe(2); | |
| 274 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. hdr.hdrSit es['1234'] .stationNu mber)]).to Be(resultC onfig.hdr. hdrSites[' 1234']); | |
| 275 | expect(r esultConfi g.vistaSit esByStatio nCombined[ String(res ultConfig. hdr.hdrSit es.CCCC.st ationNumbe r)]).toBe( resultConf ig.hdr.hdr Sites.CCCC ); | |
| 276 | }) ; | |
| 277 | it ('test wit h no vista and no HD R data', f unction() { | |
| 278 | var loca lConfig = JSON.parse (JSON.stri ngify(init ialConfig) ); | |
| 279 | localCon fig.vistaS ites = {}; | |
| 280 | localCon fig.hdr = {}; | |
| 281 | var resu ltConfig = workerCon figUtil.cr eateVistaS itesByStat ionCombine d(localCon fig); | |
| 282 | expect(r esultConfi g).toBeTru thy(); | |
| 283 | expect(r esultConfi g.vistaSit esByStatio nCombined) .toBeTruth y(); | |
| 284 | expect(_ .size(resu ltConfig.v istaSitesB yStationCo mbined)).t oBe(0); | |
| 285 | }) ; | |
| 286 | }); | |
| 287 | ||
| 288 | descri be('popula teBeanstal kConfigs', function( ) { | |
| 289 | it ('Handles null', fun ction(){ | |
| 290 | var conf ig = null; | |
| 291 | workerCo nfigUtil.p opulateBea nstalkConf igs(config ); | |
| 292 | ||
| 293 | expect(c onfig).toB e(null); | |
| 294 | }) ; | |
| 295 | it ('Handles empty conf ig', funct ion(){ | |
| 296 | var conf ig = {}; | |
| 297 | workerCo nfigUtil.p opulateBea nstalkConf igs(config ); | |
| 298 | ||
| 299 | expect(c onfig.bean stalk).not .toBeDefin ed(); | |
| 300 | }) ; | |
| 301 | it ('Handles empty envi ronment', function() { | |
| 302 | var conf ig = {vxsy ncEnvironm ents:{'vxs ync-env-1' :{}}}; | |
| 303 | workerCo nfigUtil.p opulateBea nstalkConf igs(config ); | |
| 304 | ||
| 305 | expect(_ .isEmpty(v al(config, 'vxsyncEn vironments ', 'vxsync -env-1'))) .toBe(true ); | |
| 306 | }) ; | |
| 307 | i t('Handles empty env ironment w ith empty vxsync, os ync', func tion(){ | |
| 308 | var conf ig = {vxsy ncEnvironm ents:{'vxs ync-env-1' :{vxsync:{ }, osync:{ }}}}; | |
| 309 | workerCo nfigUtil.p opulateBea nstalkConf igs(config ); | |
| 310 | ||
| 311 | expect(_ .isEmpty(v al(config, 'vxsyncEn vironments ', 'vxsync -env-1', ' vxsync'))) .toBe(true ); | |
| 312 | expect(_ .isEmpty(v al(config, 'vxsyncEn vironments ', 'vxsync -env-1', ' osync'))). toBe(true) ; | |
| 313 | }) ; | |
| 314 | it ('Normal p ath: Fills in all be anstalk no des', func tion(done) { | |
| 315 | var conf ig = initi alConfig; | |
| 316 | workerCo nfigUtil.p opulateBea nstalkConf igs(config ); | |
| 317 | ||
| 318 | var main RepoDefaul ts = val(c onfig, 'be anstalk', 'repoDefau lts'); | |
| 319 | var main RepoUniver sal = val( config, 'b eanstalk', 'repoUniv ersal'); | |
| 320 | var main RepoDefaul tsOsync = val(config , 'osync', 'beanstal k', 'repoD efaults'); | |
| 321 | var main RepoUniver salOsync = val(confi g, 'osync' , 'beansta lk', 'repo Universal' ); | |
| 322 | var env1 RepoDefaul ts = val(c onfig, 'vx syncEnviro nments', ' vxsync-env -1', 'vxsy nc', 'bean stalk', 'r epoDefault s'); | |
| 323 | var env1 RepoUniver sal = val( config, 'v xsyncEnvir onments', 'vxsync-en v-1', 'vxs ync', 'bea nstalk', ' repoUniver sal'); | |
| 324 | var env1 RepoDefaul tsOsync = val(config , 'vxsyncE nvironment s', 'vxsyn c-env-1', 'osync', ' beanstalk' , 'repoDef aults'); | |
| 325 | var env1 RepoUniver salOsync = val(confi g, 'vxsync Environmen ts', 'vxsy nc-env-1', 'osync', 'beanstalk ', 'repoUn iversal'); | |
| 326 | var env2 RepoDefaul ts = val(c onfig, 'vx syncEnviro nments', ' vxsync-env -2', 'vxsy nc', 'bean stalk', 'r epoDefault s'); | |
| 327 | var env2 RepoUniver sal = val( config, 'v xsyncEnvir onments', 'vxsync-en v-2', 'vxs ync', 'bea nstalk', ' repoUniver sal'); | |
| 328 | var env2 RepoDefaul tsOsync = val(config , 'vxsyncE nvironment s', 'vxsyn c-env-2', 'osync', ' beanstalk' , 'repoDef aults'); | |
| 329 | var env2 RepoUniver salOsync = val(confi g, 'vxsync Environmen ts', 'vxsy nc-env-2', 'osync', 'beanstalk ', 'repoUn iversal'); | |
| 330 | ||
| 331 | var main JobTypes = val(confi g, 'beanst alk', 'job Types'); | |
| 332 | var main OsyncJobTy pes = val( config, 'o sync', 'be anstalk', 'jobTypes' ); | |
| 333 | var env1 jobTypes = val(confi g, 'vxsync Environmen ts', 'vxsy nc-env-1', 'vxsync', 'beanstal k', 'jobTy pes'); | |
| 334 | var env1 jobTypesOs ync = val( config, 'v xsyncEnvir onments', 'vxsync-en v-1', 'osy nc', 'bean stalk', 'j obTypes'); | |
| 335 | var env2 jobTypes = val(confi g, 'vxsync Environmen ts', 'vxsy nc-env-2', 'vxsync', 'beanstal k', 'jobTy pes'); | |
| 336 | var env2 jobTypesOs ync = val( config, 'v xsyncEnvir onments', 'vxsync-en v-2', 'osy nc', 'bean stalk', 'j obTypes'); | |
| 337 | ||
| 338 | function getPopula tedJobType (jobTypeNa me, repoDe faults, re poUniversa l) { | |
| 339 | var result = _ .extend({} , repoDefa ults, repo Universal) ; | |
| 340 | resu lt.tubenam e = repoDe faults.tub ePrefix + jobTypeNam e; | |
| 341 | retu rn result; | |
| 342 | } | |
| 343 | ||
| 344 | expect(v al(mainJob Types, 'jo b-type-1') ).toEqual( jasmine.ob jectContai ning(getPo pulatedJob Type('job- type-1', m ainRepoDef aults, mai nRepoUnive rsal))); | |
| 345 | expect(v al(mainJob Types, 'jo b-type-2') ).toEqual( jasmine.ob jectContai ning(getPo pulatedJob Type('job- type-2', m ainRepoDef aults, mai nRepoUnive rsal))); | |
| 346 | expect(v al(mainOsy ncJobTypes , 'job-typ e-1')).toE qual(jasmi ne.objectC ontaining( getPopulat edJobType( 'job-type- 1', mainRe poDefaults Osync, mai nRepoUnive rsalOsync) )); | |
| 347 | expect(v al(mainOsy ncJobTypes , 'job-typ e-2')).toE qual(jasmi ne.objectC ontaining( getPopulat edJobType( 'job-type- 2', mainRe poDefaults Osync, mai nRepoUnive rsalOsync) )); | |
| 348 | ||
| 349 | expect(v al(env1job Types, 'jo b-type-1') ).toEqual( jasmine.ob jectContai ning(getPo pulatedJob Type('job- type-1', e nv1RepoDef aults, env 1RepoUnive rsal))); | |
| 350 | expect(v al(env1job Types, 'jo b-type-2') ).toEqual( jasmine.ob jectContai ning(getPo pulatedJob Type('job- type-2', e nv1RepoDef aults, env 1RepoUnive rsal))); | |
| 351 | expect(v al(env1job TypesOsync , 'job-typ e-1')).toE qual(jasmi ne.objectC ontaining( getPopulat edJobType( 'job-type- 1', env1Re poDefaults Osync, env 1RepoUnive rsalOsync) )); | |
| 352 | expect(v al(env1job TypesOsync , 'job-typ e-2')).toE qual(jasmi ne.objectC ontaining( getPopulat edJobType( 'job-type- 2', env1Re poDefaults Osync, env 1RepoUnive rsalOsync) )); | |
| 353 | ||
| 354 | expect(v al(env2job Types, 'jo b-type-1') ).toEqual( jasmine.ob jectContai ning(getPo pulatedJob Type('job- type-1', e nv2RepoDef aults, env 2RepoUnive rsal))); | |
| 355 | expect(v al(env2job Types, 'jo b-type-2') ).toEqual( jasmine.ob jectContai ning(getPo pulatedJob Type('job- type-2', e nv2RepoDef aults, env 2RepoUnive rsal))); | |
| 356 | expect(v al(env2job TypesOsync , 'job-typ e-1')).toE qual(jasmi ne.objectC ontaining( getPopulat edJobType( 'job-type- 1', env2Re poDefaults Osync, env 2RepoUnive rsalOsync) )); | |
| 357 | expect(v al(env2job TypesOsync , 'job-typ e-2')).toE qual(jasmi ne.objectC ontaining( getPopulat edJobType( 'job-type- 2', env2Re poDefaults Osync, env 2RepoUnive rsalOsync) )); | |
| 358 | ||
| 359 | done(); | |
| 360 | }) ; | |
| 361 | }); | |
| 362 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.