Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
google-fruit
/
refs/tags/rel/10/fp2/22.10.0-rel.0
/
tests
/
test_dependency_loop.py
6ae9208
Change Injector's and NormalizedComponent's constructors to take a component function + args (like the new PartialComponent::install) instead of taking a Component<> directly.
by Marco Poletti
· 7 years ago
c84c7de
Allow Component, NormalizedComponent, Injector and Provider to specify that they only require/provide a const T (instead of requiring/providing a T). This is in preparation for allowing const bindings.
by Marco Poletti
· 7 years ago
b95efcc
Report better errors when attempting to bind/inject a type that can't be bound/injected. Also add more thorough tests for these cases, in preparation for supporting const bindings.
by Marco Poletti
· 7 years ago
03352bb
Disable the pytest cache when running tests under bazel, it causes errors (read-only file system) when running tests with sandboxing enabled.
by Marco Poletti
· 7 years ago
cb5c60f
Migrate Fruit's end-to-end tests from nose2 to pytest, improving parallelization.
by Marco Poletti
· 7 years ago
f05259d
Use precompiled headers in Fruit tests. This reduces the test time by ~50% (and the configure+build+test time by ~40%).
by Marco Poletti
· 8 years ago
5e64bc6
Reintroduce some using declarations in COMMON_DEFINITIONS (in e2e tests) now that the parameter replacement no longer applies there.
by Marco Poletti
· 8 years ago
f296277
Use proper Python indentation in Python-based e2e tests.
by Marco Poletti
· 8 years ago
ef4bc1f
Replace tests that have a non-annotated and an annotated variant with a single parameterized test (per pair).
by Marco Poletti
· 8 years ago
824579c
Add an empty main() to the test source code if it doesn't have a main, to make some tests more concise. Also omit the explicit "return 0" in main, since that's added implicitly by the compiler anyway.
by Marco Poletti
· 8 years ago
83b1ad8
Use explicit fruit:: qualifications in tests, instead of relying on using declarations. This is to avoid hiding real bugs.
by Marco Poletti
· 8 years ago
21111b0
Make e2e tests more concise and readable by factoring common declarations/definitions at the beginning of each test class.
by Marco Poletti
· 8 years ago
f9b2c6f
Port all end-to-end C++ tests to be nose2-based python tests, so that:
by Marco Poletti
· 8 years ago