| Chunk |
|---|
| Conflicting content |
|---|
@Override
protected void valueModelUpdated(Integer newColor)
{
<<<<<<< HEAD
textView.setTextColor(newColor);
=======
view.setTextColor(newColor);
>>>>>>> 1b9ff1b56f34793b20c00e3bf7eee8caf0b516cc
}
} |
| Solution content |
|---|
@Override
protected void valueModelUpdated(Integer newColor)
{
view.setTextColor(newColor);
}
} |
| File |
|---|
| TextColorAttribute.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Method invocation |
| Chunk |
|---|
| Conflicting content |
|---|
@Override
protected void valueModelUpdated(Bitmap newBitmap)
{
<<<<<<< HEAD
view.setBackgroundResource(newResourceId);
=======
view.setBackgroundDrawable(new BitmapDrawable(newBitmap));
>>>>>>> 1b9ff1b56f34793b20c00e3bf7eee8caf0b516cc
}
}
|
| Solution content |
|---|
@Override
protected void valueModelUpdated(Bitmap newBitmap)
{
view.setBackgroundDrawable(new BitmapDrawable(newBitmap));
}
}
|
| File |
|---|
| BackgroundAttribute.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Method invocation |
| Chunk |
|---|
| Conflicting content |
|---|
public class TextColorAttributeTest extends AbstractPropertyViewAttributeTest |
| Solution content |
|---|
public class TextColorAttributeTest extends AbstractPropertyViewAttributeTest |
| File |
|---|
| TextColorAttributeTest.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Method signature |
| Chunk |
|---|
| Conflicting content |
|---|
@RunWith(RobolectricTestRunner.class)
public class BackgroundAttributeTest
{
<<<<<<< HEAD
@Test
public void givenResourceIdBoundAttribute_whenValueModelUpdated_thenViewShouldReflectChanges()
=======
private BackgroundAttribute backgroundAttribute;
private Map |
| Solution content |
|---|
@RunWith(RobolectricTestRunner.class)
public class BackgroundAttributeTest
{
private BackgroundAttribute backgroundAttribute;
private Map |
| File |
|---|
| BackgroundAttributeTest.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Annotation |
| Attribute |
| Method signature |
| Chunk |
|---|
| Conflicting content |
|---|
propertyTypeToViewAttributeMappings.put(Drawable.class, DrawableBackgroundAttribute.class);
}
@Test
<<<<<<< HEAD
public void givenDrawableBoundAttribute_whenValueModelUpdated_thenViewShouldReflectChanges()
=======
public void givenPropertyType_whenCreatePropertyViewAttribute_thenReturnExpectedInstance()
>>>>>>> 1b9ff1b56f34793b20c00e3bf7eee8caf0b516cc
{
for(Class> propertyType : propertyTypeToViewAttributeMappings.keySet())
{ |
| Solution content |
|---|
propertyTypeToViewAttributeMappings.put(Drawable.class, DrawableBackgroundAttribute.class);
}
@Test
public void givenPropertyType_whenCreatePropertyViewAttribute_thenReturnExpectedInstance()
{
for(Class> propertyType : propertyTypeToViewAttributeMappings.keySet())
{ |
| File |
|---|
| BackgroundAttributeTest.java |
| Developer's decision |
|---|
| Manual |
| Kind of conflict |
|---|
| Method signature |
| Chunk |
|---|
| Conflicting content |
|---|
* @version $Revision: 1.0 $
* @author Cheng Wei
*/
<<<<<<< HEAD:robobinding/src/test/java/org/robobinding/viewattribute/view/BackgroundColorAttributeTest.java
@RunWith(RobolectricTestRunner.class)
public class BackgroundColorAttributeTest extends AbstractViewPropertyAttributeTest
{
@Test
public void givenBoundAttribute_whenValueModelUpdated_thenViewShouldReflectChanges()
=======
public class BackgroundColorTest extends AbstractPropertyViewAttributeTest |
| Solution content |
|---|
* @version $Revision: 1.0 $ * @author Cheng Wei */ public class BackgroundColorAttributeTest extends AbstractPropertyViewAttributeTest |
| File |
|---|
| BackgroundColorAttributeTest.java |
| Developer's decision |
|---|
| Manual |
| Kind of conflict |
|---|
| Annotation |
| Class signature |
| Method signature |
| Chunk |
|---|
| Conflicting content |
|---|
public class SelectedAttributeTest extends AbstractPropertyViewAttributeTest |
| Solution content |
|---|
public class SelectedAttributeTest extends AbstractPropertyViewAttributeTest |
| File |
|---|
| SelectedAttributeTest.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Method signature |