solana/program-test
xuoe 2aaf55795f
Document ProgramTest::new and fix ProgramTest::add_program (#17754)
* document ProgramTest::new

* simplify ProgramTest::new doc-string

* make ProgramTest::add_program noisier

`add_program` (and `new`, implicitly) now prints a warning when the user
supplies a bogus program name to a ProgramTest and invokes `test-bpf`.

Additionally, it is now impossible to ask for a regular `test` and for
the generated ProgramTest to load BPF code instead of native code.
Previously, this was caused by a precedence issue: BPF code would always
be preferred over native if the program name was valid, regardless of
user choice.
2021-06-05 21:39:15 -07:00
..
src Document ProgramTest::new and fix ProgramTest::add_program (#17754) 2021-06-05 21:39:15 -07:00
tests chore: conflate use statement 2021-05-04 08:34:35 -07:00
Cargo.toml Bump serde from 1.0.122 to 1.0.126 (#17618) 2021-05-31 22:41:25 +00:00