diff options
Diffstat (limited to 'graph')
| -rw-r--r-- | graph/README.md | 6 | ||||
| -rw-r--r-- | graph/test_browser.py | 4 | ||||
| -rw-r--r-- | graph/test_transport.py | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/graph/README.md b/graph/README.md index 8577f509..30500f81 100644 --- a/graph/README.md +++ b/graph/README.md @@ -190,11 +190,11 @@ only raises an existing browser window, paste that URL into a new tab. Use or connecting a browser manually. A disconnected viewer stays open and shows its connection status instead of silently closing the tab. -After building a chapter, `python graph/test_transport.py chapter25` from the +After building a chapter, `python graph/test_transport.py chapter28b` from the repository root checks HTTP asset delivery, a delayed and fragmented WebSocket upgrade, and session shutdown without opening a browser. -`python graph/test_browser.py chapter25 --browser msedge` additionally checks +`python graph/test_browser.py chapter28b --browser msedge` additionally checks actual rendering, stepping backward/forward, compiling multiple programs, and disconnected startup in a headless browser. This optional test requires the Python `playwright` package and the selected browser; it is not a viewer runtime @@ -480,7 +480,7 @@ classes using `javac`. From the repository root: ```sh make -C chapter04 build -make -C chapter25 build +make -C chapter28b build ``` `build` compiles the compiler and adapter without running tests or opening a diff --git a/graph/test_browser.py b/graph/test_browser.py index b95e4555..d515961c 100644 --- a/graph/test_browser.py +++ b/graph/test_browser.py @@ -1,6 +1,6 @@ """End-to-end viewer regression: requires Playwright and a browser. -Build the chapter, then run python graph/test_browser.py chapter25 --browser msedge. +Build the chapter, then run python graph/test_browser.py chapter28b --browser msedge. Use --browser firefox for Playwright's Firefox build. See README.md for setup. """ from pathlib import Path @@ -147,7 +147,7 @@ def check(chapter, browser_name): if __name__ == "__main__": parser = argparse.ArgumentParser(description=__doc__) - parser.add_argument("chapter", nargs="?", default="chapter25") + parser.add_argument("chapter", nargs="?", default="chapter28b") parser.add_argument("--browser", default="msedge", choices=("msedge", "chrome", "firefox")) args = parser.parse_args() check(args.chapter, args.browser) diff --git a/graph/test_transport.py b/graph/test_transport.py index c4b8a4fe..2f4ee12b 100644 --- a/graph/test_transport.py +++ b/graph/test_transport.py @@ -1,6 +1,6 @@ """Check HTTP assets and a delayed, fragmented WebSocket upgrade. -Build the chapter first, then run: python graph/test_transport.py chapter25 +Build the chapter first, then run: python graph/test_transport.py chapter28b Uses only the Python standard library; does not launch a browser. """ @@ -145,4 +145,4 @@ def check(chapter): if __name__ == "__main__": - check(sys.argv[1] if len(sys.argv) > 1 else "chapter25") + check(sys.argv[1] if len(sys.argv) > 1 else "chapter28b") |
