Merge branch 'stable-6.2'
[egit/eclipse.git] / org.eclipse.egit.ui.test / fragment.xml
blob1ea423136b4f946d8574bfb8cee5b3cd128fce38
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <fragment>
5    <!-- ================================================================================ -->
6    <!-- Model provider for the GitScopeUtilTest                                                                                  -->
7    <!-- ================================================================================ -->
8    <extension
9          id="modelProvider"
10          name="Egit Test Mock Model"
11          point="org.eclipse.core.resources.modelProviders">
12       <modelProvider class="org.eclipse.egit.ui.operations.GitScopeUtilTest$MockModelProvider"/>
13       <extends-model id="org.eclipse.core.resources.modelProvider"/>
14       <enablement>
15           <test property="org.eclipse.core.resources.name" value="*.model" />
16       </enablement>
17    </extension>
18    <!-- ================================================================================ -->
19    <!-- Repository provider for the GitImportWizardTest                                                                                  -->
20    <!-- ================================================================================ -->
21    <extension
22          point="org.eclipse.egit.ui.cloneSourceProvider">
23       <source
24             label="ServerWithoutPage1"
25             hasFixLocation="true">
26       </source>
27       <repositoryServerProvider
28             class="org.eclipse.egit.ui.wizards.clone.TestRepositoryServerProvider">
29       </repositoryServerProvider>
30    </extension>
31    <extension
32          point="org.eclipse.egit.ui.cloneSourceProvider">
33       <source
34             label="TestServer"
35             hasFixLocation="false">
36       </source>
37           <repositoryServerProvider
38             class="org.eclipse.egit.ui.wizards.clone.TestRepositoryServerProvider">
39       </repositoryServerProvider>
40       <repositorySearchPage
41             class="org.eclipse.egit.ui.wizards.clone.TestRepositorySearchPage"></repositorySearchPage>
42    </extension>
43    <extension
44          point="org.eclipse.egit.ui.cloneSourceProvider">
45       <source
46             label="ServerWithoutPage2">
47       </source>
48    </extension>
49    <extension
50          id="org.eclipse.egit.ui.test.mockLogicalModelProvider"
51          name="Mock Logical Model Provider"
52          point="org.eclipse.core.resources.modelProviders">
53       <modelProvider
54             class="org.eclipse.egit.ui.view.synchronize.MockLogicalModelProvider">
55       </modelProvider>
56       <extends-model
57             id="org.eclipse.core.resources.modelProvider"/>
58       <enablement>
59          <and>
60             <adapt
61                   type="org.eclipse.core.resources.IFile"/>
62             <test
63                   forcePluginActivation="true"
64                   property="org.eclipse.core.resources.name"
65                   value="*.mocklogical"/>
66          </and>
67       </enablement>
68    </extension>
69    <extension
70          point="org.eclipse.egit.ui.commitMessageProvider">
71       <commitMessageProvider
72             class="org.eclipse.egit.ui.test.stagview.TestCommitMessageProviderExtensionFactory">
73       </commitMessageProvider>
74       <commitMessageProvider
75             class="org.eclipse.egit.ui.test.stagview.TestCommitMessageProviderExtensionFactory">
76       </commitMessageProvider>
77    </extension>
79 </fragment>