Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

Commit a7ab0c1

Browse files
author
Willy-Peter Schaub
committed
Create base repo with the Coded UI for Word Add-in, WCF Load Test, and TFS Word Add-in samples, based on **deprecated** projects.
1 parent 17c606e commit a7ab0c1

File tree

743 files changed

+146421
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

743 files changed

+146421
-36
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ By showing your willingness to contribute, you will assist us and the community
44
There are many ways to contribute: logging bugs, creating suggestions and submitting pull requests.
55

66
# Did you find a bug?
7-
- **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/ALM-Rangers/File-Owner-Extension/issues).
7+
- **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/ALM-Rangers/@projectname@/issues).
88

9-
- If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/ALM-Rangers/File-Owner-Extension/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
9+
- If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/ALM-Rangers/@projectname@/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
1010

1111

1212
# Did you write a patch that fixes a bug or adds a new feature?

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Thank you for your pull request!
2-
By completing this pull request, you agree to the [Contributing License Agreement](https://github.com/ALM-Rangers/@projectname@/blob/master/.github/CLA.md).
2+
By completing this pull request, you agree to the [Contributing License Agreement](https://github.com/ALM-Rangers/Sample-Code/blob/master/.github/CLA.md).
33

44
Fixes # .
55

@@ -8,4 +8,4 @@ Changes proposed in this pull request:
88
-
99
-
1010

11-
@ALM-Rangers/fileowner
11+
@ALM-Rangers/Sample-Code

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@projectname@
1+
Visual Studio ALM Rangers Samples
22

33
Copyright (c) Microsoft Corporation
44

README.md

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
1-
[![Build Status](https://travis-ci.org/ALM-Rangers/GitHub-Base-Repo.svg?branch=master)](https://travis-ci.org/ALM-Rangers/GitHub-Base-Repo)
2-
#THIS PROJECT IS UNDER CONSTRUCTION *** PLEASE CHECK BACK LATER!
31

4-
TODO: Replace @projectname@ with your GitHub project name ion all files
5-
TODO: Create a folder src to contain all sources
2+
#Visual Studio ALM Rangers Sample Code
63

74
#Introduction
8-
TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.
5+
Welcome to our collection of sample code.
96

10-
#Getting Started
11-
TODO: Guide users through getting your code up and running on their own system. In this section you can talk about:
12-
1. Installation process
13-
2. Software dependencies
14-
3. Latest releases
15-
4. API references
7+
It's an outlet for experiments. These samples are designed for reference only and are **not supported**, nor are any commitments made as to their longevity. Information and views expressed in these samples, may change without
8+
notice. You bear the risk of using it.
169

17-
#Build and Test
18-
TODO: Describe and show how to build your code and run the tests.
10+
#Samples
1911

20-
##Contributors
12+
##Coded UI Microsoft Word Add-In
13+
This sample delivers practical and scenario based sample code and guidance for the Visual Studio Coded UI Microsoft Word Add-in, which extends the Coded UI feature support to Microsoft Word documents.
2114

22-
We thank the following contributors for this extension: @.
15+
- Contributor: Bob Hardister
16+
- Tip copied from the **deprecated** [vsarcodeduiword](https://vsarcodeduiword.codeplex.com/) CodePlex project
17+
- [Start here](src/Coded-UI)
2318

24-
##Notices
25-
Notices for certain third party software included in this solution are provided here: [Third Party Notice](ThirdPartyNotices.txt).
19+
##TFS Word Add-In
20+
The Team Foundation Server Word Add-in sample imports work items from a Team Project and generates professional-looking documents. A typical scenario is requirements management in Word Doc format, allowing users to collaborate with the project team while using their favourite application.
21+
22+
- Contributor: Rob Jarratt
23+
- Tip copied from the **deprecated** [wcfloadtest](https://wcfloadtest.codeplex.com) CodePlex project
24+
- [Start here](src/TFS-Word-Add-In)
25+
26+
##WCF Load Test
27+
This sample tool takes a WCF trace file and a WCF client proxy, or a WCF interface contract, and generates a C# unit test that replays the same sequence of calls found in the trace file. The unit test can then be used to load-test the target
28+
29+
- Contributor: Rob Jarratt
30+
- Tip copied from the **deprecated** [vsarword4tfs](https://vsarword4tfs.codeplex.com) CodePlex project
31+
- [Start here](src/WCF-Load-Test)
2632

2733
#Contribute
2834
Contributions to this project are welcome. Here is how you can contribute:

ThirdPartyNotices.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Lines changed: 236 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,236 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RuleSet Name="CodedUIWordAddin" Description="This rule set contains all rules. Running this rule set may result in a large number of warnings being reported. Use this rule set to get a comprehensive picture of all issues in your code. This can help you decide which of the more focused rule sets are most appropriate to run for your projects." ToolsVersion="10.0">
3+
<IncludeAll Action="Warning" />
4+
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
5+
<Rule Id="CA1000" Action="Error" />
6+
<Rule Id="CA1001" Action="Error" />
7+
<Rule Id="CA1002" Action="Error" />
8+
<Rule Id="CA1003" Action="Error" />
9+
<Rule Id="CA1004" Action="Error" />
10+
<Rule Id="CA1005" Action="Error" />
11+
<Rule Id="CA1006" Action="Error" />
12+
<Rule Id="CA1007" Action="Error" />
13+
<Rule Id="CA1008" Action="Error" />
14+
<Rule Id="CA1009" Action="Error" />
15+
<Rule Id="CA1010" Action="Error" />
16+
<Rule Id="CA1011" Action="Error" />
17+
<Rule Id="CA1012" Action="Error" />
18+
<Rule Id="CA1013" Action="Error" />
19+
<Rule Id="CA1014" Action="Error" />
20+
<Rule Id="CA1016" Action="Error" />
21+
<Rule Id="CA1017" Action="Error" />
22+
<Rule Id="CA1018" Action="Error" />
23+
<Rule Id="CA1019" Action="Error" />
24+
<Rule Id="CA1020" Action="Error" />
25+
<Rule Id="CA1021" Action="Error" />
26+
<Rule Id="CA1023" Action="Error" />
27+
<Rule Id="CA1024" Action="Error" />
28+
<Rule Id="CA1025" Action="Error" />
29+
<Rule Id="CA1026" Action="Error" />
30+
<Rule Id="CA1027" Action="Error" />
31+
<Rule Id="CA1028" Action="Error" />
32+
<Rule Id="CA1030" Action="Error" />
33+
<Rule Id="CA1031" Action="Error" />
34+
<Rule Id="CA1032" Action="Error" />
35+
<Rule Id="CA1033" Action="Error" />
36+
<Rule Id="CA1034" Action="Error" />
37+
<Rule Id="CA1035" Action="Error" />
38+
<Rule Id="CA1036" Action="Error" />
39+
<Rule Id="CA1038" Action="Error" />
40+
<Rule Id="CA1039" Action="Error" />
41+
<Rule Id="CA1040" Action="Error" />
42+
<Rule Id="CA1041" Action="Error" />
43+
<Rule Id="CA1043" Action="Error" />
44+
<Rule Id="CA1044" Action="Error" />
45+
<Rule Id="CA1045" Action="Error" />
46+
<Rule Id="CA1046" Action="Error" />
47+
<Rule Id="CA1047" Action="Error" />
48+
<Rule Id="CA1048" Action="Error" />
49+
<Rule Id="CA1049" Action="Error" />
50+
<Rule Id="CA1050" Action="Error" />
51+
<Rule Id="CA1051" Action="Error" />
52+
<Rule Id="CA1052" Action="Error" />
53+
<Rule Id="CA1053" Action="Error" />
54+
<Rule Id="CA1054" Action="Error" />
55+
<Rule Id="CA1055" Action="Error" />
56+
<Rule Id="CA1056" Action="Error" />
57+
<Rule Id="CA1057" Action="Error" />
58+
<Rule Id="CA1058" Action="Error" />
59+
<Rule Id="CA1059" Action="Error" />
60+
<Rule Id="CA1060" Action="Error" />
61+
<Rule Id="CA1061" Action="Error" />
62+
<Rule Id="CA1062" Action="Error" />
63+
<Rule Id="CA1063" Action="Error" />
64+
<Rule Id="CA1064" Action="Error" />
65+
<Rule Id="CA1065" Action="Error" />
66+
<Rule Id="CA1300" Action="Error" />
67+
<Rule Id="CA1301" Action="Error" />
68+
<Rule Id="CA1302" Action="Error" />
69+
<Rule Id="CA1303" Action="Error" />
70+
<Rule Id="CA1304" Action="Error" />
71+
<Rule Id="CA1305" Action="Error" />
72+
<Rule Id="CA1306" Action="Error" />
73+
<Rule Id="CA1307" Action="Error" />
74+
<Rule Id="CA1308" Action="Error" />
75+
<Rule Id="CA1309" Action="Error" />
76+
<Rule Id="CA1400" Action="Error" />
77+
<Rule Id="CA1401" Action="Error" />
78+
<Rule Id="CA1402" Action="Error" />
79+
<Rule Id="CA1403" Action="Error" />
80+
<Rule Id="CA1404" Action="Error" />
81+
<Rule Id="CA1405" Action="Error" />
82+
<Rule Id="CA1406" Action="Error" />
83+
<Rule Id="CA1407" Action="Error" />
84+
<Rule Id="CA1408" Action="Error" />
85+
<Rule Id="CA1409" Action="Error" />
86+
<Rule Id="CA1410" Action="Error" />
87+
<Rule Id="CA1411" Action="Error" />
88+
<Rule Id="CA1412" Action="Error" />
89+
<Rule Id="CA1413" Action="Error" />
90+
<Rule Id="CA1414" Action="Error" />
91+
<Rule Id="CA1415" Action="Error" />
92+
<Rule Id="CA1500" Action="Error" />
93+
<Rule Id="CA1501" Action="Error" />
94+
<Rule Id="CA1502" Action="Error" />
95+
<Rule Id="CA1504" Action="Error" />
96+
<Rule Id="CA1505" Action="Error" />
97+
<Rule Id="CA1506" Action="Error" />
98+
<Rule Id="CA1600" Action="Error" />
99+
<Rule Id="CA1601" Action="Error" />
100+
<Rule Id="CA1700" Action="Error" />
101+
<Rule Id="CA1701" Action="Error" />
102+
<Rule Id="CA1702" Action="Error" />
103+
<Rule Id="CA1703" Action="Error" />
104+
<Rule Id="CA1704" Action="None" />
105+
<Rule Id="CA1707" Action="Error" />
106+
<Rule Id="CA1708" Action="Error" />
107+
<Rule Id="CA1709" Action="None" />
108+
<Rule Id="CA1710" Action="Error" />
109+
<Rule Id="CA1711" Action="Error" />
110+
<Rule Id="CA1712" Action="Error" />
111+
<Rule Id="CA1713" Action="Error" />
112+
<Rule Id="CA1714" Action="Error" />
113+
<Rule Id="CA1715" Action="Error" />
114+
<Rule Id="CA1716" Action="Error" />
115+
<Rule Id="CA1717" Action="Error" />
116+
<Rule Id="CA1719" Action="Error" />
117+
<Rule Id="CA1720" Action="Error" />
118+
<Rule Id="CA1721" Action="Error" />
119+
<Rule Id="CA1722" Action="Error" />
120+
<Rule Id="CA1724" Action="Error" />
121+
<Rule Id="CA1725" Action="Error" />
122+
<Rule Id="CA1726" Action="Error" />
123+
<Rule Id="CA1800" Action="Error" />
124+
<Rule Id="CA1801" Action="Error" />
125+
<Rule Id="CA1802" Action="Error" />
126+
<Rule Id="CA1804" Action="Error" />
127+
<Rule Id="CA1806" Action="Error" />
128+
<Rule Id="CA1809" Action="Error" />
129+
<Rule Id="CA1810" Action="Error" />
130+
<Rule Id="CA1811" Action="Error" />
131+
<Rule Id="CA1812" Action="Error" />
132+
<Rule Id="CA1813" Action="Error" />
133+
<Rule Id="CA1814" Action="Error" />
134+
<Rule Id="CA1815" Action="Error" />
135+
<Rule Id="CA1816" Action="Error" />
136+
<Rule Id="CA1819" Action="Error" />
137+
<Rule Id="CA1820" Action="Error" />
138+
<Rule Id="CA1821" Action="Error" />
139+
<Rule Id="CA1822" Action="Error" />
140+
<Rule Id="CA1823" Action="Error" />
141+
<Rule Id="CA1824" Action="Error" />
142+
<Rule Id="CA1900" Action="Error" />
143+
<Rule Id="CA1901" Action="Error" />
144+
<Rule Id="CA1903" Action="Error" />
145+
<Rule Id="CA2000" Action="Error" />
146+
<Rule Id="CA2001" Action="Error" />
147+
<Rule Id="CA2002" Action="Error" />
148+
<Rule Id="CA2003" Action="Error" />
149+
<Rule Id="CA2004" Action="Error" />
150+
<Rule Id="CA2006" Action="Error" />
151+
<Rule Id="CA2100" Action="Error" />
152+
<Rule Id="CA2101" Action="Error" />
153+
<Rule Id="CA2102" Action="Error" />
154+
<Rule Id="CA2103" Action="Error" />
155+
<Rule Id="CA2104" Action="Error" />
156+
<Rule Id="CA2105" Action="Error" />
157+
<Rule Id="CA2106" Action="Error" />
158+
<Rule Id="CA2107" Action="Error" />
159+
<Rule Id="CA2108" Action="Error" />
160+
<Rule Id="CA2109" Action="Error" />
161+
<Rule Id="CA2111" Action="Error" />
162+
<Rule Id="CA2112" Action="Error" />
163+
<Rule Id="CA2114" Action="Error" />
164+
<Rule Id="CA2115" Action="Error" />
165+
<Rule Id="CA2116" Action="Error" />
166+
<Rule Id="CA2117" Action="Error" />
167+
<Rule Id="CA2118" Action="Error" />
168+
<Rule Id="CA2119" Action="Error" />
169+
<Rule Id="CA2120" Action="Error" />
170+
<Rule Id="CA2121" Action="Error" />
171+
<Rule Id="CA2122" Action="Error" />
172+
<Rule Id="CA2123" Action="Error" />
173+
<Rule Id="CA2124" Action="Error" />
174+
<Rule Id="CA2126" Action="Error" />
175+
<Rule Id="CA2130" Action="Error" />
176+
<Rule Id="CA2131" Action="Error" />
177+
<Rule Id="CA2132" Action="Error" />
178+
<Rule Id="CA2133" Action="Error" />
179+
<Rule Id="CA2134" Action="Error" />
180+
<Rule Id="CA2135" Action="Error" />
181+
<Rule Id="CA2136" Action="Error" />
182+
<Rule Id="CA2137" Action="Error" />
183+
<Rule Id="CA2138" Action="Error" />
184+
<Rule Id="CA2139" Action="Error" />
185+
<Rule Id="CA2140" Action="Error" />
186+
<Rule Id="CA2141" Action="Error" />
187+
<Rule Id="CA2142" Action="Error" />
188+
<Rule Id="CA2143" Action="Error" />
189+
<Rule Id="CA2144" Action="Error" />
190+
<Rule Id="CA2145" Action="Error" />
191+
<Rule Id="CA2146" Action="Error" />
192+
<Rule Id="CA2147" Action="Error" />
193+
<Rule Id="CA2149" Action="Error" />
194+
<Rule Id="CA2200" Action="Error" />
195+
<Rule Id="CA2201" Action="Error" />
196+
<Rule Id="CA2202" Action="Error" />
197+
<Rule Id="CA2204" Action="Error" />
198+
<Rule Id="CA2205" Action="Error" />
199+
<Rule Id="CA2207" Action="Error" />
200+
<Rule Id="CA2208" Action="Error" />
201+
<Rule Id="CA2210" Action="Error" />
202+
<Rule Id="CA2211" Action="Error" />
203+
<Rule Id="CA2212" Action="Error" />
204+
<Rule Id="CA2213" Action="Error" />
205+
<Rule Id="CA2214" Action="Error" />
206+
<Rule Id="CA2215" Action="Error" />
207+
<Rule Id="CA2216" Action="Error" />
208+
<Rule Id="CA2217" Action="Error" />
209+
<Rule Id="CA2218" Action="Error" />
210+
<Rule Id="CA2219" Action="Error" />
211+
<Rule Id="CA2220" Action="Error" />
212+
<Rule Id="CA2221" Action="Error" />
213+
<Rule Id="CA2222" Action="Error" />
214+
<Rule Id="CA2223" Action="Error" />
215+
<Rule Id="CA2224" Action="Error" />
216+
<Rule Id="CA2225" Action="Error" />
217+
<Rule Id="CA2226" Action="Error" />
218+
<Rule Id="CA2227" Action="Error" />
219+
<Rule Id="CA2228" Action="Error" />
220+
<Rule Id="CA2229" Action="Error" />
221+
<Rule Id="CA2230" Action="Error" />
222+
<Rule Id="CA2231" Action="Error" />
223+
<Rule Id="CA2232" Action="Error" />
224+
<Rule Id="CA2233" Action="Error" />
225+
<Rule Id="CA2234" Action="Error" />
226+
<Rule Id="CA2235" Action="Error" />
227+
<Rule Id="CA2236" Action="Error" />
228+
<Rule Id="CA2237" Action="Error" />
229+
<Rule Id="CA2238" Action="Error" />
230+
<Rule Id="CA2239" Action="Error" />
231+
<Rule Id="CA2240" Action="Error" />
232+
<Rule Id="CA2241" Action="Error" />
233+
<Rule Id="CA2242" Action="Error" />
234+
<Rule Id="CA2243" Action="Error" />
235+
</Rules>
236+
</RuleSet>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
//-----------------------------------------------------------------------
2+
// <copyright file="CommonAssemblyInfo.cs" company="Microsoft">(c) Microsoft ALM Rangers This source is subject to the Microsoft Permissive License. See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. All other rights reserved.</copyright>
3+
//-----------------------------------------------------------------------
4+
using System.Reflection;
5+
using System.Resources;
6+
using System.Runtime.InteropServices;
7+
8+
[assembly: AssemblyVersion("1.0.0.0")]
9+
[assembly: AssemblyFileVersion("1.0.0.0")]
10+
[assembly: AssemblyInformationalVersion("1.0.0.0")]
11+
[assembly: AssemblyCompany("Microsoft")]
12+
[assembly: AssemblyCopyright("Copyright © Microsoft 2012")]
13+
[assembly: AssemblyTrademark("")]
14+
[assembly: NeutralResourcesLanguage("")]
15+
[assembly: AssemblyCulture("")]
16+
[assembly: AssemblyProduct("Coded UI Word Add-in")]
17+
18+
// Setting ComVisible to false makes the types in this assembly not visible
19+
// to COM components. If you need to access a type in this assembly from
20+
// COM, set the ComVisible attribute to true on that type.
21+
[assembly: ComVisible(false)]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
echo off
2+
3+
xcopy /y "%~dp0\WordExtension\bin\Debug\Microsoft.ALMRangers.UITest.Extension.Word.WordExtension.*" "%CommonProgramFiles(x86)%\Microsoft Shared\VSTT\10.0\UITestExtensionPackages\*.*"
4+
5+
xcopy /y "%~dp0\WordExtension\bin\Debug\Microsoft.ALMRangers.UITest.Extension.Word.WordCommunication.*" "%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\*.*"
6+
7+
pause
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
echo off
2+
3+
xcopy /y "%~dp0\WordExtension\bin\Debug\Microsoft.ALMRangers.UITest.Extension.Word.WordExtension.*" "%CommonProgramFiles%\Microsoft Shared\VSTT\10.0\UITestExtensionPackages\*.*"
4+
5+
xcopy /y "%~dp0\WordExtension\bin\Debug\Microsoft.ALMRangers.UITest.Extension.Word.WordCommunication.*" "%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\*.*"
6+
7+
pause

0 commit comments

Comments
 (0)