Home
last modified time | relevance | path

Searched refs:bcTernary (Results 1 – 1 of 1) sorted by relevance

/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java382 TernaryExpr bcTernary = parse(lb, "b > c ? u1.getCond(d) ? u1.lastName : u2.lastName : `xx`" in testPostConditionalDependencies() local
385 Expr bcCmp = bcTernary.getPred(); in testPostConditionalDependencies()
386 Expr u1GetCondD = ((TernaryExpr) bcTernary.getIfTrue()).getPred(); in testPostConditionalDependencies()
387 final MathExpr xxPlusU2getCondE = (MathExpr) bcTernary.getIfFalse(); in testPostConditionalDependencies()
391 Expr u1LastName = ((TernaryExpr) bcTernary.getIfTrue()).getIfTrue(); in testPostConditionalDependencies()
392 Expr u2LastName = ((TernaryExpr) bcTernary.getIfTrue()).getIfFalse(); in testPostConditionalDependencies()
418 assertFlags(d, bcTernary.getRequirementFlagIndex(true)); in testPostConditionalDependencies()
419 assertFlags(e, bcTernary.getRequirementFlagIndex(false)); in testPostConditionalDependencies()
420 assertFlags(u1, bcTernary.getRequirementFlagIndex(true), in testPostConditionalDependencies()
422 assertFlags(u2, bcTernary.getRequirementFlagIndex(false), in testPostConditionalDependencies()
[all …]