Permalink
Browse files

In progress

  • Loading branch information...
mariuszgromada committed Apr 11, 2016
1 parent 0fd95ad commit 9c4118bbc32b4fd9b73ad38a8b61db769dcc15d7
Showing with 1,129 additions and 52 deletions.
  1. +17 −4 CURRENT/c-sharp/Janet-Sudoku.csproj
  2. +31 −1 CURRENT/c-sharp/Janet-Sudoku.sln
  3. +33 −0 CURRENT/c-sharp/Properties/AssemblyInfo.cs
  4. +0 −15 CURRENT/c-sharp/Run-Tests/JanetSudokuRunTests.cs
  5. 0 CURRENT/c-sharp/{Run-Tests → exe-lib-tests/Run-Tests-API}/App.config
  6. +9 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-API/JanetSudokuRunTestsApi.cs
  7. +36 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-API/Properties/AssemblyInfo.cs
  8. +73 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-API/Run-Tests-API.csproj
  9. +6 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Generator/App.config
  10. +9 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Generator/JanetSudokuRunGenerator.cs
  11. +36 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Generator/Properties/AssemblyInfo.cs
  12. +73 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Generator/Run-Tests-Generator.csproj
  13. +6 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Solver/App.config
  14. +9 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Solver/JanetSudokuRunSolver.cs
  15. +36 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Solver/Properties/AssemblyInfo.cs
  16. +73 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Solver/Run-Tests-Solver.csproj
  17. +6 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Store/App.config
  18. +9 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Store/JanetSudokuRunTestsStore.cs
  19. +36 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Store/Properties/AssemblyInfo.cs
  20. +73 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests-Store/Run-Tests-Store.csproj
  21. +6 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests/App.config
  22. +9 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tests/JanetSudokuRunTests.cs
  23. +11 −11 CURRENT/c-sharp/{ → exe-lib-tests}/Run-Tests/Properties/AssemblyInfo.cs
  24. +10 −3 CURRENT/c-sharp/{ → exe-lib-tests}/Run-Tests/Run-Tests.csproj
  25. +6 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tutorial/App.config
  26. +9 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tutorial/JanetSudokuRunTutorial.cs
  27. +36 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tutorial/Properties/AssemblyInfo.cs
  28. +73 −0 CURRENT/c-sharp/exe-lib-tests/Run-Tutorial/Run-Tutorial.csproj
  29. +2 −2 CURRENT/c-sharp/src/org/mariuszgromada/math/janetsudoku/regtests/RegTestsGenerator.cs
  30. +4 −1 CURRENT/c-sharp/src/org/mariuszgromada/math/janetsudoku/tutorial/Tutorial.cs
  31. +8 −0 CURRENT/java/Manifest.txt
  32. +187 −0 CURRENT/java/src/org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.java
  33. +42 −0 CURRENT/java/src/org/mariuszgromada/math/janetsudoku/demoapp/Menu.java
  34. +127 −0 CURRENT/java/src/org/mariuszgromada/math/janetsudoku/demoapp/MenuData.java
  35. +2 −2 CURRENT/java/src/org/mariuszgromada/math/janetsudoku/regtests/RegTestsGenerator.java
  36. +23 −12 CURRENT/java/src/org/mariuszgromada/math/janetsudoku/tutorial/Tutorial.java
  37. +3 −1 CURRENT/java/src/org/mariuszgromada/math/janetsudoku/utils/FileX.java
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{C1A7A455-9810-45A2-8C2F-584572AE6A0D}</ProjectGuid>
<OutputType>Library</OutputType>
<NoStandardLibraries>false</NoStandardLibraries>
<AssemblyName>ClassLibrary</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<AssemblyName>janet-sudoku</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -18,6 +19,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -26,13 +28,20 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<RootNamespace>Janet_Sudoku</RootNamespace>
<RootNamespace>org.mariuszgromada.math.janetsudoku</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\..\..\pfx-keys\mariuszgromada.org.pfx</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
@@ -43,6 +52,7 @@
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="src\org\mariuszgromada\math\janetsudoku\BoardCell.cs" />
<Compile Include="src\org\mariuszgromada\math\janetsudoku\ErrorCodes.cs" />
<Compile Include="src\org\mariuszgromada\math\janetsudoku\regtests\RegTests.cs" />
@@ -60,6 +70,9 @@
<Compile Include="src\org\mariuszgromada\math\janetsudoku\utils\DateTimeX.cs" />
<Compile Include="src\org\mariuszgromada\math\janetsudoku\utils\FileX.cs" />
</ItemGroup>
<ItemGroup>
<None Include="mariuszgromada.org.pfx" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSHARP.Targets" />
<ProjectExtensions>
<VisualStudio AllowExistingFolder="true" />
@@ -5,7 +5,17 @@ VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Janet-Sudoku", "Janet-Sudoku.csproj", "{C1A7A455-9810-45A2-8C2F-584572AE6A0D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Run-Tests", "Run-Tests\Run-Tests.csproj", "{3E9D02EA-D865-432F-A02C-B3C232DB088E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Run-Tests", "exe-lib-tests\Run-Tests\Run-Tests.csproj", "{3E9D02EA-D865-432F-A02C-B3C232DB088E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Run-Tutorial", "exe-lib-tests\Run-Tutorial\Run-Tutorial.csproj", "{6CD044F1-7007-4CE2-9864-3A820D2B3E8C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Run-Tests-API", "exe-lib-tests\Run-Tests-API\Run-Tests-API.csproj", "{9405ACBE-BC4B-4B73-A27F-19441E59217E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Run-Tests-Solver", "exe-lib-tests\Run-Tests-Solver\Run-Tests-Solver.csproj", "{53C1DCB6-3829-4007-82D5-807770C5221E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Run-Tests-Generator", "exe-lib-tests\Run-Tests-Generator\Run-Tests-Generator.csproj", "{5C982AEF-DFD5-40C9-848A-3752768E44F8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Run-Tests-Store", "exe-lib-tests\Run-Tests-Store\Run-Tests-Store.csproj", "{A269C8E3-9CFB-41F7-B2D7-09FA3164F384}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -21,6 +31,26 @@ Global
{3E9D02EA-D865-432F-A02C-B3C232DB088E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3E9D02EA-D865-432F-A02C-B3C232DB088E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3E9D02EA-D865-432F-A02C-B3C232DB088E}.Release|Any CPU.Build.0 = Release|Any CPU
{6CD044F1-7007-4CE2-9864-3A820D2B3E8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6CD044F1-7007-4CE2-9864-3A820D2B3E8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6CD044F1-7007-4CE2-9864-3A820D2B3E8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6CD044F1-7007-4CE2-9864-3A820D2B3E8C}.Release|Any CPU.Build.0 = Release|Any CPU
{9405ACBE-BC4B-4B73-A27F-19441E59217E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9405ACBE-BC4B-4B73-A27F-19441E59217E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9405ACBE-BC4B-4B73-A27F-19441E59217E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9405ACBE-BC4B-4B73-A27F-19441E59217E}.Release|Any CPU.Build.0 = Release|Any CPU
{53C1DCB6-3829-4007-82D5-807770C5221E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{53C1DCB6-3829-4007-82D5-807770C5221E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{53C1DCB6-3829-4007-82D5-807770C5221E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{53C1DCB6-3829-4007-82D5-807770C5221E}.Release|Any CPU.Build.0 = Release|Any CPU
{5C982AEF-DFD5-40C9-848A-3752768E44F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5C982AEF-DFD5-40C9-848A-3752768E44F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5C982AEF-DFD5-40C9-848A-3752768E44F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5C982AEF-DFD5-40C9-848A-3752768E44F8}.Release|Any CPU.Build.0 = Release|Any CPU
{A269C8E3-9CFB-41F7-B2D7-09FA3164F384}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A269C8E3-9CFB-41F7-B2D7-09FA3164F384}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A269C8E3-9CFB-41F7-B2D7-09FA3164F384}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A269C8E3-9CFB-41F7-B2D7-09FA3164F384}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -0,0 +1,33 @@
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("Janet Sudoku")]
[assembly: AssemblyDescription("Janet Sudoku - Java Android .NET Sudoku Generator / Sudoku Solver library")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("MariuszGromada.org")]
[assembly: AssemblyProduct("org.mariuszgromada.math.janetsudoku")]
[assembly: AssemblyCopyright("Copyright © 2016 Mariusz Gromada")]
[assembly: AssemblyTrademark("Janet Sudoku")]
[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("07d7d7d0-6a57-497b-9efb-fcfc0ecd55c5")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,9 @@
using org.mariuszgromada.math.janetsudoku.regtests;
namespace janetsudoku.runtests {
class JanetSudokuRunTestsApi {
static void Main(string[] args) {
RegTestsApi.Start();
}
}
}
@@ -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("Janet Sudoku - Run Tests - API")]
[assembly: AssemblyDescription("Janet Sudoku - Run API regression tests")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("MariuszGromada.org")]
[assembly: AssemblyProduct("Janet Sudoku")]
[assembly: AssemblyCopyright("Copyright © 2016 Mariusz Gromada")]
[assembly: AssemblyTrademark("Janet Sudoku")]
[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("9405acbe-bc4b-4b73-a27f-19441e59217e")]
// 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")]
@@ -0,0 +1,73 @@
<?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)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9405ACBE-BC4B-4B73-A27F-19441E59217E}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>janetsudoku.runtests</RootNamespace>
<AssemblyName>janet-sudoku-run-tests-api</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\..\..\..\..\pfx-keys\mariuszgromada.org.pfx</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="JanetSudokuRunTestsApi.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="mariuszgromada.org.pfx" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Janet-Sudoku.csproj">
<Project>{c1a7a455-9810-45a2-8c2f-584572ae6a0d}</Project>
<Name>Janet-Sudoku</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.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>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>
@@ -0,0 +1,9 @@
using org.mariuszgromada.math.janetsudoku.regtests;
namespace janetsudoku.runtests {
class JanetSudokuRunTestsGenerator {
static void Main(string[] args) {
RegTestsGenerator.Start();
}
}
}
@@ -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("Janet Sudoku - Run Tests - Generator")]
[assembly: AssemblyDescription("Janet Sudoku - Run Generator regression tests")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("MariuszGromada.org")]
[assembly: AssemblyProduct("Janet Sudoku")]
[assembly: AssemblyCopyright("Copyright © 2016 Mariusz Gromada")]
[assembly: AssemblyTrademark("Janet Sudoku")]
[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("5c982aef-dfd5-40c9-848a-3752768e44f8")]
// 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 9c4118b

Please sign in to comment.