diff options
21 files changed, 425 insertions, 10 deletions
diff --git a/EventMaker/Design/AddEventFDUC.txt b/EventMaker/Design/AddEventFDUC.txt index 3fd4e82..370e19f 100644 --- a/EventMaker/Design/AddEventFDUC.txt +++ b/EventMaker/Design/AddEventFDUC.txt @@ -6,7 +6,9 @@ Stakeholders and Interests: Teachers, adding events functionality  Preconditions: App started successfuly  Success Guarantee: New event on the list  Main Success Scenario: User opens app, presses add button, fills all fields on the page for creating new event and saves the event. -Extensions: User opens app, presses add button but then he changes mind and presses the back button to return to the main page. +Extensions:  +A. User opens app, presses add button but then he changes mind and presses the back button to return to the main page. +B. The name of event can't be longer than 20 characters.  Special Requirements: UWP app, serialization to JSON  Technology and Data Variations List: None  Frequency of Occurence: Based on the will of the user diff --git a/EventMaker/Design/EditEventFDUC.txt b/EventMaker/Design/EditEventFDUC.txt index 7466fa1..19428eb 100644 --- a/EventMaker/Design/EditEventFDUC.txt +++ b/EventMaker/Design/EditEventFDUC.txt @@ -6,7 +6,9 @@ Stakeholders and Interests: Marcin Zelent, extra functionality  Preconditions: App started successfuly, there is at least one event on the list  Success Guarantee: Previously created event's information changed  Main Success Scenario: User opens app, presses edit button on the chosen event, changes information on the edit page and saves the event. -Extensions: User opens app, presses edit button on the chosen event but then he changes mind and presses the back button to return to the main page. +Extensions:  +A. User opens app, presses edit button on the chosen event but then he changes mind and presses the back button to return to the main page. +B. The name of event can't be longer than 20 characters.  Special Requirements: UWP app, serialization to JSON  Technology and Data Variations List: None  Frequency of Occurence: Based on the will of the user diff --git a/EventMaker/EventMaker.sln b/EventMaker/EventMaker.sln index a0cd6cf..a2cc874 100644 --- a/EventMaker/EventMaker.sln +++ b/EventMaker/EventMaker.sln @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventMaker", "EventMaker\Ev  EndProject  Project("{F088123C-0E9E-452A-89E6-6BA2F21D5CAC}") = "Design", "Design\Design.modelproj", "{06579846-FD65-4599-9302-B88698E6511E}"  EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}" +EndProject  Global  	GlobalSection(SolutionConfigurationPlatforms) = preSolution  		Debug|Any CPU = Debug|Any CPU @@ -55,6 +57,26 @@ Global  		{06579846-FD65-4599-9302-B88698E6511E}.Release|x64.Build.0 = Release|Any CPU  		{06579846-FD65-4599-9302-B88698E6511E}.Release|x86.ActiveCfg = Release|Any CPU  		{06579846-FD65-4599-9302-B88698E6511E}.Release|x86.Build.0 = Release|Any CPU +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|Any CPU.ActiveCfg = Debug|x86 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|ARM.ActiveCfg = Debug|ARM +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|ARM.Build.0 = Debug|ARM +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|ARM.Deploy.0 = Debug|ARM +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|x64.ActiveCfg = Debug|x64 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|x64.Build.0 = Debug|x64 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|x64.Deploy.0 = Debug|x64 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|x86.ActiveCfg = Debug|x86 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|x86.Build.0 = Debug|x86 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Debug|x86.Deploy.0 = Debug|x86 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|Any CPU.ActiveCfg = Release|x86 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|ARM.ActiveCfg = Release|ARM +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|ARM.Build.0 = Release|ARM +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|ARM.Deploy.0 = Release|ARM +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|x64.ActiveCfg = Release|x64 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|x64.Build.0 = Release|x64 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|x64.Deploy.0 = Release|x64 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|x86.ActiveCfg = Release|x86 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|x86.Build.0 = Release|x86 +		{7CA8C0B4-C88F-489B-BF77-E17B45B2C375}.Release|x86.Deploy.0 = Release|x86  	EndGlobalSection  	GlobalSection(SolutionProperties) = preSolution  		HideSolutionNode = FALSE diff --git a/EventMaker/EventMaker/View/CreateEventPage.xaml b/EventMaker/EventMaker/View/CreateEventPage.xaml index c5eb2ab..e736e9e 100644 --- a/EventMaker/EventMaker/View/CreateEventPage.xaml +++ b/EventMaker/EventMaker/View/CreateEventPage.xaml @@ -21,7 +21,10 @@                  VerticalAlignment="Center"                  FontSize="50"                  Text="Add Event" /> -            <TextBox PlaceholderText="Name" Text="{Binding EventTemplate.Name, Mode=TwoWay}" /> +            <TextBox +                MaxLength="20" +                PlaceholderText="Name" +                Text="{Binding EventTemplate.Name, Mode=TwoWay}" />              <TextBox                  MinHeight="64"                  MaxHeight="320" diff --git a/EventMaker/EventMaker/View/EditEventPage.xaml b/EventMaker/EventMaker/View/EditEventPage.xaml index 3ba2e14..3e5ced9 100644 --- a/EventMaker/EventMaker/View/EditEventPage.xaml +++ b/EventMaker/EventMaker/View/EditEventPage.xaml @@ -21,7 +21,10 @@                  VerticalAlignment="Center"                  FontSize="50"                  Text="Edit Event" /> -            <TextBox PlaceholderText="Name" Text="{Binding EventTemplate.Name, Mode=TwoWay}" /> +            <TextBox +                MaxLength="20" +                PlaceholderText="Name" +                Text="{Binding EventTemplate.Name, Mode=TwoWay}" />              <TextBox                  MinHeight="64"                  MaxHeight="320" diff --git a/EventMaker/EventMaker/View/EventItem.xaml b/EventMaker/EventMaker/View/EventItem.xaml index dded6c5..f2164ce 100644 --- a/EventMaker/EventMaker/View/EventItem.xaml +++ b/EventMaker/EventMaker/View/EventItem.xaml @@ -2,14 +2,12 @@      x:Class="EventMaker.View.EventItem"      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" -    xmlns:local="using:EventMaker.View"      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" +    xmlns:local="using:EventMaker.View"      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" -    mc:Ignorable="d"      d:DesignHeight="300" -    d:DesignWidth="400"> - -    <Grid> +    d:DesignWidth="400" +    mc:Ignorable="d"> -    </Grid> +    <Grid />  </UserControl> diff --git a/EventMaker/UnitTests/Assets/LockScreenLogo.scale-200.png b/EventMaker/UnitTests/Assets/LockScreenLogo.scale-200.png Binary files differnew file mode 100644 index 0000000..735f57a --- /dev/null +++ b/EventMaker/UnitTests/Assets/LockScreenLogo.scale-200.png diff --git a/EventMaker/UnitTests/Assets/SplashScreen.scale-200.png b/EventMaker/UnitTests/Assets/SplashScreen.scale-200.png Binary files differnew file mode 100644 index 0000000..023e7f1 --- /dev/null +++ b/EventMaker/UnitTests/Assets/SplashScreen.scale-200.png diff --git a/EventMaker/UnitTests/Assets/Square150x150Logo.scale-200.png b/EventMaker/UnitTests/Assets/Square150x150Logo.scale-200.png Binary files differnew file mode 100644 index 0000000..af49fec --- /dev/null +++ b/EventMaker/UnitTests/Assets/Square150x150Logo.scale-200.png diff --git a/EventMaker/UnitTests/Assets/Square44x44Logo.scale-200.png b/EventMaker/UnitTests/Assets/Square44x44Logo.scale-200.png Binary files differnew file mode 100644 index 0000000..ce342a2 --- /dev/null +++ b/EventMaker/UnitTests/Assets/Square44x44Logo.scale-200.png diff --git a/EventMaker/UnitTests/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/EventMaker/UnitTests/Assets/Square44x44Logo.targetsize-24_altform-unplated.png Binary files differnew file mode 100644 index 0000000..f6c02ce --- /dev/null +++ b/EventMaker/UnitTests/Assets/Square44x44Logo.targetsize-24_altform-unplated.png diff --git a/EventMaker/UnitTests/Assets/StoreLogo.png b/EventMaker/UnitTests/Assets/StoreLogo.png Binary files differnew file mode 100644 index 0000000..7385b56 --- /dev/null +++ b/EventMaker/UnitTests/Assets/StoreLogo.png diff --git a/EventMaker/UnitTests/Assets/Wide310x150Logo.scale-200.png b/EventMaker/UnitTests/Assets/Wide310x150Logo.scale-200.png Binary files differnew file mode 100644 index 0000000..288995b --- /dev/null +++ b/EventMaker/UnitTests/Assets/Wide310x150Logo.scale-200.png diff --git a/EventMaker/UnitTests/Package.appxmanifest b/EventMaker/UnitTests/Package.appxmanifest new file mode 100644 index 0000000..656f783 --- /dev/null +++ b/EventMaker/UnitTests/Package.appxmanifest @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<Package +  xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" +  xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" +  xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" +  IgnorableNamespaces="uap mp"> + +  <Identity Name="71078108-ee10-40c3-b8c8-0050f382529b" +            Publisher="CN=Marcin" +            Version="1.0.0.0" /> + +  <mp:PhoneIdentity PhoneProductId="71078108-ee10-40c3-b8c8-0050f382529b" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> + +  <Properties> +    <DisplayName>UnitTests</DisplayName> +    <PublisherDisplayName>Marcin</PublisherDisplayName> +    <Logo>Assets\StoreLogo.png</Logo> +  </Properties> +   +  <Dependencies> +    <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" /> +  </Dependencies> + +  <Resources> +    <Resource Language="x-generate" /> +  </Resources> +  <Applications> +    <Application Id="vstest.executionengine.universal.App"  +        Executable="$targetnametoken$.exe" +        EntryPoint="UnitTests.App"> +      <uap:VisualElements +        DisplayName="UnitTests" +        Square150x150Logo="Assets\Square150x150Logo.png" +        Square44x44Logo="Assets\Square44x44Logo.png" +        Description="UnitTests" +        BackgroundColor="transparent"> +        <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/> +        <uap:SplashScreen Image="Assets\SplashScreen.png" /> +      </uap:VisualElements> +    </Application> +  </Applications> +  <Capabilities> +    <Capability Name="internetClient" /> +  </Capabilities>  +</Package>
\ No newline at end of file diff --git a/EventMaker/UnitTests/Properties/AssemblyInfo.cs b/EventMaker/UnitTests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f035505 --- /dev/null +++ b/EventMaker/UnitTests/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +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("UnitTests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("UnitTests")] +[assembly: AssemblyCopyright("Copyright ©  2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: AssemblyMetadata("TargetPlatform","UAP")] + +// 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")] +[assembly: ComVisible(false)]
\ No newline at end of file diff --git a/EventMaker/UnitTests/Properties/UnitTestApp.rd.xml b/EventMaker/UnitTests/Properties/UnitTestApp.rd.xml new file mode 100644 index 0000000..efee59d --- /dev/null +++ b/EventMaker/UnitTests/Properties/UnitTestApp.rd.xml @@ -0,0 +1,29 @@ +<!-- +    This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most +    developers. However, you can modify these parameters to modify the behavior of the .NET Native +    optimizer. + +    Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919 + +    To fully enable reflection for App1.MyClass and all of its public/private members +    <Type Name="App1.MyClass" Dynamic="Required All"/> + +    To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32 +    <TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" /> + +    Using the Namespace directive to apply reflection policy to all the types in a particular namespace +    <Namespace Name="DataClasses.ViewModels" Seralize="All" /> +--> + +<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> +  <Application> +    <!-- +      An Assembly element with Name="*Application*" applies to all assemblies in +      the application package. The asterisks are not wildcards. +    --> +    <Assembly Name="*Application*" Dynamic="Required All" /> +    <!-- Add your application specific runtime directives here. --> + + +  </Application> +</Directives>
\ No newline at end of file diff --git a/EventMaker/UnitTests/UnitTest.cs b/EventMaker/UnitTests/UnitTest.cs new file mode 100644 index 0000000..a8be37c --- /dev/null +++ b/EventMaker/UnitTests/UnitTest.cs @@ -0,0 +1,14 @@ +using System; +using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; + +namespace UnitTests +{ +    [TestClass] +    public class UnitTest1 +    { +        [TestMethod] +        public void TestMethod1() +        { +        } +    } +} diff --git a/EventMaker/UnitTests/UnitTestApp.xaml b/EventMaker/UnitTests/UnitTestApp.xaml new file mode 100644 index 0000000..4e8221b --- /dev/null +++ b/EventMaker/UnitTests/UnitTestApp.xaml @@ -0,0 +1,8 @@ +<Application +    x:Class="UnitTests.App" +    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" +    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" +    xmlns:local="using:UnitTests" +    RequestedTheme="Light"> + +</Application> diff --git a/EventMaker/UnitTests/UnitTestApp.xaml.cs b/EventMaker/UnitTests/UnitTestApp.xaml.cs new file mode 100644 index 0000000..a119d71 --- /dev/null +++ b/EventMaker/UnitTests/UnitTestApp.xaml.cs @@ -0,0 +1,102 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.ApplicationModel; +using Windows.ApplicationModel.Activation; +using Windows.Foundation; +using Windows.Foundation.Collections; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Controls.Primitives; +using Windows.UI.Xaml.Data; +using Windows.UI.Xaml.Input; +using Windows.UI.Xaml.Media; +using Windows.UI.Xaml.Navigation; + +namespace UnitTests +{ +    /// <summary> +    /// Provides application-specific behavior to supplement the default Application class. +    /// </summary> +    sealed partial class App : Application +    { +        /// <summary> +        /// Initializes the singleton application object.  This is the first line of authored code +        /// executed, and as such is the logical equivalent of main() or WinMain(). +        /// </summary> +        public App() +        { +            this.InitializeComponent(); +            this.Suspending += OnSuspending; +        } + +        /// <summary> +        /// Invoked when the application is launched normally by the end user.  Other entry points +        /// will be used such as when the application is launched to open a specific file. +        /// </summary> +        /// <param name="e">Details about the launch request and process.</param> +        protected override void OnLaunched(LaunchActivatedEventArgs e) +        { + +#if DEBUG +            if (System.Diagnostics.Debugger.IsAttached) +            { +                this.DebugSettings.EnableFrameRateCounter = true; +            } +#endif + +            Frame rootFrame = Window.Current.Content as Frame; + +            // Do not repeat app initialization when the Window already has content, +            // just ensure that the window is active +            if (rootFrame == null) +            { +                // Create a Frame to act as the navigation context and navigate to the first page +                rootFrame = new Frame(); + +                rootFrame.NavigationFailed += OnNavigationFailed; + +                if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) +                { +                    //TODO: Load state from previously suspended application +                } + +                // Place the frame in the current Window +                Window.Current.Content = rootFrame; +            } +             +            Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.CreateDefaultUI(); + +            // Ensure the current window is active +            Window.Current.Activate(); + +            Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.Run(e.Arguments); +        } + +        /// <summary> +        /// Invoked when Navigation to a certain page fails +        /// </summary> +        /// <param name="sender">The Frame which failed navigation</param> +        /// <param name="e">Details about the navigation failure</param> +        void OnNavigationFailed(object sender, NavigationFailedEventArgs e) +        { +            throw new Exception("Failed to load Page " + e.SourcePageType.FullName); +        } + +        /// <summary> +        /// Invoked when application execution is being suspended.  Application state is saved +        /// without knowing whether the application will be terminated or resumed with the contents +        /// of memory still intact. +        /// </summary> +        /// <param name="sender">The source of the suspend request.</param> +        /// <param name="e">Details about the suspend request.</param> +        private void OnSuspending(object sender, SuspendingEventArgs e) +        { +            var deferral = e.SuspendingOperation.GetDeferral(); +            //TODO: Save application state and stop any background activity +            deferral.Complete(); +        } +    } +} diff --git a/EventMaker/UnitTests/UnitTests.csproj b/EventMaker/UnitTests/UnitTests.csproj new file mode 100644 index 0000000..e2209fd --- /dev/null +++ b/EventMaker/UnitTests/UnitTests.csproj @@ -0,0 +1,141 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> +  <PropertyGroup> +    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> +    <Platform Condition=" '$(Platform)' == '' ">x86</Platform> +    <ProjectGuid>{7ca8c0b4-c88f-489b-bf77-e17b45b2c375}</ProjectGuid> +    <OutputType>AppContainerExe</OutputType> +    <AppDesignerFolder>Properties</AppDesignerFolder> +    <RootNamespace>UnitTests</RootNamespace> +    <AssemblyName>UnitTests</AssemblyName> +    <DefaultLanguage>en-US</DefaultLanguage> +    <TargetPlatformIdentifier>UAP</TargetPlatformIdentifier> +    <TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion> +    <TargetPlatformMinVersion>10.0.10586.0</TargetPlatformMinVersion> +    <MinimumVisualStudioVersion>14</MinimumVisualStudioVersion> +    <FileAlignment>512</FileAlignment> +    <ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> +     +    <PackageCertificateKeyFile>UnitTests_TemporaryKey.pfx</PackageCertificateKeyFile> +     +    <UnitTestPlatformVersion  Condition="'$(UnitTestPlatformVersion)' == ''">14.0</UnitTestPlatformVersion> +  </PropertyGroup> +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> +    <DebugSymbols>true</DebugSymbols> +    <OutputPath>bin\x86\Debug\</OutputPath> +    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> +    <NoWarn>;2008</NoWarn> +    <DebugType>full</DebugType> +    <PlatformTarget>x86</PlatformTarget> +    <UseVSHostingProcess>false</UseVSHostingProcess> +    <ErrorReport>prompt</ErrorReport> +    <Prefer32Bit>true</Prefer32Bit> +  </PropertyGroup> +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> +    <OutputPath>bin\x86\Release\</OutputPath> +    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> +    <Optimize>true</Optimize> +    <NoWarn>;2008</NoWarn> +    <DebugType>pdbonly</DebugType> +    <PlatformTarget>x86</PlatformTarget> +    <UseVSHostingProcess>false</UseVSHostingProcess> +    <ErrorReport>prompt</ErrorReport> +    <Prefer32Bit>true</Prefer32Bit> +    <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> +  </PropertyGroup> +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"> +    <DebugSymbols>true</DebugSymbols> +    <OutputPath>bin\ARM\Debug\</OutputPath> +    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> +    <NoWarn>;2008</NoWarn> +    <DebugType>full</DebugType> +    <PlatformTarget>ARM</PlatformTarget> +    <UseVSHostingProcess>false</UseVSHostingProcess> +    <ErrorReport>prompt</ErrorReport> +    <Prefer32Bit>true</Prefer32Bit> +  </PropertyGroup> +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'"> +    <OutputPath>bin\ARM\Release\</OutputPath> +    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> +    <Optimize>true</Optimize> +    <NoWarn>;2008</NoWarn> +    <DebugType>pdbonly</DebugType> +    <PlatformTarget>ARM</PlatformTarget> +    <UseVSHostingProcess>false</UseVSHostingProcess> +    <ErrorReport>prompt</ErrorReport> +    <Prefer32Bit>true</Prefer32Bit> +    <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> +  </PropertyGroup> +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> +    <DebugSymbols>true</DebugSymbols> +    <OutputPath>bin\x64\Debug\</OutputPath> +    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> +    <NoWarn>;2008</NoWarn> +    <DebugType>full</DebugType> +    <PlatformTarget>x64</PlatformTarget> +    <UseVSHostingProcess>false</UseVSHostingProcess> +    <ErrorReport>prompt</ErrorReport> +    <Prefer32Bit>true</Prefer32Bit> +  </PropertyGroup> +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> +    <OutputPath>bin\x64\Release\</OutputPath> +    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> +    <Optimize>true</Optimize> +    <NoWarn>;2008</NoWarn> +    <DebugType>pdbonly</DebugType> +    <PlatformTarget>x64</PlatformTarget> +    <UseVSHostingProcess>false</UseVSHostingProcess> +    <ErrorReport>prompt</ErrorReport> +    <Prefer32Bit>true</Prefer32Bit> +    <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> +  </PropertyGroup> +  <ItemGroup> +    <!--A reference to the entire .Net Framework and Windows SDK are automatically included--> +    <None Include="project.json" /> +    <SDKReference Include="MSTestFramework.Universal, Version=$(UnitTestPlatformVersion)" /> +    <SDKReference Include="TestPlatform.Universal, Version=$(UnitTestPlatformVersion)" /> +  </ItemGroup> +  <ItemGroup> +    <Compile Include="Properties\AssemblyInfo.cs" /> +    <Compile Include="UnitTestApp.xaml.cs"> +      <DependentUpon>UnitTestApp.xaml</DependentUpon> +    </Compile> +    <Compile Include="UnitTest.cs" /> +  </ItemGroup> +  <ItemGroup> +    <ApplicationDefinition Include="UnitTestApp.xaml"> +      <Generator>MSBuild:Compile</Generator> +      <SubType>Designer</SubType> +    </ApplicationDefinition> +  </ItemGroup> +  <ItemGroup> +    <AppxManifest Include="Package.appxmanifest"> +      <SubType>Designer</SubType> +    </AppxManifest> +     +    <None Include="UnitTests_TemporaryKey.pfx" /> +     +  </ItemGroup> +  <ItemGroup> +    <Content Include="Properties\UnitTestApp.rd.xml" /> +    <Content Include="Assets\LockScreenLogo.scale-200.png" /> +    <Content Include="Assets\SplashScreen.scale-200.png" /> +    <Content Include="Assets\Square150x150Logo.scale-200.png" /> +    <Content Include="Assets\Square44x44Logo.scale-200.png" /> +    <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> +    <Content Include="Assets\StoreLogo.png" /> +    <Content Include="Assets\Wide310x150Logo.scale-200.png" /> +  </ItemGroup> +  <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' "> +    <VisualStudioVersion>14.0</VisualStudioVersion> +  </PropertyGroup> +  <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" /> +  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  +       Other similar extension points exist, see Microsoft.Common.targets. +  <Target Name="BeforeBuild"> +  </Target> +  <Target Name="AfterBuild"> +  </Target> +  --> +</Project> diff --git a/EventMaker/UnitTests/project.json b/EventMaker/UnitTests/project.json new file mode 100644 index 0000000..92d1456 --- /dev/null +++ b/EventMaker/UnitTests/project.json @@ -0,0 +1,16 @@ +{ +  "dependencies": { +    "Microsoft.NETCore.UniversalWindowsPlatform": "5.1.0" +  }, +  "frameworks": { +    "uap10.0": {} +  }, +  "runtimes": { +    "win10-arm": {}, +    "win10-arm-aot": {}, +    "win10-x86": {}, +    "win10-x86-aot": {}, +    "win10-x64": {}, +    "win10-x64-aot": {} +  } +}
\ No newline at end of file  |