/external/mockito/src/main/java/org/mockito/ |
BDDMockito.java | 13 * Behavior Driven Development style of writing tests uses <b>//given //when //then</b> comments as fundamental parts of your test methods. 18 * The problem is that current stubbing api with canonical role of <b>when</b> word does not integrate nicely with <b>//given //when //then</b> comments. 37 * //then 50 * //then 54 * For BDD style mock verification take a look at {@link Then} in action: 59 * then(person).should(times(2)).ride(bike); 60 * then(person).shouldHaveNoMoreInteractions(); 61 * then(police).shouldHaveZeroInteractions(); 72 * then(person).should(inOrder).drive(car); 73 * then(person).should(inOrder, times(2)).ride(bike) 214 public static <T> Then<T> then(T mock) { method in class:BDDMockito [all...] |
/external/v8/src/compiler/ |
control-builders.cc | 20 void IfBuilder::Then() { builder_->NewIfTrue(); } 73 control_if.Then(); 83 control_if.Then(); 163 control_if.Then(); 173 control_if.Then();
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 79 if (IdentifierStr == "then") 174 /// IfExprAST - Expression class for if/then/else. 176 std::unique_ptr<ExprAST> Cond, Then, Else; 179 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then, 181 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} 321 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 331 return LogError("expected then"); 332 getNextToken(); // eat the then 334 auto Then = ParseExpression() [all...] |
/external/llvm/tools/llvm-c-test/ |
echo.cpp | 438 LLVMValueRef Then = LLVMGetOperand(Src, 2); 439 LLVMBasicBlockRef ThenBB = DeclareBB(LLVMValueAsBasicBlock(Then)); 452 LLVMBasicBlockRef Then = DeclareBB(LLVMGetNormalDest(Src)); 455 Then, Unwind, Name);
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 58 if (IdentifierStr == "then") return tok_then; 142 /// IfExprAST - Expression class for if/then/else. 144 ExprAST *Cond, *Then, *Else; 146 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 147 : Cond(cond), Then(then), Else(_else) {} 273 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 282 return Error("expected then"); 283 getNextToken(); // eat the then 285 ExprAST *Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
toy.cpp | 87 if (IdentifierStr == "then") 200 /// IfExprAST - Expression class for if/then/else. 202 std::unique_ptr<ExprAST> Cond, Then, Else; 205 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then, 207 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} 374 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 384 return LogError("expected then"); 385 getNextToken(); // eat the then 387 auto Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
toy.cpp | 87 if (IdentifierStr == "then") 200 /// IfExprAST - Expression class for if/then/else. 202 std::unique_ptr<ExprAST> Cond, Then, Else; 205 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then, 207 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} 374 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 384 return LogError("expected then"); 385 getNextToken(); // eat the then 387 auto Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
toy.cpp | 87 if (IdentifierStr == "then") 200 /// IfExprAST - Expression class for if/then/else. 202 std::unique_ptr<ExprAST> Cond, Then, Else; 205 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then, 207 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} 374 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 384 return LogError("expected then"); 385 getNextToken(); // eat the then 387 auto Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
toy.cpp | 88 if (IdentifierStr == "then") 201 /// IfExprAST - Expression class for if/then/else. 203 std::unique_ptr<ExprAST> Cond, Then, Else; 206 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then, 208 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} 362 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 372 return LogError("expected then"); 373 getNextToken(); // eat the then 375 auto Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
toy.cpp | 103 if (IdentifierStr == "then") 216 /// IfExprAST - Expression class for if/then/else. 218 std::unique_ptr<ExprAST> Cond, Then, Else; 221 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then, 223 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} 377 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 387 return LogError("expected then"); 388 getNextToken(); // eat the then 390 auto Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 83 if (IdentifierStr == "then") 193 /// IfExprAST - Expression class for if/then/else. 195 std::unique_ptr<ExprAST> Cond, Then, Else; 198 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then, 200 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} 354 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 364 return LogError("expected then"); 365 getNextToken(); // eat the then 367 auto Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 87 if (IdentifierStr == "then") 200 /// IfExprAST - Expression class for if/then/else. 202 std::unique_ptr<ExprAST> Cond, Then, Else; 205 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then, 207 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} 374 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 384 return LogError("expected then"); 385 getNextToken(); // eat the then 387 auto Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
toy.cpp | 84 if (IdentifierStr == "then") 197 /// IfExprAST - Expression class for if/then/else. 199 std::unique_ptr<ExprAST> Cond, Then, Else; 202 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then, 204 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} 371 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 381 return LogError("expected then"); 382 getNextToken(); // eat the then 384 auto Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 82 if (IdentifierStr == "then") return tok_then; 180 /// IfExprAST - Expression class for if/then/else. 182 ExprAST *Cond, *Then, *Else; 184 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 185 : Cond(cond), Then(then), Else(_else) {} 337 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 346 return Error("expected then"); 347 getNextToken(); // eat the then 349 ExprAST *Then = ParseExpression() [all...] |
toy.cpp | 89 if (IdentifierStr == "then") return tok_then; 187 /// IfExprAST - Expression class for if/then/else. 189 ExprAST *Cond, *Then, *Else; 191 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 192 : Cond(cond), Then(then), Else(_else) {} 344 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 353 return Error("expected then"); 354 getNextToken(); // eat the then 356 ExprAST *Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy-jit.cpp | 67 if (IdentifierStr == "then") return tok_then; 165 /// IfExprAST - Expression class for if/then/else. 167 ExprAST *Cond, *Then, *Else; 169 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 170 : Cond(cond), Then(then), Else(_else) {} 322 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 331 return Error("expected then"); 332 getNextToken(); // eat the then 334 ExprAST *Then = ParseExpression() [all...] |
toy.cpp | 68 if (IdentifierStr == "then") return tok_then; 166 /// IfExprAST - Expression class for if/then/else. 168 ExprAST *Cond, *Then, *Else; 170 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 171 : Cond(cond), Then(then), Else(_else) {} 323 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 332 return Error("expected then"); 333 getNextToken(); // eat the then 335 ExprAST *Then = ParseExpression() [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 61 if (IdentifierStr == "then") return tok_then; 157 /// IfExprAST - Expression class for if/then/else. 159 ExprAST *Cond, *Then, *Else; 161 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 162 : Cond(cond), Then(then), Else(_else) {} 301 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 310 return Error("expected then"); 311 getNextToken(); // eat the then 313 ExprAST *Then = ParseExpression() [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 64 if (IdentifierStr == "then") return tok_then; 162 /// IfExprAST - Expression class for if/then/else. 164 ExprAST *Cond, *Then, *Else; 166 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 167 : Cond(cond), Then(then), Else(_else) {} 319 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 328 return Error("expected then"); 329 getNextToken(); // eat the then 331 ExprAST *Then = ParseExpression() [all...] |
/external/clang/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/external/llvm/examples/Kaleidoscope/Chapter9/ |
toy.cpp | 69 return "then"; 143 if (IdentifierStr == "then") 293 /// IfExprAST - Expression class for if/then/else. 295 std::unique_ptr<ExprAST> Cond, Then, Else; 299 std::unique_ptr<ExprAST> Then, std::unique_ptr<ExprAST> Else) 300 : ExprAST(Loc), Cond(std::move(Cond)), Then(std::move(Then)), 306 Then->dump(indent(out, ind) << "Then:", ind + 1); 501 /// ifexpr ::= 'if' expression 'then' expression 'else' expressio [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 108 if (IdentifierStr == "then") return tok_then; 206 /// IfExprAST - Expression class for if/then/else. 208 ExprAST *Cond, *Then, *Else; 210 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 211 : Cond(cond), Then(then), Else(_else) {} 363 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 372 return Error("expected then"); 373 getNextToken(); // eat the then 375 ExprAST *Then = ParseExpression() [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | 66 if (IdentifierStr == "then") return tok_then; 164 /// IfExprAST - Expression class for if/then/else. 166 ExprAST *Cond, *Then, *Else; 168 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 169 : Cond(cond), Then(then), Else(_else) {} 321 /// ifexpr ::= 'if' expression 'then' expression 'else' expression 330 return Error("expected then"); 331 getNextToken(); // eat the then 333 ExprAST *Then = ParseExpression() [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |