From 64cde36c137c57227c49242ba8a0f833e5d7ea74 Mon Sep 17 00:00:00 2001 From: Kody Brown Date: Sun, 11 Dec 2016 23:20:38 -0700 Subject: [PATCH 1/2] No code changes. (Changed Git's EOL handling..) --- .gitignore | 216 ++++++++++++++++++------------------- App.config | 10 +- LICENSE | 40 +++---- Properties/AssemblyInfo.cs | 72 ++++++------- README.md | 110 +++++++++---------- sortxml.sln | 44 ++++---- tests/b.xml | 2 +- tests/b_handsorted.xml | 116 ++++++++++---------- tests/b_sorted.xml | 116 ++++++++++---------- tests/c.xml | 68 ++++++------ tests/c_handsorted.xml | 70 ++++++------ tests/c_sorted.xml | 68 ++++++------ tests/d.xml | 106 +++++++++--------- tests/d_handsorted.xml | 106 +++++++++--------- tests/d_sorted.xml | 96 ++++++++--------- tests/e.xml | 78 +++++++------- tests/e_handsorted.xml | 78 +++++++------- tests/e_sorted.xml | 68 ++++++------ tests/f.xml | 194 ++++++++++++++++----------------- tests/f_handsorted.xml | 174 +++++++++++++++--------------- tests/f_sorted.xml | 172 ++++++++++++++--------------- 21 files changed, 1002 insertions(+), 1002 deletions(-) diff --git a/.gitignore b/.gitignore index bdc3535..28b806e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,108 +1,108 @@ -# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) -[Bb]in/ -[Oo]bj/ - -# mstest test results -TestResults - -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.sln.docstates - -# Build results -[Dd]ebug/ -[Rr]elease/ -x64/ -*_i.c -*_p.c -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.log -*.vspscc -*.vssscc -.builds - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf - -# Visual Studio profiler -*.psess -*.vsp -*.vspx - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper* - -# NCrunch -*.ncrunch* -.*crunch*.local.xml - -# Installshield output folder -[Ee]xpress - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish - -# Publish Web Output -*.Publish.xml - -# NuGet Packages Directory -packages - -# Windows Azure Build Output -csx -*.build.csdef - -# Windows Store app package directory -AppPackages/ - -# Others -[Bb]in -[Oo]bj -sql -TestResults -[Tt]est[Rr]esult* -*.Cache -ClientBin -[Ss]tyle[Cc]op.* -~$* -*.dbmdl -Generated_Code #added for RIA/Silverlight projects - -# Backup & report files from converting an old project file to a newer -# Visual Studio version. Backup files are not needed, because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML +# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) +[Bb]in/ +[Oo]bj/ + +# mstest test results +TestResults + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results +[Dd]ebug/ +[Rr]elease/ +x64/ +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.log +*.vspscc +*.vssscc +.builds + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper* + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish + +# Publish Web Output +*.Publish.xml + +# NuGet Packages Directory +packages + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +[Bb]in +[Oo]bj +sql +TestResults +[Tt]est[Rr]esult* +*.Cache +ClientBin +[Ss]tyle[Cc]op.* +~$* +*.dbmdl +Generated_Code #added for RIA/Silverlight projects + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML diff --git a/App.config b/App.config index fe68427..e3c7cdc 100644 --- a/App.config +++ b/App.config @@ -1,6 +1,6 @@ - - - - - + + + + + \ No newline at end of file diff --git a/LICENSE b/LICENSE index 7bdec81..19878df 100644 --- a/LICENSE +++ b/LICENSE @@ -1,20 +1,20 @@ -The MIT License (MIT) - -Copyright (c) 2014 Kody Brown - -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. +The MIT License (MIT) + +Copyright (c) 2014 Kody Brown + +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. diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index e4a031e..40e48c4 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -1,36 +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("sortxml")] -[assembly: AssemblyDescription("sort xml files")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("sortxml")] -[assembly: AssemblyCopyright("Copyright (C) 2014 @wasatchwizard")] -[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("c56283ba-afbb-4b4c-b8be-2018bb239370")] - -// 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")] +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("sortxml")] +[assembly: AssemblyDescription("sort xml files")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("sortxml")] +[assembly: AssemblyCopyright("Copyright (C) 2014 @wasatchwizard")] +[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("c56283ba-afbb-4b4c-b8be-2018bb239370")] + +// 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")] diff --git a/README.md b/README.md index 096a01f..07073d4 100644 --- a/README.md +++ b/README.md @@ -1,55 +1,55 @@ -sortxml -======= - -This is a very simple utility that prettifies and sorts xml files. -It uses the Microsoft XML .NET namespace. - -Copyright 2014 Kody Brown (@wasatchwizard) - - USAGE: sortxml.exe [options] infile [outfile] - - infile The name of the file to sort, etc. - - outfile The name of the file to save the output to. - If outfile is omitted, the output is written to stdout, - unless `--overwrite` is specified, in which case the - output is written back to infile, overwriting it. - - OPTIONS: - - /p --pause Pauses when finished. - - --pretty Ignores the input format and makes the output look nice. - This is the default. - - /s --sort Sort both the nodes and attributes. - --sort-node Sort the nodes. - --sort-attr Sort the attributes. - If a sort is specified, '--pretty' is assumed. - If a sort is NOT is specified, both nodes and attributes - will be sorted. - - /i --case-insensitive - Sorts node and attributes without regard to letter case. - !i --case-sensitive - Sorts node and attributes case-sensitively. - If neither option is specified, uses case-sensitive sort. - - --overwrite Writes back to the infile. - Only used if outfile is not specified. - - Prefix an option with '!' to turn it off. - The '!' can be applied with or without one of the other prefixes. - The '/' and '--' prefixes are interchangable. - -The default is to output pretty and sorted nodes and attributes: - - > type sample.xml - - - > sortxml.exe sample.xml - - - - - +sortxml +======= + +This is a very simple utility that prettifies and sorts xml files. +It uses the Microsoft XML .NET namespace. + +Copyright 2014 Kody Brown (@wasatchwizard) + + USAGE: sortxml.exe [options] infile [outfile] + + infile The name of the file to sort, etc. + + outfile The name of the file to save the output to. + If outfile is omitted, the output is written to stdout, + unless `--overwrite` is specified, in which case the + output is written back to infile, overwriting it. + + OPTIONS: + + /p --pause Pauses when finished. + + --pretty Ignores the input format and makes the output look nice. + This is the default. + + /s --sort Sort both the nodes and attributes. + --sort-node Sort the nodes. + --sort-attr Sort the attributes. + If a sort is specified, '--pretty' is assumed. + If a sort is NOT is specified, both nodes and attributes + will be sorted. + + /i --case-insensitive + Sorts node and attributes without regard to letter case. + !i --case-sensitive + Sorts node and attributes case-sensitively. + If neither option is specified, uses case-sensitive sort. + + --overwrite Writes back to the infile. + Only used if outfile is not specified. + + Prefix an option with '!' to turn it off. + The '!' can be applied with or without one of the other prefixes. + The '/' and '--' prefixes are interchangable. + +The default is to output pretty and sorted nodes and attributes: + + > type sample.xml + + + > sortxml.exe sample.xml + + + + + diff --git a/sortxml.sln b/sortxml.sln index d0601b3..4a106b9 100644 --- a/sortxml.sln +++ b/sortxml.sln @@ -1,22 +1,22 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.30110.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sortxml", "sortxml.csproj", "{F015ED1D-89EF-4251-9788-D581536501F2}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F015ED1D-89EF-4251-9788-D581536501F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F015ED1D-89EF-4251-9788-D581536501F2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F015ED1D-89EF-4251-9788-D581536501F2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F015ED1D-89EF-4251-9788-D581536501F2}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30110.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sortxml", "sortxml.csproj", "{F015ED1D-89EF-4251-9788-D581536501F2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F015ED1D-89EF-4251-9788-D581536501F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F015ED1D-89EF-4251-9788-D581536501F2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F015ED1D-89EF-4251-9788-D581536501F2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F015ED1D-89EF-4251-9788-D581536501F2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/tests/b.xml b/tests/b.xml index f610cea..86875b5 100644 --- a/tests/b.xml +++ b/tests/b.xml @@ -1,2 +1,2 @@ - + 2 \ No newline at end of file diff --git a/tests/b_handsorted.xml b/tests/b_handsorted.xml index aaaf2eb..bc94277 100644 --- a/tests/b_handsorted.xml +++ b/tests/b_handsorted.xml @@ -1,59 +1,59 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + \ No newline at end of file diff --git a/tests/b_sorted.xml b/tests/b_sorted.xml index aaaf2eb..bc94277 100644 --- a/tests/b_sorted.xml +++ b/tests/b_sorted.xml @@ -1,59 +1,59 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + \ No newline at end of file diff --git a/tests/c.xml b/tests/c.xml index 0651af8..b14a61d 100644 --- a/tests/c.xml +++ b/tests/c.xml @@ -1,35 +1,35 @@ - - - -
- - SurroundsWith - - locgettext - Kody Brown - Outputs: Loc.GetText("") - - - ll -
- - - -
- -
- - Expansion - - return false - Kody Brown - Outputs: return false - - - rf -
- - - -
+ + + +
+ + SurroundsWith + + locgettext + Kody Brown + Outputs: Loc.GetText("") + + + ll +
+ + + +
+ +
+ + Expansion + + return false + Kody Brown + Outputs: return false + + + rf +
+ + + +
\ No newline at end of file diff --git a/tests/c_handsorted.xml b/tests/c_handsorted.xml index c44bfe6..7cf02da 100644 --- a/tests/c_handsorted.xml +++ b/tests/c_handsorted.xml @@ -1,35 +1,35 @@ - - - -
- Kody Brown - Outputs: Loc.GetText("") - - - ll - - SurroundsWith - - locgettext -
- - - -
- -
- Kody Brown - Outputs: return false - - - rf - - Expansion - - return false -
- - - -
-
+ + + +
+ Kody Brown + Outputs: Loc.GetText("") + + + ll + + SurroundsWith + + locgettext +
+ + + +
+ +
+ Kody Brown + Outputs: return false + + + rf + + Expansion + + return false +
+ + + +
+
diff --git a/tests/c_sorted.xml b/tests/c_sorted.xml index dac82e7..718e7e5 100644 --- a/tests/c_sorted.xml +++ b/tests/c_sorted.xml @@ -1,35 +1,35 @@ - - - -
- Kody Brown - Outputs: return false - - - rf - - Expansion - - return false -
- - - -
- -
- Kody Brown - Outputs: Loc.GetText("") - - - ll - - SurroundsWith - - locgettext -
- - - -
+ + + +
+ Kody Brown + Outputs: return false + + + rf + + Expansion + + return false +
+ + + +
+ +
+ Kody Brown + Outputs: Loc.GetText("") + + + ll + + SurroundsWith + + locgettext +
+ + + +
\ No newline at end of file diff --git a/tests/d.xml b/tests/d.xml index 904d8c9..a563c94 100644 --- a/tests/d.xml +++ b/tests/d.xml @@ -1,54 +1,54 @@ - - - -
- Check if object is not null (if stmt) - Kody Brown - Check if object is not null (if stmt) - notnull - - Expansion - -
- - - - obj - The object to check for null. - objValue - - - - - - -
- - -
- Check if object is null (if stmt) - Kody Brown - Check if object is null (if stmt) - isnull - - Expansion - -
- - - - obj - The object to check for null. - objValue - - - - - - -
+ + + +
+ Check if object is not null (if stmt) + Kody Brown + Check if object is not null (if stmt) + notnull + + Expansion + +
+ + + + obj + The object to check for null. + objValue + + + + + + +
+ + +
+ Check if object is null (if stmt) + Kody Brown + Check if object is null (if stmt) + isnull + + Expansion + +
+ + + + obj + The object to check for null. + objValue + + + + + + +
\ No newline at end of file diff --git a/tests/d_handsorted.xml b/tests/d_handsorted.xml index 04f4b29..aed8d83 100644 --- a/tests/d_handsorted.xml +++ b/tests/d_handsorted.xml @@ -1,53 +1,53 @@ - - - -
- Kody Brown - Check if object is not null (if stmt) - notnull - - Expansion - - Check if object is not null (if stmt) -
- - - - - - - objValue - obj - The object to check for null. - - - -
- -
- Kody Brown - Check if object is null (if stmt) - isnull - - Expansion - - Check if object is null (if stmt) -
- - - - - - - objValue - obj - The object to check for null. - - - -
-
+ + + +
+ Kody Brown + Check if object is not null (if stmt) + notnull + + Expansion + + Check if object is not null (if stmt) +
+ + + + + + + objValue + obj + The object to check for null. + + + +
+ +
+ Kody Brown + Check if object is null (if stmt) + isnull + + Expansion + + Check if object is null (if stmt) +
+ + + + + + + objValue + obj + The object to check for null. + + + +
+
diff --git a/tests/d_sorted.xml b/tests/d_sorted.xml index c6ef071..e2656bd 100644 --- a/tests/d_sorted.xml +++ b/tests/d_sorted.xml @@ -1,49 +1,49 @@ - - - -
- Kody Brown - Check if object is null (if stmt) - isnull - - Expansion - - Check if object is null (if stmt) -
- - - - - objValue - obj - The object to check for null. - - - -
- -
- Kody Brown - Check if object is not null (if stmt) - notnull - - Expansion - - Check if object is not null (if stmt) -
- - - - - objValue - obj - The object to check for null. - - - -
+ + + +
+ Kody Brown + Check if object is null (if stmt) + isnull + + Expansion + + Check if object is null (if stmt) +
+ + + + + objValue + obj + The object to check for null. + + + +
+ +
+ Kody Brown + Check if object is not null (if stmt) + notnull + + Expansion + + Check if object is not null (if stmt) +
+ + + + + objValue + obj + The object to check for null. + + + +
\ No newline at end of file diff --git a/tests/e.xml b/tests/e.xml index 3e63931..3db5440 100644 --- a/tests/e.xml +++ b/tests/e.xml @@ -1,40 +1,40 @@ - - - -
- - Expansion - - return true - Kody Brown - Outputs: return true - - - rt -
- - - - - -
- - -
- - Expansion - - return false - Kody Brown - Outputs: return false - - - rf -
- - - - - -
+ + + +
+ + Expansion + + return true + Kody Brown + Outputs: return true + + + rt +
+ + + + + +
+ + +
+ + Expansion + + return false + Kody Brown + Outputs: return false + + + rf +
+ + + + + +
\ No newline at end of file diff --git a/tests/e_handsorted.xml b/tests/e_handsorted.xml index f81612d..9fc7d6f 100644 --- a/tests/e_handsorted.xml +++ b/tests/e_handsorted.xml @@ -1,39 +1,39 @@ - - - -
- Kody Brown - Outputs: return true - - - rt - - Expansion - - return true -
- - - - - -
- -
- Kody Brown - Outputs: return false - - - rf - - Expansion - - return false -
- - - - - -
-
+ + + +
+ Kody Brown + Outputs: return true + + + rt + + Expansion + + return true +
+ + + + + +
+ +
+ Kody Brown + Outputs: return false + + + rf + + Expansion + + return false +
+ + + + + +
+
diff --git a/tests/e_sorted.xml b/tests/e_sorted.xml index 6b61e8e..2c78d01 100644 --- a/tests/e_sorted.xml +++ b/tests/e_sorted.xml @@ -1,35 +1,35 @@ - - - -
- Kody Brown - Outputs: return false - - - rf - - Expansion - - return false -
- - - -
- -
- Kody Brown - Outputs: return true - - - rt - - Expansion - - return true -
- - - -
+ + + +
+ Kody Brown + Outputs: return false + + + rf + + Expansion + + return false +
+ + + +
+ +
+ Kody Brown + Outputs: return true + + + rt + + Expansion + + return true +
+ + + +
\ No newline at end of file diff --git a/tests/f.xml b/tests/f.xml index 4a9837f..f170dd8 100644 --- a/tests/f.xml +++ b/tests/f.xml @@ -1,98 +1,98 @@ - - - -
- Check if string is not null and not empty (trimmed) - Kody Brown - Check if string is not null and not empty (trimmed) - notnull - - Expansion - -
- - - - str - The variable to check for null and length. - strValue - - - - - - -
- - -
- Check if string is null or empty (trimmed) - Kody Brown - Check if string is null or empty (trimmed) - isnull - - Expansion - -
- - - - str - The variable to check for null and length. - strValue - - - - - - -
- - -
- Check if string is not null and not empty - Kody Brown - Check if string is non-null and not empty - notnull - - Expansion - -
- - - - str - The variable to check for null and length. - strValue - - - - - - -
- - -
- Check if string is null or empty - Kody Brown - Check if string is null or empty - isnull - - Expansion - -
- - - - str - The variable to check for null and length. - strValue - - - - - - -
+ + + +
+ Check if string is not null and not empty (trimmed) + Kody Brown + Check if string is not null and not empty (trimmed) + notnull + + Expansion + +
+ + + + str + The variable to check for null and length. + strValue + + + + + + +
+ + +
+ Check if string is null or empty (trimmed) + Kody Brown + Check if string is null or empty (trimmed) + isnull + + Expansion + +
+ + + + str + The variable to check for null and length. + strValue + + + + + + +
+ + +
+ Check if string is not null and not empty + Kody Brown + Check if string is non-null and not empty + notnull + + Expansion + +
+ + + + str + The variable to check for null and length. + strValue + + + + + + +
+ + +
+ Check if string is null or empty + Kody Brown + Check if string is null or empty + isnull + + Expansion + +
+ + + + str + The variable to check for null and length. + strValue + + + + + + +
\ No newline at end of file diff --git a/tests/f_handsorted.xml b/tests/f_handsorted.xml index 2818a92..622240b 100644 --- a/tests/f_handsorted.xml +++ b/tests/f_handsorted.xml @@ -1,87 +1,87 @@ - - - -
- Kody Brown - Check if string is not null and not empty (trimmed) - notnull - - Expansion - - Check if string is not null and not empty (trimmed) -
- - - - - strValue - str - The variable to check for null and length. - - - -
- -
- Kody Brown - Check if string is null or empty (trimmed) - isnull - - Expansion - - Check if string is null or empty (trimmed) -
- - - - - strValue - str - The variable to check for null and length. - - - -
- -
- Kody Brown - Check if string is non-null and not empty - notnull - - Expansion - - Check if string is not null and not empty -
- - - - - strValue - str - The variable to check for null and length. - - - -
- -
- Kody Brown - Check if string is null or empty - isnull - - Expansion - - Check if string is null or empty -
- - - - - strValue - str - The variable to check for null and length. - - - -
-
+ + + +
+ Kody Brown + Check if string is not null and not empty (trimmed) + notnull + + Expansion + + Check if string is not null and not empty (trimmed) +
+ + + + + strValue + str + The variable to check for null and length. + + + +
+ +
+ Kody Brown + Check if string is null or empty (trimmed) + isnull + + Expansion + + Check if string is null or empty (trimmed) +
+ + + + + strValue + str + The variable to check for null and length. + + + +
+ +
+ Kody Brown + Check if string is non-null and not empty + notnull + + Expansion + + Check if string is not null and not empty +
+ + + + + strValue + str + The variable to check for null and length. + + + +
+ +
+ Kody Brown + Check if string is null or empty + isnull + + Expansion + + Check if string is null or empty +
+ + + + + strValue + str + The variable to check for null and length. + + + +
+
diff --git a/tests/f_sorted.xml b/tests/f_sorted.xml index 8de1821..ed1944d 100644 --- a/tests/f_sorted.xml +++ b/tests/f_sorted.xml @@ -1,87 +1,87 @@ - - - -
- Kody Brown - Check if string is null or empty - isnull - - Expansion - - Check if string is null or empty -
- - - - - strValue - str - The variable to check for null and length. - - - -
- -
- Kody Brown - Check if string is non-null and not empty - notnull - - Expansion - - Check if string is not null and not empty -
- - - - - strValue - str - The variable to check for null and length. - - - -
- -
- Kody Brown - Check if string is null or empty (trimmed) - isnull - - Expansion - - Check if string is null or empty (trimmed) -
- - - - - strValue - str - The variable to check for null and length. - - - -
- -
- Kody Brown - Check if string is not null and not empty (trimmed) - notnull - - Expansion - - Check if string is not null and not empty (trimmed) -
- - - - - strValue - str - The variable to check for null and length. - - - -
+ + + +
+ Kody Brown + Check if string is null or empty + isnull + + Expansion + + Check if string is null or empty +
+ + + + + strValue + str + The variable to check for null and length. + + + +
+ +
+ Kody Brown + Check if string is non-null and not empty + notnull + + Expansion + + Check if string is not null and not empty +
+ + + + + strValue + str + The variable to check for null and length. + + + +
+ +
+ Kody Brown + Check if string is null or empty (trimmed) + isnull + + Expansion + + Check if string is null or empty (trimmed) +
+ + + + + strValue + str + The variable to check for null and length. + + + +
+ +
+ Kody Brown + Check if string is not null and not empty (trimmed) + notnull + + Expansion + + Check if string is not null and not empty (trimmed) +
+ + + + + strValue + str + The variable to check for null and length. + + + +
\ No newline at end of file From 9d09a7bb4465564d3708505c401b2688a3f16c33 Mon Sep 17 00:00:00 2001 From: Kody Brown Date: Fri, 15 Jun 2018 13:24:31 -0600 Subject: [PATCH 2/2] Updated .gitignore via gibo. --- .gitignore | 494 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 401 insertions(+), 93 deletions(-) diff --git a/.gitignore b/.gitignore index 28b806e..b1c1c47 100644 --- a/.gitignore +++ b/.gitignore @@ -1,108 +1,416 @@ -# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) -[Bb]in/ -[Oo]bj/ +### VisualStudio -# mstest test results -TestResults +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush +.cr/ + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -# User-specific files -*.suo -*.user -*.sln.docstates +### VisualStudioCode -# Build results -[Dd]ebug/ -[Rr]elease/ -x64/ -*_i.c -*_p.c -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.log -*.vspscc -*.vssscc -.builds +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf -# Visual Studio profiler -*.psess -*.vsp -*.vspx +### Windows -# Guidance Automation Toolkit -*.gpState +# Windows thumbnail cache files +Thumbs.db +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk -# ReSharper is a .NET coding add-in -_ReSharper* -# NCrunch -*.ncrunch* -.*crunch*.local.xml +### MacOS -# Installshield output folder -[Ee]xpress +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html -# Click-Once directory -publish +### Linux -# Publish Web Output -*.Publish.xml +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* -# NuGet Packages Directory -packages -# Windows Azure Build Output -csx -*.build.csdef - -# Windows Store app package directory -AppPackages/ - -# Others -[Bb]in -[Oo]bj -sql -TestResults -[Tt]est[Rr]esult* -*.Cache -ClientBin -[Ss]tyle[Cc]op.* -~$* -*.dbmdl -Generated_Code #added for RIA/Silverlight projects - -# Backup & report files from converting an old project file to a newer -# Visual Studio version. Backup files are not needed, because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML