Lines Matching defs:updates

249     public Snippet assertKeyMatch(String input, boolean isExecutable, SubKind expectedSubKind, STEInfo mainInfo, STEInfo... updates) {
250 Snippet key = key(assertEval(input, IGNORE_VALUE, mainInfo, updates));
304 public ImportSnippet assertImportKeyMatch(String input, String name, SubKind subkind, STEInfo mainInfo, STEInfo... updates) {
305 Snippet key = assertKeyMatch(input, false, subkind, mainInfo, updates);
315 public DeclarationSnippet assertDeclarationKeyMatch(String input, boolean isExecutable, String name, SubKind subkind, STEInfo mainInfo, STEInfo... updates) {
316 Snippet key = assertKeyMatch(input, isExecutable, subkind, mainInfo, updates);
325 public VarSnippet assertVarKeyMatch(String input, boolean isExecutable, String name, SubKind kind, String typeName, STEInfo mainInfo, STEInfo... updates) {
326 Snippet sn = assertDeclarationKeyMatch(input, isExecutable, name, kind, mainInfo, updates);
368 public List<SnippetEvent> assertEval(String input, STEInfo mainInfo, STEInfo... updates) {
369 return assertEval(input, IGNORE_VALUE, null, DiagCheck.DIAG_OK, DiagCheck.DIAG_OK, mainInfo, updates);
373 STEInfo mainInfo, STEInfo... updates) {
374 return assertEval(input, value, null, DiagCheck.DIAG_OK, DiagCheck.DIAG_OK, mainInfo, updates);
382 STEInfo mainInfo, STEInfo... updates) {
383 return assertEval(input, IGNORE_VALUE, null, diagMain, diagUpdates, mainInfo, updates);
389 STEInfo mainInfo, STEInfo... updates) {
390 return assertEval(input, diagMain, diagUpdates, new EventChain(mainInfo, value, exceptionClass, updates));
465 Collections.addAll(list, i.updates);
563 if (eventChain.updates.length > 0) {
564 if (eventChain.updates.length == 1) {
565 eventChain.updates[0].assertMatch(entry.getValue().get(1), mainKey);
567 Arrays.sort(eventChain.updates, (a, b) -> ((a.snippet() == MAIN_SNIPPET)
573 eventChain.updates[idx++].assertMatch(ste, mainKey);
607 for (STEInfo ste : eventChain.updates) {
668 STEInfo mainInfo, STEInfo... updates) {
671 mainInfo, updates);
679 STEInfo mainInfo, STEInfo... updates) {
681 DiagCheck.DIAG_ERROR, DiagCheck.DIAG_IGNORE, mainInfo, updates);
700 public Snippet assertDeclareWarn1(String input, ExpectedDiagnostic expectedDiagnostic, STEInfo mainInfo, STEInfo... updates) {
702 DiagCheck.DIAG_WARNING, DiagCheck.DIAG_IGNORE, mainInfo, updates);
773 public void assertDrop(Snippet key, STEInfo mainInfo, STEInfo... updates) {
774 assertDrop(key, DiagCheck.DIAG_OK, DiagCheck.DIAG_OK, mainInfo, updates);
777 public void assertDrop(Snippet key, DiagCheck diagMain, DiagCheck diagUpdates, STEInfo mainInfo, STEInfo... updates) {
778 assertDrop(key, diagMain, diagUpdates, new EventChain(mainInfo, null, null, updates));
1098 public static EventChain chain(STEInfo mainInfo, STEInfo... updates) {
1099 return chain(mainInfo, IGNORE_VALUE, null, updates);
1102 public static EventChain chain(STEInfo mainInfo, String value, Class<? extends Throwable> exceptionClass, STEInfo... updates) {
1103 return new EventChain(mainInfo, value, exceptionClass, updates);
1117 public final STEInfo[] updates;
1121 public EventChain(STEInfo mainInfo, String value, Class<? extends Throwable> exceptionClass, STEInfo... updates) {
1123 this.updates = updates;