Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1021776 // gazelle_performMultipleTests

JavaX fragment (include)

static ErrorCounter gazelle_performMultipleTests(S data, O... _) {
  new ErrorCounter errorCounter;
  SS tests = equalsSignsSections(data);
  S performOnly = stringPar performOnly(_);
  for (S name, test : tests) {
    continue if startsWith(name, "DISABLED");
    if (nempty(performOnly) && !eqic(trim(tok_dropStuffInRoundBrackets(name)), trim(performOnly))) continue;
    printAsciiHeading(upper(name));
    pcallF(optPar testStarting(_), name, test);
    new ErrorCounter ec2;
    gazelle_fakery_performTest(test, paramsPlus(_, errorCounter := ec2));
    pcallF(optPar testDone(_), name, ec2);
    errorCounter.add(ec2);
  }
  ret errorCounter;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021776
Snippet name: gazelle_performMultipleTests
Eternal ID of this version: #1021776/10
Text MD5: beba2031df8f83eb48d8272cb2227da9
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-29 18:08:28
Source code size: 664 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 287 / 342
Version history: 9 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)