Lines Matching refs:TODO

5 * **TODO** Typical use-case
6 * **TODO** With assisted params
7 * **TODO** Check what happens with non-normalized types (all kinds)
31 * **TODO** Using the Inject typedef
32 * **TODO** Using the INJECT macro
33 * **TODO** Also with no params
34 * **TODO** Also for a templated class
35 * **TODO** Also for a templated constructor (only explicitly or using Inject)
36 * **TODO** With all kinds of non-normalized params (esp. with INJECT)
37 * **TODO** With a constructor mistakenly taking an Assisted<X> or Annotated<A,X> parameter (instead…
39 * **TODO** Check that a default-constructible type without an Inject typedef can't be auto-injected
43 * **TODO: ownership check** Returning a pointer (also check that Fruit takes ownership)
45 * **TODO** Check that non-lambda functors/functions are forbidden
46 * **TODO** Check that objects without operator() are forbidden
48 * **TODO** Passing a signature type incompatible with the lambda's signature
49 * **TODO** With a lambda mistakenly taking an Assisted<X> or Annotated<A,X> parameter (instead of j…
50 * **TODO** For an abstract type (ok)
56 * **TODO** Explicit, using `registerFactory()`, but passing a non-signature
60 * **TODO** Check that non-lambda functors/functions are forbidden in `registerFactory()`
61 * **TODO** Check that objects without operator() are forbidden in `registerFactory()`
64 * **TODO** With no assisted params but some injected params
66 * **TODO** With no assisted params and no injected params
67 * **TODO** Using the factory in another class' constructor instead of getting it from the injector …
68 * **TODO** With a lambda mistakenly taking a Assisted<X>/Annotated<A,X> parameter (instead of just …
73 * **TODO** With assisted params of all kinds of non-normalized types (especially in ASSISTED)
78 * **TODO** Check that assisted params are passed in the right order when there are multiple
79 * **TODO** Try calling the factory multiple times
83 * **TODO** Using `fruit::Annotated<>`
84 * **TODO** Using the ANNOTATED macro (only in constructors using INJECT)
85 * **TODO** Check possibly-misleading behavior of binding Annotated<A1, I> and Annotated<A2, I> to C…
86 * **TODO** With assisted params of all kinds of non-normalized types (especially in ANNOTATED)
90 * **TODO** Check that addMultibinding<I, I> causes an easy-to-understand error
92 * **TODO** Check that calling addInstanceMultibinding with a non-normalized type (e.g. const pointe…
93 * **TODO** `addInstanceMultibindings(x)`, `addInstanceMultibindings<T>(x)` and `addInstanceMultibin…
94 * **TODO** `addInstanceMultibindings()` with an empty vector
95 * **TODO** Check that calling `addInstanceMultibindings()` with a non-normalized type causes an err…
98 * **TODO: ownership check** Returning a pointer (also check that Fruit takes ownership)
100 * **TODO** Check that non-lambda functors/functions are forbidden
101 * **TODO** Check that objects without operator() are forbidden
103 * **TODO** Passing a signature type incompatible with the lambda's signature
104 …* **TODO** With a lambda mistakenly taking an Assisted<X> or Annotated<A,X> parameter (instead of …
128 * **TODO** Constructing an injector from NC + C with empty NC or empty C
133 * **TODO** Check that all types are normalized
140 * **TODO** Check that requirements aren't allowed in injectors
143 * **TODO** Check that an empty Required<...> param is allowed
146 * **TODO** `std::move()`-ing an injector
148 * **TODO** Using `get<T>` (for all type variations)
149 * **TODO** Using `get()` or casting to try to get a value that the injector doesn't provide
150 * **TODO** Casting the injector to the desired type
155 * **TODO** Eager injection
156 * **TODO** Check that the component (in the constructor from C) has no requirements
157 * **TODO** Check that the resulting component (in the constructor from C+NC) has no requirements
158 * **TODO: partial** Empty injector (construct, get multibindings, eager injection, etc.)
159 * **TODO** Injector with a single instance type bound and nothing else
160 * **TODO** Injector with a single bindProvider and nothing else
161 * **TODO** Injector with a single multibinding and nothing else
162 * **TODO** Injector with a single factory and nothing else
171 * **TODO** In constructors
173 * **TODO** Getting a Provider<> from an injector by casting the injector
175 * **TODO** casting a Provider to the desired value instead of calling `get()`
176 * **TODO** Calling either `get<T>()` or `get()` on the Provider
177 * **TODO** Check that a Provider's type argument is normalized and not annotated