diff options
author | Marek Safar <marek.safar@gmail.com> | 2019-01-24 19:58:55 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-01-24 19:58:55 +0300 |
commit | f21ff68f3c1447bf058e98d07a596a16e89c44aa (patch) | |
tree | a93a524a61991c3133a65db2516a79ea2f2d844b | |
parent | 88f2fcca9ea17e9cca25221acb36ee9b360b92bc (diff) |
Add two sets of tests
25 files changed, 682 insertions, 3 deletions
@@ -3,6 +3,8 @@ ## ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore +.DS_Store + # User-specific files *.suo *.user @@ -15,14 +17,16 @@ # Build results [Dd]ebug/ [Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ +#[Rr]elease/ +#[Rr]eleases/ x64/ x86/ bld/ -[Bb]in/ +#[Bb]in/ [Oo]bj/ [Ll]og/ +**/[Bb]in/**/[Rr]elease/*.app +**/[Bb]in/**/[Rr]elease/*.xml # Visual Studio 2015/2017 cache/options directory .vs/ diff --git a/monotouch/Assets.sln b/monotouch/Assets.sln new file mode 100644 index 0000000..68e0355 --- /dev/null +++ b/monotouch/Assets.sln @@ -0,0 +1,23 @@ +
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Newtonsoft.Json.Test", "Newtonsoft.Json.Test\Newtonsoft.Json.Test.csproj", "{60AB6877-D50D-4633-8453-564182E479D2}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|iPhoneSimulator = Debug|iPhoneSimulator
+ Release|iPhone = Release|iPhone
+ Release|iPhoneSimulator = Release|iPhoneSimulator
+ Debug|iPhone = Debug|iPhone
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {60AB6877-D50D-4633-8453-564182E479D2}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+ {60AB6877-D50D-4633-8453-564182E479D2}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+ {60AB6877-D50D-4633-8453-564182E479D2}.Release|iPhone.ActiveCfg = Release|iPhone
+ {60AB6877-D50D-4633-8453-564182E479D2}.Release|iPhone.Build.0 = Release|iPhone
+ {60AB6877-D50D-4633-8453-564182E479D2}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
+ {60AB6877-D50D-4633-8453-564182E479D2}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
+ {60AB6877-D50D-4633-8453-564182E479D2}.Debug|iPhone.ActiveCfg = Debug|iPhone
+ {60AB6877-D50D-4633-8453-564182E479D2}.Debug|iPhone.Build.0 = Debug|iPhone
+ EndGlobalSection
+EndGlobal
diff --git a/monotouch/Newtonsoft.Json.Test/AppDelegate.cs b/monotouch/Newtonsoft.Json.Test/AppDelegate.cs new file mode 100644 index 0000000..076b3cc --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/AppDelegate.cs @@ -0,0 +1,56 @@ +using Foundation; +using UIKit; + +namespace Newtonsoft.Json.Test { + // The UIApplicationDelegate for the application. This class is responsible for launching the + // User Interface of the application, as well as listening (and optionally responding) to application events from iOS. + [Register ("AppDelegate")] + public class AppDelegate : UIApplicationDelegate { + // class-level declarations + + public override UIWindow Window { + get; + set; + } + + public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) + { + // Override point for customization after application launch. + // If not required for your application you can safely delete this method + + return true; + } + + public override void OnResignActivation (UIApplication application) + { + // Invoked when the application is about to move from active to inactive state. + // This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) + // or when the user quits the application and it begins the transition to the background state. + // Games should use this method to pause the game. + } + + public override void DidEnterBackground (UIApplication application) + { + // Use this method to release shared resources, save user data, invalidate timers and store the application state. + // If your application supports background exection this method is called instead of WillTerminate when the user quits. + } + + public override void WillEnterForeground (UIApplication application) + { + // Called as part of the transiton from background to active state. + // Here you can undo many of the changes made on entering the background. + } + + public override void OnActivated (UIApplication application) + { + // Restart any tasks that were paused (or not yet started) while the application was inactive. + // If the application was previously in the background, optionally refresh the user interface. + } + + public override void WillTerminate (UIApplication application) + { + // Called when the application is about to terminate. Save data, if needed. See also DidEnterBackground. + } + } +} + diff --git a/monotouch/Newtonsoft.Json.Test/Assets.xcassets/AppIcon.appiconset/Contents.json b/monotouch/Newtonsoft.Json.Test/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..64d0e3d --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,202 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" + }, + { + "size" : "24x24", + "idiom" : "watch", + "scale" : "2x", + "role" : "notificationCenter", + "subtype" : "38mm" + }, + { + "size" : "27.5x27.5", + "idiom" : "watch", + "scale" : "2x", + "role" : "notificationCenter", + "subtype" : "42mm" + }, + { + "size" : "29x29", + "idiom" : "watch", + "role" : "companionSettings", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "watch", + "role" : "companionSettings", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "watch", + "scale" : "2x", + "role" : "appLauncher", + "subtype" : "38mm" + }, + { + "size" : "44x44", + "idiom" : "watch", + "scale" : "2x", + "role" : "longLook", + "subtype" : "42mm" + }, + { + "size" : "86x86", + "idiom" : "watch", + "scale" : "2x", + "role" : "quickLook", + "subtype" : "38mm" + }, + { + "size" : "98x98", + "idiom" : "watch", + "scale" : "2x", + "role" : "quickLook", + "subtype" : "42mm" + }, + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/monotouch/Newtonsoft.Json.Test/Assets.xcassets/Contents.json b/monotouch/Newtonsoft.Json.Test/Assets.xcassets/Contents.json new file mode 100644 index 0000000..4caf392 --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +}
\ No newline at end of file diff --git a/monotouch/Newtonsoft.Json.Test/EmptyClass.cs b/monotouch/Newtonsoft.Json.Test/EmptyClass.cs new file mode 100644 index 0000000..114363c --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/EmptyClass.cs @@ -0,0 +1,9 @@ +namespace Newtonsoft.Json.Test +{ + public class EmptyClass + { + public EmptyClass () + { + } + } +} diff --git a/monotouch/Newtonsoft.Json.Test/Entitlements.plist b/monotouch/Newtonsoft.Json.Test/Entitlements.plist new file mode 100644 index 0000000..9ae5993 --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/Entitlements.plist @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> +</dict> +</plist> diff --git a/monotouch/Newtonsoft.Json.Test/Info.plist b/monotouch/Newtonsoft.Json.Test/Info.plist new file mode 100644 index 0000000..9750a73 --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/Info.plist @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleName</key> + <string>Newtonsoft.Json.Test</string> + <key>CFBundleIdentifier</key> + <string>com.companyname.Newtonsoft-Json-Test</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>LSRequiresIPhoneOS</key> + <true/> + <key>MinimumOSVersion</key> + <string>12.1</string> + <key>UIDeviceFamily</key> + <array> + <integer>1</integer> + <integer>2</integer> + </array> + <key>UILaunchStoryboardName</key> + <string>LaunchScreen</string> + <key>UIMainStoryboardFile</key> + <string>Main</string> + <key>UIRequiredDeviceCapabilities</key> + <array> + <string>armv7</string> + </array> + <key>UISupportedInterfaceOrientations</key> + <array> + <string>UIInterfaceOrientationPortrait</string> + <string>UIInterfaceOrientationPortraitUpsideDown</string> + <string>UIInterfaceOrientationLandscapeLeft</string> + <string>UIInterfaceOrientationLandscapeRight</string> + </array> + <key>XSAppIconAssets</key> + <string>Assets.xcassets/AppIcon.appiconset</string> +</dict> +</plist> diff --git a/monotouch/Newtonsoft.Json.Test/LaunchScreen.storyboard b/monotouch/Newtonsoft.Json.Test/LaunchScreen.storyboard new file mode 100644 index 0000000..7981a14 --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/LaunchScreen.storyboard @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM"> + <dependencies> + <deployment identifier="iOS" /> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530" /> + </dependencies> + <scenes> + <!--View Controller--> + <scene sceneID="EHf-IW-A2E"> + <objects> + <viewController id="01J-lp-oVM" sceneMemberID="viewController"> + <layoutGuides> + <viewControllerLayoutGuide type="top" id="Llm-lL-Icb" /> + <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok" /> + </layoutGuides> + <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"> + <rect key="frame" x="0.0" y="0.0" width="600" height="600" /> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" /> + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite" /> + </view> + </viewController> + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder" /> + </objects> + <point key="canvasLocation" x="53" y="375" /> + </scene> + </scenes> +</document> diff --git a/monotouch/Newtonsoft.Json.Test/Main.cs b/monotouch/Newtonsoft.Json.Test/Main.cs new file mode 100644 index 0000000..8ca004f --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/Main.cs @@ -0,0 +1,16 @@ +using UIKit; + +namespace Newtonsoft.Json.Test { + public class Application { + // This is the main entry point of the application. + static void Main (string [] args) + { + new EmptyClass (); + JsonConvert.DeserializeObject<EmptyClass> ("{}"); + + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main (args, null, "AppDelegate"); + } + } +} diff --git a/monotouch/Newtonsoft.Json.Test/Main.storyboard b/monotouch/Newtonsoft.Json.Test/Main.storyboard new file mode 100644 index 0000000..34c4bcf --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/Main.storyboard @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> + <dependencies> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106" /> + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0" /> + </dependencies> + <scenes> + <!--View Controller--> + <scene sceneID="tne-QT-ifu"> + <objects> + <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController"> + <layoutGuides> + <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ" /> + <viewControllerLayoutGuide type="bottom" id="wfy-db-euE" /> + </layoutGuides> + <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> + <rect key="frame" x="0.0" y="0.0" width="375" height="667" /> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" /> + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB" /> + </view> + </viewController> + <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder" /> + </objects> + </scene> + </scenes> +</document> diff --git a/monotouch/Newtonsoft.Json.Test/Newtonsoft.Json.Test.csproj b/monotouch/Newtonsoft.Json.Test/Newtonsoft.Json.Test.csproj new file mode 100644 index 0000000..2142dc5 --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/Newtonsoft.Json.Test.csproj @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
+ <ProjectGuid>{60AB6877-D50D-4633-8453-564182E479D2}</ProjectGuid>
+ <ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <OutputType>Exe</OutputType>
+ <RootNamespace>Newtonsoft.Json.Test</RootNamespace>
+ <AssemblyName>Newtonsoft.Json.Test</AssemblyName>
+ <IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
+ <DefineConstants>DEBUG;ENABLE_TEST_CLOUD;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <CodesignKey>iPhone Developer</CodesignKey>
+ <MtouchDebug>true</MtouchDebug>
+ <MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
+ <MtouchFastDev>true</MtouchFastDev>
+ <MtouchProfiling>true</MtouchProfiling>
+ <IOSDebuggerPort>25637</IOSDebuggerPort>
+ <MtouchLink>None</MtouchLink>
+ <MtouchArch>x86_64</MtouchArch>
+ <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\iPhone\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <CodesignKey>iPhone Developer</CodesignKey>
+ <MtouchUseLlvm>true</MtouchUseLlvm>
+ <MtouchFloat32>true</MtouchFloat32>
+ <CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
+ <MtouchLink>SdkOnly</MtouchLink>
+ <MtouchArch>ARM64</MtouchArch>
+ <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\iPhoneSimulator\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <CodesignKey>iPhone Developer</CodesignKey>
+ <MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
+ <MtouchLink>None</MtouchLink>
+ <MtouchArch>x86_64</MtouchArch>
+ <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\iPhone\Debug</OutputPath>
+ <DefineConstants>DEBUG;ENABLE_TEST_CLOUD;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <CodesignKey>iPhone Developer</CodesignKey>
+ <DeviceSpecificBuild>true</DeviceSpecificBuild>
+ <MtouchDebug>true</MtouchDebug>
+ <MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
+ <MtouchFastDev>true</MtouchFastDev>
+ <MtouchProfiling>true</MtouchProfiling>
+ <MtouchFloat32>true</MtouchFloat32>
+ <CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
+ <IOSDebuggerPort>12911</IOSDebuggerPort>
+ <MtouchLink>SdkOnly</MtouchLink>
+ <MtouchArch>ARM64</MtouchArch>
+ <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Core" />
+ <Reference Include="Xamarin.iOS">
+ <Private>True</Private>
+ </Reference>
+ <Reference Include="Newtonsoft.Json">
+ <HintPath>packages\Newtonsoft.Json.12.0.1\lib\netstandard2.0\Newtonsoft.Json.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json" />
+ <ImageAsset Include="Assets.xcassets\Contents.json" />
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Resources\" />
+ </ItemGroup>
+ <ItemGroup>
+ <InterfaceDefinition Include="LaunchScreen.storyboard" />
+ <InterfaceDefinition Include="Main.storyboard" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Info.plist" />
+ <None Include="Entitlements.plist" />
+ <None Include="packages.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Main.cs" />
+ <Compile Include="AppDelegate.cs" />
+ <Compile Include="ViewController.cs" />
+ <Compile Include="ViewController.designer.cs">
+ <DependentUpon>ViewController.cs</DependentUpon>
+ </Compile>
+ <Compile Include="EmptyClass.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
+</Project>
\ No newline at end of file diff --git a/monotouch/Newtonsoft.Json.Test/ViewController.cs b/monotouch/Newtonsoft.Json.Test/ViewController.cs new file mode 100644 index 0000000..7e4b7e2 --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/ViewController.cs @@ -0,0 +1,24 @@ +using System; + +using UIKit; + +namespace Newtonsoft.Json.Test { + public partial class ViewController : UIViewController { + protected ViewController (IntPtr handle) : base (handle) + { + // Note: this .ctor should not contain any initialization logic. + } + + public override void ViewDidLoad () + { + base.ViewDidLoad (); + // Perform any additional setup after loading the view, typically from a nib. + } + + public override void DidReceiveMemoryWarning () + { + base.DidReceiveMemoryWarning (); + // Release any cached data, images, etc that aren't in use. + } + } +} diff --git a/monotouch/Newtonsoft.Json.Test/ViewController.designer.cs b/monotouch/Newtonsoft.Json.Test/ViewController.designer.cs new file mode 100644 index 0000000..1b83ec3 --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/ViewController.designer.cs @@ -0,0 +1,15 @@ +// +// This file has been generated automatically by MonoDevelop to store outlets and +// actions made in the Xcode designer. If it is removed, they will be lost. +// Manual changes to this file may not be handled correctly. +// +using Foundation; + +namespace Newtonsoft.Json.Test { + [Register ("ViewController")] + partial class ViewController { + void ReleaseDesignerOutlets () + { + } + } +} diff --git a/monotouch/Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Newtonsoft.Json.Test.exe b/monotouch/Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Newtonsoft.Json.Test.exe Binary files differnew file mode 100644 index 0000000..1c23fa3 --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Newtonsoft.Json.Test.exe diff --git a/monotouch/Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Newtonsoft.Json.dll b/monotouch/Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Newtonsoft.Json.dll Binary files differnew file mode 100755 index 0000000..5d693ba --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Newtonsoft.Json.dll diff --git a/monotouch/Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Xamarin.iOS.dll b/monotouch/Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Xamarin.iOS.dll Binary files differnew file mode 100755 index 0000000..35a2a5a --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/bin/iPhoneSimulator/Release/Xamarin.iOS.dll diff --git a/monotouch/Newtonsoft.Json.Test/packages.config b/monotouch/Newtonsoft.Json.Test/packages.config new file mode 100644 index 0000000..dabb475 --- /dev/null +++ b/monotouch/Newtonsoft.Json.Test/packages.config @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="Newtonsoft.Json" version="12.0.1" targetFramework="xamarinios10" /> +</packages>
\ No newline at end of file diff --git a/net_4_x/Assets.sln b/net_4_x/Assets.sln new file mode 100644 index 0000000..fc3ad3b --- /dev/null +++ b/net_4_x/Assets.sln @@ -0,0 +1,17 @@ +
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Newtonsoft.Json.Test", "Newtonsoft.Json.Test\Newtonsoft.Json.Test.csproj", "{D010E94A-7678-461E-990C-F1758C795225}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|x86 = Debug|x86
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D010E94A-7678-461E-990C-F1758C795225}.Debug|x86.ActiveCfg = Debug|x86
+ {D010E94A-7678-461E-990C-F1758C795225}.Debug|x86.Build.0 = Debug|x86
+ {D010E94A-7678-461E-990C-F1758C795225}.Release|x86.ActiveCfg = Release|x86
+ {D010E94A-7678-461E-990C-F1758C795225}.Release|x86.Build.0 = Release|x86
+ EndGlobalSection
+EndGlobal
diff --git a/net_4_x/Newtonsoft.Json.Test/Newtonsoft.Json.Test.csproj b/net_4_x/Newtonsoft.Json.Test/Newtonsoft.Json.Test.csproj new file mode 100644 index 0000000..9a99e83 --- /dev/null +++ b/net_4_x/Newtonsoft.Json.Test/Newtonsoft.Json.Test.csproj @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+ <ProjectGuid>{D010E94A-7678-461E-990C-F1758C795225}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <RootNamespace>Newtonsoft.Json.Test</RootNamespace>
+ <AssemblyName>Newtonsoft.Json.Test</AssemblyName>
+ <TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ExternalConsole>true</ExternalConsole>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ExternalConsole>true</ExternalConsole>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="Newtonsoft.Json">
+ <HintPath>packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Program.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+</Project>
\ No newline at end of file diff --git a/net_4_x/Newtonsoft.Json.Test/Program.cs b/net_4_x/Newtonsoft.Json.Test/Program.cs new file mode 100644 index 0000000..a3a5d81 --- /dev/null +++ b/net_4_x/Newtonsoft.Json.Test/Program.cs @@ -0,0 +1,10 @@ +using Newtonsoft.Json; + +class MainClass +{ + public static void Main (string [] args) + { + new MainClass (); + JsonConvert.DeserializeObject<MainClass> ("{}"); + } +} diff --git a/net_4_x/Newtonsoft.Json.Test/Properties/AssemblyInfo.cs b/net_4_x/Newtonsoft.Json.Test/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..970c29b --- /dev/null +++ b/net_4_x/Newtonsoft.Json.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. + +[assembly: AssemblyTitle ("Newtonsoft.Json.Test")] +[assembly: AssemblyDescription ("")] +[assembly: AssemblyConfiguration ("")] +[assembly: AssemblyCompany ("")] +[assembly: AssemblyProduct ("")] +[assembly: AssemblyCopyright ("${AuthorCopyright}")] +[assembly: AssemblyTrademark ("")] +[assembly: AssemblyCulture ("")] + +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion ("1.0.*")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] diff --git a/net_4_x/Newtonsoft.Json.Test/bin/Release/Newtonsoft.Json.Test.exe b/net_4_x/Newtonsoft.Json.Test/bin/Release/Newtonsoft.Json.Test.exe Binary files differnew file mode 100644 index 0000000..cfd78c3 --- /dev/null +++ b/net_4_x/Newtonsoft.Json.Test/bin/Release/Newtonsoft.Json.Test.exe diff --git a/net_4_x/Newtonsoft.Json.Test/bin/Release/Newtonsoft.Json.dll b/net_4_x/Newtonsoft.Json.Test/bin/Release/Newtonsoft.Json.dll Binary files differnew file mode 100755 index 0000000..d0aaed9 --- /dev/null +++ b/net_4_x/Newtonsoft.Json.Test/bin/Release/Newtonsoft.Json.dll diff --git a/net_4_x/Newtonsoft.Json.Test/packages.config b/net_4_x/Newtonsoft.Json.Test/packages.config new file mode 100644 index 0000000..8ebaf08 --- /dev/null +++ b/net_4_x/Newtonsoft.Json.Test/packages.config @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net47" /> +</packages>
\ No newline at end of file |