Skip to content

Commit e9af00f

Browse files
committed
fixed merge issues
1 parent afc6766 commit e9af00f

File tree

2 files changed

+14
-41
lines changed

2 files changed

+14
-41
lines changed

RetailCoder.VBE/UI/ToDoItems/ToDoExplorerControl.xaml

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,14 @@
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
66
xmlns:resx="clr-namespace:Rubberduck.UI"
77
xmlns:toDoItems="clr-namespace:Rubberduck.UI.ToDoItems"
8-
<<<<<<< HEAD
9-
xmlns:controls="clr-namespace:Rubberduck.UI.Controls"
8+
xmlns:themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2"
109
xmlns:groupingGrid="clr-namespace:Rubberduck.UI.Controls.GroupingGrid"
11-
=======
12-
xmlns:controls="clr-namespace:Rubberduck.Controls"
13-
xmlns:themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2" x:Class="Rubberduck.UI.ToDoItems.ToDoExplorerControl"
14-
>>>>>>> 8ba01d07c36ca1edb2e33dbeb22d5fb81da3cbc9
10+
x:Class="Rubberduck.UI.ToDoItems.ToDoExplorerControl"
1511
mc:Ignorable="d"
1612
d:DesignHeight="300" d:DesignWidth="300" d:DataContext="{d:DesignInstance {x:Type toDoItems:ToDoExplorerViewModel}, IsDesignTimeCreatable=False}">
1713
<UserControl.Resources>
1814
<BooleanToVisibilityConverter x:Key="BoolToVisibility"/>
19-
15+
2016
<BitmapImage x:Key="RefreshImage" UriSource="../../Resources/arrow-circle-double.png" />
2117
<BitmapImage x:Key="DeleteImage" UriSource="../../Resources/cross-script.png" />
2218

@@ -254,42 +250,26 @@
254250
</Button>
255251
</ToolBar>
256252
</ToolBarTray>
257-
<<<<<<< HEAD
258253
<groupingGrid:GroupingGrid ItemsSource="{Binding ToDos}" AutoGenerateColumns="False"
259-
SelectedItem="{Binding SelectedToDo}" IsExpanded="True"
260-
CanUserReorderColumns="False" IsReadOnly="True"
261-
HorizontalGridLinesBrush="Transparent" VerticalGridLinesBrush="Transparent"
262-
HeadersVisibility="Column" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
263-
ItemContainerStyle="{StaticResource PrettifyRow}">
264-
<DataGrid.CellStyle>
265-
<Style TargetType="DataGridCell">
266-
=======
267-
<controls:GroupingGrid ItemsSource="{Binding ToDos}" AutoGenerateColumns="False"
268254
SelectedItem="{Binding SelectedToDo}" IsExpanded="True"
269255
CanUserReorderColumns="False" IsReadOnly="True"
270256
HorizontalGridLinesBrush="Transparent" VerticalGridLinesBrush="Transparent"
271257
HeadersVisibility="Column" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
272258
ItemContainerStyle="{StaticResource PrettifyRow}" ColumnHeaderHeight="22">
273-
<controls:GroupingGrid.CellStyle>
259+
<groupingGrid:GroupingGrid.CellStyle>
274260
<Style TargetType="{x:Type DataGridCell}">
275-
>>>>>>> 8ba01d07c36ca1edb2e33dbeb22d5fb81da3cbc9
276261
<Setter Property="BorderThickness" Value="0" />
277262
<Setter Property="VerticalAlignment" Value="Center" />
278263
<Setter Property="Background" Value="Transparent" />
279264
</Style>
280-
</controls:GroupingGrid.CellStyle>
281-
<controls:GroupingGrid.Columns>
265+
</groupingGrid:GroupingGrid.CellStyle>
266+
<groupingGrid:GroupingGrid.Columns>
282267
<DataGridTextColumn Header="{x:Static resx:RubberduckUI.Priority}" Binding="{Binding Priority}" />
283268
<DataGridTextColumn Header="{x:Static resx:RubberduckUI.TodoExplorer_Description}" Binding="{Binding Description}" Width="*"/>
284269
<DataGridTextColumn Header="{x:Static resx:RubberduckUI.ProjectName}" Binding="{Binding ProjectName}" />
285270
<DataGridTextColumn Header="{x:Static resx:RubberduckUI.ModuleName}" Binding="{Binding ModuleName}" />
286271
<DataGridTextColumn Header="{x:Static resx:RubberduckUI.TodoExplorer_LineNumber}" Binding="{Binding LineNumber}" />
287-
<<<<<<< HEAD
288-
</DataGrid.Columns>
272+
</groupingGrid:GroupingGrid.Columns>
289273
</groupingGrid:GroupingGrid>
290-
=======
291-
</controls:GroupingGrid.Columns>
292-
</controls:GroupingGrid>
293-
>>>>>>> 8ba01d07c36ca1edb2e33dbeb22d5fb81da3cbc9
294274
</DockPanel>
295-
</UserControl>
275+
</UserControl>

RubberduckTests/SourceControl/SCPresenterTests.cs

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@ private SourceControlPresenter CreatePresenter()
9090
_view.Object, _changesPresenter.Object, _branchesPresenter.Object,
9191
_settingsPresenter.Object, _unsyncedPresenter.Object,
9292
_folderBrowserFactory.Object, _providerFactory.Object,
93-
<<<<<<< HEAD
94-
_failedActionView.Object, _loginView.Object, null, new CodePaneWrapperFactory());
95-
=======
9693
_failedActionView.Object, _loginView.Object, _cloneRepo.Object, new CodePaneWrapperFactory());
97-
>>>>>>> 8ba01d07c36ca1edb2e33dbeb22d5fb81da3cbc9
9894
return presenter;
9995
}
10096

@@ -150,11 +146,7 @@ public void ChangesCurrentBranchRefreshesWhenBranchIsCheckedOut()
150146
_view.Object, changesPresenter, branchesPresenter,
151147
_settingsPresenter.Object, _unsyncedPresenter.Object,
152148
_folderBrowserFactory.Object, _providerFactory.Object,
153-
<<<<<<< HEAD
154-
_failedActionView.Object, _loginView.Object, null, new CodePaneWrapperFactory());
155-
=======
156149
_failedActionView.Object, _loginView.Object, _cloneRepo.Object, new CodePaneWrapperFactory());
157-
>>>>>>> 8ba01d07c36ca1edb2e33dbeb22d5fb81da3cbc9
158150

159151
//act
160152
branchesView.Object.Current = "dev";
@@ -419,7 +411,8 @@ public void OpenWorkingDir_WhenUserConfirms_RepoIsAddedToConfig()
419411

420412
//assert
421413
_configService.Verify(c => c.SaveConfiguration(It.IsAny<SourceControlConfiguration>()), Times.Once);
422-
} [TestMethod]
414+
}
415+
[TestMethod]
423416
public void InitRepository_WhenUserConfirms_StatusIsOnline()
424417
{
425418
//arrange
@@ -714,12 +707,12 @@ public void UnsyncedPresenter_AfterLogin_NewPresenterIsCreatedWithCredentials()
714707
private SourceControlConfiguration GetDummyConfig()
715708
{
716709
return new SourceControlConfiguration()
717-
{
718-
Repositories = new List<Repository>()
710+
{
711+
Repositories = new List<Repository>()
719712
{
720713
(Repository)GetDummyRepo()
721714
}
722-
};
715+
};
723716
}
724717

725718
private static IRepository GetDummyRepo()
@@ -732,4 +725,4 @@ private static IRepository GetDummyRepo()
732725
);
733726
}
734727
}
735-
}
728+
}

0 commit comments

Comments
 (0)