Permalink
Browse files

No commit message

  • Loading branch information...
digitallyborn
digitallyborn committed May 26, 2010
1 parent c5eca99 commit a2bb4599bb478e31a5211a8862d29b0a4fd8044b
Showing with 36,922 additions and 667 deletions.
  1. +7 −0 Release/Json.NET.license.txt
  2. BIN Release/Newtonsoft.Json.dll
  3. BIN Release/Twitterizer.Data.dll
  4. BIN Release/Twitterizer.Data.pdb
  5. +4,897 −0 Release/Twitterizer2.XML
  6. BIN Release/Twitterizer2.dll
  7. +19 −0 Release/Twitterizer2.license.txt
  8. BIN Release/Twitterizer2.pdb
  9. +53 −0 TestResult.xml
  10. +32 −0 Twitterizer2.TestCases/Configuration.cs
  11. +36 −0 Twitterizer2.TestCases/Properties/AssemblyInfo.cs
  12. +769 −0 Twitterizer2.TestCases/Settings.StyleCop
  13. +69 −0 Twitterizer2.TestCases/StyleCop.Cache
  14. +9 −0 Twitterizer2.TestCases/TestSettings.config
  15. +25 −0 Twitterizer2.TestCases/TwitterGeoTests.cs
  16. +26 −0 Twitterizer2.TestCases/TwitterStatusTests.cs
  17. +80 −0 Twitterizer2.TestCases/TwitterTimelineTests.cs
  18. +16 −0 Twitterizer2.TestCases/TwitterTrendTests.cs
  19. +32 −0 Twitterizer2.TestCases/TwitterUserTests.cs
  20. +78 −0 Twitterizer2.TestCases/Twitterizer2.TestCases.csproj
  21. +10 −0 Twitterizer2.TestCases/Twitterizer2.TestCases.csproj.user
  22. BIN Twitterizer2.TestCases/bin/Debug/Newtonsoft.Json.dll
  23. +9 −0 Twitterizer2.TestCases/bin/Debug/TestSettings.config
  24. BIN Twitterizer2.TestCases/bin/Debug/Twitterizer2.TestCases.dll
  25. BIN Twitterizer2.TestCases/bin/Debug/Twitterizer2.TestCases.pdb
  26. BIN Twitterizer2.TestCases/bin/Debug/Twitterizer2.dll
  27. BIN Twitterizer2.TestCases/bin/Debug/Twitterizer2.pdb
  28. +4,893 −0 Twitterizer2.TestCases/bin/Debug/Twitterizer2.xml
  29. BIN Twitterizer2.TestCases/bin/Debug/nunit.framework.dll
  30. +10,088 −0 Twitterizer2.TestCases/bin/Debug/nunit.framework.xml
  31. BIN Twitterizer2.TestCases/bin/Release/Newtonsoft.Json.dll
  32. BIN Twitterizer2.TestCases/bin/Release/Twitterizer2.TestCases.dll
  33. BIN Twitterizer2.TestCases/bin/Release/Twitterizer2.TestCases.pdb
  34. BIN Twitterizer2.TestCases/bin/Release/Twitterizer2.dll
  35. BIN Twitterizer2.TestCases/bin/Release/Twitterizer2.pdb
  36. +4,767 −0 Twitterizer2.TestCases/bin/Release/Twitterizer2.xml
  37. BIN Twitterizer2.TestCases/bin/Release/nunit.framework.dll
  38. +10,088 −0 Twitterizer2.TestCases/bin/Release/nunit.framework.xml
  39. BIN Twitterizer2.TestCases/obj/Debug/ResolveAssemblyReference.cache
  40. +12 −0 Twitterizer2.TestCases/obj/Debug/Twitterizer2.TestCases.csproj.FileListAbsolute.txt
  41. BIN Twitterizer2.TestCases/obj/Debug/Twitterizer2.TestCases.dll
  42. BIN Twitterizer2.TestCases/obj/Debug/Twitterizer2.TestCases.pdb
  43. BIN Twitterizer2.TestCases/obj/Release/ResolveAssemblyReference.cache
  44. +11 −0 Twitterizer2.TestCases/obj/Release/Twitterizer2.TestCases.csproj.FileListAbsolute.txt
  45. BIN Twitterizer2.TestCases/obj/Release/Twitterizer2.TestCases.dll
  46. BIN Twitterizer2.TestCases/obj/Release/Twitterizer2.TestCases.pdb
  47. +17 −0 Twitterizer2.VisualState.xml
  48. +7 −0 Twitterizer2.nunit
  49. +14 −0 Twitterizer2.sln
  50. +1 −104 Twitterizer2/Core/OptionalProperties.xml
  51. +102 −0 Twitterizer2/Methods/Geo/Coordinate.cs
  52. +19 −39 Twitterizer2/Methods/Geo/ReverseGeocodeCommand.cs
  53. +4 −1 Twitterizer2/Methods/Geo/TwitterBoundingBox.cs
  54. +36 −47 Twitterizer2/Methods/{Trends/TwitterTrendTimeframe.cs → Geo/TwitterGeo.cs}
  55. +13 −1 Twitterizer2/Methods/Geo/TwitterPlace.cs
  56. +44 −0 Twitterizer2/Methods/Geo/TwitterPlaceCollection.cs
  57. +28 −0 Twitterizer2/Methods/Geo/TwitterPlaceLookupOptions.cs
  58. +0 −1 Twitterizer2/Methods/List/GetListSubscriptionsCommand.cs
  59. +1 −2 Twitterizer2/Methods/Trends/CurrentTrendsCommand.cs
  60. +5 −5 Twitterizer2/Methods/Trends/TwitterTrend.cs
  61. +120 −0 Twitterizer2/Methods/Trends/TwitterTrendCollection.cs
  62. +7 −0 Twitterizer2/Methods/Tweets/TwitterStatus.cs
  63. +1 −302 Twitterizer2/Methods/User/TwitterUser.xml
  64. +15 −0 Twitterizer2/Settings.StyleCop
  65. +4 −1 Twitterizer2/Twitterizer2.csproj
  66. +458 −164 twitterizer.FxCop
@@ -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.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
Binary file not shown.
@@ -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.
View
Binary file not shown.
View
@@ -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>
@@ -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;
+ }
+ }
+}
@@ -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.

0 comments on commit a2bb459

Please sign in to comment.