Файли
openidea/plugins/official/test-runner/openidea-example-tests
T
l0ng-ai 047cac209b feat(plugins): plugin API 1.4 (#2207)
Plugin API 1.4: grants for unencrypted HTTP, local sockets, IDE commands and owned database sources; window status items, output channels, content tabs, editor selections, decorations, search, Problems and VCS reads; runs, keyed terminals with exit events, plugin run targets, dynamic run configurations and test parsers; language features, injections, snippets and menu locations; plugin MCP tools on the built-in server; four official API examples. Released 1.3 plugins keep working.
2026-11-09 08:40:40 +08:00

11 рядки
289 B
Bash
Виконуваний файл

#!/bin/sh
# A tiny deterministic protocol, not a test framework.
while IFS= read -r line; do
case "$line" in
'test '*) name=${line#test } ;;
*) continue ;;
esac
[ -z "$1" ] || [ "$1" = "$name" ] || continue
printf 'start %s\npass %s\n' "$name" "$name"
done < example.tests