Searched refs:mockLinearLayout (Results 1 – 1 of 1) sorted by relevance
176 MockLinearLayout mockLinearLayout = new MockLinearLayout(mContext); in testGenerateLayoutParams() local177 LayoutParams layoutParams1 = mockLinearLayout.generateLayoutParams(lp); in testGenerateLayoutParams()191 MockLinearLayout mockLinearLayout = new MockLinearLayout(mContext); in testCheckLayoutParams() local194 assertFalse(mockLinearLayout.checkLayoutParams(params)); in testCheckLayoutParams()197 assertTrue(mockLinearLayout.checkLayoutParams(params)); in testCheckLayoutParams()201 MockLinearLayout mockLinearLayout = new MockLinearLayout(mContext); in testGenerateDefaultLayoutParams() local203 mockLinearLayout.setOrientation(LinearLayout.HORIZONTAL); in testGenerateDefaultLayoutParams()204 ViewGroup.LayoutParams param = mockLinearLayout.generateDefaultLayoutParams(); in testGenerateDefaultLayoutParams()210 mockLinearLayout.setOrientation(LinearLayout.VERTICAL); in testGenerateDefaultLayoutParams()211 param = mockLinearLayout.generateDefaultLayoutParams(); in testGenerateDefaultLayoutParams()[all …]