Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
digitallyborn
committed
May 26, 2010
1 parent
c5eca99
commit a2bb459
Showing
66 changed files
with
36,922 additions
and
667 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright (c) 2007 James Newton-King | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Copyright (c) 2010, Patrick "Ricky" Smith | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
|
||
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in | ||
the documentation and/or other materials provided with the distribution. | ||
|
||
- Neither the name Twitterizer nor the names of its contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR | ||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="no"?> | ||
<!--This file represents the results of running a test suite--> | ||
<test-results name="C:\Projects\twitterizer\Twitterizer2.nunit" total="11" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2010-05-26" time="17:47:15"> | ||
<environment nunit-version="2.5.2.9222" clr-version="2.0.50727.4927" os-version="Microsoft Windows NT 6.1.7600.0" platform="Win32NT" cwd="C:\Projects\twitterizer\Twitterizer2.TestCases\bin\Debug" machine-name="SMITHRICKY" user="patricks" user-domain="INFINITY" /> | ||
<culture-info current-culture="en-US" current-uiculture="en-US" /> | ||
<test-suite name="C:\Projects\twitterizer\Twitterizer2.nunit" executed="True" success="True" time="5.464" asserts="0"> | ||
<results> | ||
<test-suite name="C:\Projects\twitterizer\Twitterizer2.TestCases\bin\Debug\Twitterizer2.TestCases.dll" executed="True" success="True" time="5.460" asserts="0"> | ||
<results> | ||
<test-suite name="Twitterizer2" executed="True" success="True" time="5.458" asserts="0"> | ||
<results> | ||
<test-suite name="TestCases" executed="True" success="True" time="5.456" asserts="0"> | ||
<results> | ||
<test-suite name="TwitterGeoTests" executed="True" success="True" time="1.171" asserts="0"> | ||
<results> | ||
<test-case name="Twitterizer2.TestCases.TwitterGeoTests.LookupPlaces" executed="True" success="True" time="1.166" asserts="3" /> | ||
</results> | ||
</test-suite> | ||
<test-suite name="TwitterStatusTests" executed="True" success="True" time="0.743" asserts="0"> | ||
<results> | ||
<test-case name="Twitterizer2.TestCases.TwitterStatusTests.Show" executed="True" success="True" time="0.743" asserts="3" /> | ||
</results> | ||
</test-suite> | ||
<test-suite name="TwitterTimelineTests" executed="True" success="True" time="2.644" asserts="0"> | ||
<results> | ||
<test-case name="Twitterizer2.TestCases.TwitterTimelineTests.FriendTimeline" executed="True" success="True" time="0.364" asserts="3" /> | ||
<test-case name="Twitterizer2.TestCases.TwitterTimelineTests.Mentions" executed="True" success="True" time="0.289" asserts="3" /> | ||
<test-case name="Twitterizer2.TestCases.TwitterTimelineTests.PublicTimeline" executed="True" success="True" time="0.217" asserts="3" /> | ||
<test-case name="Twitterizer2.TestCases.TwitterTimelineTests.RetweetedByMe" executed="True" success="True" time="0.709" asserts="3" /> | ||
<test-case name="Twitterizer2.TestCases.TwitterTimelineTests.RetweetedToMe" executed="True" success="True" time="0.782" asserts="3" /> | ||
<test-case name="Twitterizer2.TestCases.TwitterTimelineTests.RetweetsOfMe" executed="True" success="True" time="0.270" asserts="3" /> | ||
</results> | ||
</test-suite> | ||
<test-suite name="TwitterTrendTests" executed="True" success="True" time="0.236" asserts="0"> | ||
<results> | ||
<test-case name="Twitterizer2.TestCases.TwitterTrendTests.CurrentTrends" executed="True" success="True" time="0.236" asserts="1" /> | ||
</results> | ||
</test-suite> | ||
<test-suite name="TwitterUserTests" executed="True" success="True" time="0.638" asserts="0"> | ||
<results> | ||
<test-case name="Twitterizer2.TestCases.TwitterUserTests.Search" executed="True" success="True" time="0.294" asserts="2" /> | ||
<test-case name="Twitterizer2.TestCases.TwitterUserTests.Show" executed="True" success="True" time="0.341" asserts="4" /> | ||
</results> | ||
</test-suite> | ||
</results> | ||
</test-suite> | ||
</results> | ||
</test-suite> | ||
</results> | ||
</test-suite> | ||
</results> | ||
</test-suite> | ||
</test-results> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
namespace Twitterizer2.TestCases | ||
{ | ||
using Twitterizer; | ||
using System.Configuration; | ||
using System; | ||
using System.IO; | ||
|
||
public static class Configuration | ||
{ | ||
/// <summary> | ||
/// Gets the tokens. | ||
/// </summary> | ||
/// <returns></returns> | ||
public static OAuthTokens GetTokens() | ||
{ | ||
ExeConfigurationFileMap fileMap = new ExeConfigurationFileMap() | ||
{ | ||
ExeConfigFilename = Path.Combine(Environment.CurrentDirectory, "TestSettings.config") | ||
}; | ||
|
||
System.Configuration.Configuration config = ConfigurationManager.OpenMappedExeConfiguration(fileMap, ConfigurationUserLevel.None); | ||
|
||
OAuthTokens tokens = new OAuthTokens(); | ||
tokens.AccessToken = config.AppSettings.Settings["AccessToken"].Value; | ||
tokens.AccessTokenSecret = config.AppSettings.Settings["AccessTokenSecret"].Value; | ||
tokens.ConsumerKey = config.AppSettings.Settings["ConsumerKey"].Value; | ||
tokens.ConsumerSecret = config.AppSettings.Settings["ConsumerSecret"].Value; | ||
|
||
return tokens; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("Twitterizer2.TestCases")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("Microsoft")] | ||
[assembly: AssemblyProduct("Twitterizer2.TestCases")] | ||
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("64d6e67a-a411-4dce-8163-55abba41bb42")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
Oops, something went wrong.