Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Commit ade9ffb

Browse files
author
Nikita Fediuchin
committed
Added unit tests, changed repository structure
1 parent 9b009b9 commit ade9ffb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+570
-1079
lines changed

.gitignore

Lines changed: 3 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
# Created by https://www.gitignore.io/api/unity,csharp,visualstudio
3-
# Edit at https://www.gitignore.io/?templates=unity,csharp,visualstudio
2+
# Created by https://www.gitignore.io/api/csharp,visualstudio
3+
# Edit at https://www.gitignore.io/?templates=csharp,visualstudio
44

55
### Csharp ###
66
## Ignore Visual Studio temporary files, build results, and
@@ -73,7 +73,6 @@ StyleCopReport.xml
7373
*_p.c
7474
*_h.h
7575
*.ilk
76-
*.meta
7776
*.obj
7877
*.iobj
7978
*.pch
@@ -353,62 +352,6 @@ healthchecksdb
353352
# Backup folder for Package Reference Convert tool in Visual Studio 2017
354353
MigrationBackup/
355354

356-
### Unity ###
357-
# This .gitignore file should be placed at the root of your Unity project directory
358-
#
359-
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
360-
/[Ll]ibrary/
361-
/[Tt]emp/
362-
/[Oo]bj/
363-
/[Bb]uild/
364-
/[Bb]uilds/
365-
/[Ll]ogs/
366-
/[Mm]emoryCaptures/
367-
368-
# Never ignore Asset meta data
369-
!/[Aa]ssets/**/*.meta
370-
371-
# Uncomment this line if you wish to ignore the asset store tools plugin
372-
# /[Aa]ssets/AssetStoreTools*
373-
374-
# TextMesh Pro files
375-
[Aa]ssets/TextMesh*Pro/
376-
377-
# Autogenerated Jetbrains Rider plugin
378-
[Aa]ssets/Plugins/Editor/JetBrains*
379-
380-
# Visual Studio cache directory
381-
382-
# Gradle cache directory
383-
.gradle/
384-
385-
# Autogenerated VS/MD/Consulo solution and project files
386-
ExportedObj/
387-
.consulo/
388-
*.csproj
389-
*.unityproj
390-
*.sln
391-
*.booproj
392-
*.svd
393-
*.mdb
394-
395-
# Unity3D generated meta files
396-
*.pidb.meta
397-
*.pdb.meta
398-
*.mdb.meta
399-
400-
# Unity3D generated file on crash reports
401-
sysinfo.txt
402-
403-
# Builds
404-
*.apk
405-
*.unitypackage
406-
*.symbols.zip
407-
408-
# Crashlytics generated file
409-
crashlytics-build.properties
410-
411-
412355
### VisualStudio ###
413356

414357
# User-specific files
@@ -565,4 +508,4 @@ crashlytics-build.properties
565508

566509
# Backup folder for Package Reference Convert tool in Visual Studio 2017
567510

568-
# End of https://www.gitignore.io/api/unity,csharp,visualstudio
511+
# End of https://www.gitignore.io/api/csharp,visualstudio

Collections/Array3.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-

2-
// Copyright 2019 Nikita Fediuchin (QuantumBranch)
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
using System;
1+
using System;
172
using System.Numerics;
183

19-
namespace OpenSharedLibrary.Collections
4+
namespace InjectorGames.SharedLibrary.Collections
205
{
216
/// <summary>
227
/// Three-dimensional array container class

Collections/Bytes/IByteArray.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1-

2-
// Copyright 2019 Nikita Fediuchin (QuantumBranch)
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
1+
using System.IO;
152

16-
using System.IO;
17-
18-
namespace OpenSharedLibrary.Collections.Bytes
3+
namespace InjectorGames.SharedLibrary.Collections.Bytes
194
{
205
/// <summary>
216
/// Byte array interface

Collections/Bytes/IByteArrayFactory.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-

2-
// Copyright 2019 Nikita Fediuchin (QuantumBranch)
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
using OpenSharedLibrary.Entities;
1+
using InjectorGames.SharedLibrary.Entities;
172
using System.IO;
183

19-
namespace OpenSharedLibrary.Collections.Bytes
4+
namespace InjectorGames.SharedLibrary.Collections.Bytes
205
{
216
/// <summary>
227
/// Byte array factory interface

Collections/IArray3.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1-

2-
// Copyright 2019 Nikita Fediuchin (QuantumBranch)
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
1+
using System.Numerics;
152

16-
using System.Numerics;
17-
18-
namespace OpenSharedLibrary.Collections
3+
namespace InjectorGames.SharedLibrary.Collections
194
{
205
/// <summary>
216
/// Three-dimensional array container interface

Credentials/Accounts/Account.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1-

2-
// Copyright 2019 Nikita Fediuchin (QuantumBranch)
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
using OpenSharedLibrary.Extensions;
1+
using InjectorGames.SharedLibrary.Extensions;
172
using System.IO;
183
using System.Net;
194

20-
namespace OpenSharedLibrary.Credentials.Accounts
5+
namespace InjectorGames.SharedLibrary.Credentials.Accounts
216
{
227
/// <summary>
238
/// Account container class

Credentials/Accounts/AccountDictionary.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1-

2-
// Copyright 2019 Nikita Fediuchin (QuantumBranch)
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
1+
using System.Collections.Concurrent;
152

16-
using System.Collections.Concurrent;
17-
18-
namespace OpenSharedLibrary.Credentials.Accounts
3+
namespace InjectorGames.SharedLibrary.Credentials.Accounts
194
{
205
/// <summary>
216
/// Account concurrent dictionary class

Credentials/Accounts/AccountDiskDatabase.cs

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1-

2-
// Copyright 2019 Nikita Fediuchin (QuantumBranch)
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
using OpenSharedLibrary.Collections.Bytes;
17-
using OpenSharedLibrary.Databases;
1+
using InjectorGames.SharedLibrary.Collections.Bytes;
2+
using InjectorGames.SharedLibrary.Databases;
183
using System.IO;
194

20-
namespace OpenSharedLibrary.Credentials.Accounts
5+
namespace InjectorGames.SharedLibrary.Credentials.Accounts
216
{
227
/// <summary>
238
/// Account disk database class

Credentials/Accounts/AccountFactory.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-

2-
// Copyright 2019 Nikita Fediuchin (QuantumBranch)
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
using System.IO;
1+
using System.IO;
172
using System.Net;
183

19-
namespace OpenSharedLibrary.Credentials.Accounts
4+
namespace InjectorGames.SharedLibrary.Credentials.Accounts
205
{
216
/// <summary>
227
/// Account factory class

Credentials/Accounts/IAccount.cs

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
1-

2-
// Copyright 2019 Nikita Fediuchin (QuantumBranch)
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
using OpenSharedLibrary.Collections.Bytes;
17-
using OpenSharedLibrary.Entities;
1+
using InjectorGames.SharedLibrary.Collections.Bytes;
2+
using InjectorGames.SharedLibrary.Entities;
183
using System;
194
using System.Net;
205

21-
namespace OpenSharedLibrary.Credentials.Accounts
6+
namespace InjectorGames.SharedLibrary.Credentials.Accounts
227
{
238
/// <summary>
249
/// Account container interface

0 commit comments

Comments
 (0)