Organize workspace: Frontend, Backend, and Tests in one repo
This commit is contained in:
5
.nuget/packages/moq/4.20.72/.nupkg.metadata
vendored
Normal file
5
.nuget/packages/moq/4.20.72/.nupkg.metadata
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"version": 2,
|
||||
"contentHash": "EA55cjyNn8eTNWrgrdZJH5QLFp2L43oxl1tlkoYUKIE9pRwL784OWiTXeCV5ApS+AMYEAlt7Fo03A2XfouvHmQ==",
|
||||
"source": "https://api.nuget.org/v3/index.json"
|
||||
}
|
||||
BIN
.nuget/packages/moq/4.20.72/.signature.p7s
vendored
Executable file
BIN
.nuget/packages/moq/4.20.72/.signature.p7s
vendored
Executable file
Binary file not shown.
BIN
.nuget/packages/moq/4.20.72/icon.png
vendored
Executable file
BIN
.nuget/packages/moq/4.20.72/icon.png
vendored
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 6.7 KiB |
BIN
.nuget/packages/moq/4.20.72/lib/net462/Moq.dll
vendored
Executable file
BIN
.nuget/packages/moq/4.20.72/lib/net462/Moq.dll
vendored
Executable file
Binary file not shown.
BIN
.nuget/packages/moq/4.20.72/lib/net6.0/Moq.dll
vendored
Executable file
BIN
.nuget/packages/moq/4.20.72/lib/net6.0/Moq.dll
vendored
Executable file
Binary file not shown.
BIN
.nuget/packages/moq/4.20.72/lib/netstandard2.0/Moq.dll
vendored
Executable file
BIN
.nuget/packages/moq/4.20.72/lib/netstandard2.0/Moq.dll
vendored
Executable file
Binary file not shown.
BIN
.nuget/packages/moq/4.20.72/lib/netstandard2.1/Moq.dll
vendored
Executable file
BIN
.nuget/packages/moq/4.20.72/lib/netstandard2.1/Moq.dll
vendored
Executable file
Binary file not shown.
BIN
.nuget/packages/moq/4.20.72/moq.4.20.72.nupkg
vendored
Normal file
BIN
.nuget/packages/moq/4.20.72/moq.4.20.72.nupkg
vendored
Normal file
Binary file not shown.
1
.nuget/packages/moq/4.20.72/moq.4.20.72.nupkg.sha512
vendored
Normal file
1
.nuget/packages/moq/4.20.72/moq.4.20.72.nupkg.sha512
vendored
Normal file
@@ -0,0 +1 @@
|
||||
HeLdAKzFe2G4fUg+tUa1WRf/Mye9zbkiv57jHRSb5IVi7GXVPgWbbEaUP8SaOpt43JJFRlWY9N5Yro32/tgRpQ==
|
||||
36
.nuget/packages/moq/4.20.72/moq.nuspec
vendored
Executable file
36
.nuget/packages/moq/4.20.72/moq.nuspec
vendored
Executable file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Moq</id>
|
||||
<version>4.20.72</version>
|
||||
<title>Moq: an enjoyable mocking library</title>
|
||||
<authors>Daniel Cazzulino, kzu</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">BSD-3-Clause</license>
|
||||
<licenseUrl>https://licenses.nuget.org/BSD-3-Clause</licenseUrl>
|
||||
<icon>icon.png</icon>
|
||||
<readme>readme.md</readme>
|
||||
<projectUrl>https://github.com/moq/moq</projectUrl>
|
||||
<description>Moq is the most popular and friendly mocking framework for .NET.</description>
|
||||
<releaseNotes>https://github.com/moq/moq/blob/main/changelog.md</releaseNotes>
|
||||
<copyright>Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors. All rights reserved.</copyright>
|
||||
<tags>moq;tdd;mocking;mocks;unittesting;agile;unittest</tags>
|
||||
<repository type="git" url="https://github.com/moq/moq" branch="v4.20.72" commit="959fc5128f868fdcbdbb70dbfca86330980431ba" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETFramework4.6.2">
|
||||
<dependency id="Castle.Core" version="5.1.1" />
|
||||
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
|
||||
</group>
|
||||
<group targetFramework=".NETStandard2.0">
|
||||
<dependency id="Castle.Core" version="5.1.1" />
|
||||
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
|
||||
</group>
|
||||
<group targetFramework=".NETStandard2.1">
|
||||
<dependency id="Castle.Core" version="5.1.1" />
|
||||
</group>
|
||||
<group targetFramework="net6.0">
|
||||
<dependency id="Castle.Core" version="5.1.1" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
102
.nuget/packages/moq/4.20.72/readme.md
vendored
Executable file
102
.nuget/packages/moq/4.20.72/readme.md
vendored
Executable file
@@ -0,0 +1,102 @@
|
||||
<!-- include ../../readme.md#content -->
|
||||
<!-- #content -->
|
||||
The most popular and friendly mocking library for .NET
|
||||
|
||||
```csharp
|
||||
var mock = new Mock<ILoveThisLibrary>();
|
||||
|
||||
// WOW! No record/replay weirdness?! :)
|
||||
mock.Setup(library => library.DownloadExists("2.0.0.0"))
|
||||
.Returns(true);
|
||||
|
||||
// Use the Object property on the mock to get a reference to the object
|
||||
// implementing ILoveThisLibrary, and then exercise it by calling
|
||||
// methods on it
|
||||
ILoveThisLibrary lovable = mock.Object;
|
||||
bool download = lovable.DownloadExists("2.0.0.0");
|
||||
|
||||
// Verify that the given method was indeed called with the expected value at most once
|
||||
mock.Verify(library => library.DownloadExists("2.0.0.0"), Times.AtMostOnce());
|
||||
```
|
||||
|
||||
Moq also is the first and only library so far to provide Linq to Mocks, so that the
|
||||
same behavior above can be achieved much more succinctly:
|
||||
|
||||
```csharp
|
||||
ILoveThisLibrary lovable = Mock.Of<ILoveThisLibrary>(l =>
|
||||
l.DownloadExists("2.0.0.0") == true);
|
||||
|
||||
// Exercise the instance returned by Mock.Of by calling methods on it...
|
||||
bool download = lovable.DownloadExists("2.0.0.0");
|
||||
|
||||
// Simply assert the returned state:
|
||||
Assert.True(download);
|
||||
|
||||
// If you want to go beyond state testing and want to
|
||||
// verify the mock interaction instead...
|
||||
Mock.Get(lovable).Verify(library => library.DownloadExists("2.0.0.0"));
|
||||
```
|
||||
|
||||
You can think of Linq to Mocks as "from the universe of mocks, give me one whose behavior
|
||||
matches this expression".
|
||||
|
||||
Check out the [Quickstart](https://github.com/devlooped/moq/wiki/Quickstart) for more examples!
|
||||
|
||||
<!-- #content -->
|
||||
<!-- ../../readme.md#content -->
|
||||
<!-- include ../../readme.md#sponsors -->
|
||||
<!-- #sponsors -->
|
||||
<!-- include https://raw.githubusercontent.com/devlooped/sponsors/main/footer.md -->
|
||||
# Sponsors
|
||||
|
||||
<!-- include sponsors.md -->
|
||||
[](https://github.com/clarius)
|
||||
[](https://github.com/KirillOsenkov)
|
||||
[](https://github.com/MFB-Technologies-Inc)
|
||||
[](https://github.com/decriptor)
|
||||
[](https://github.com/torutek-gh)
|
||||
[](https://github.com/drivenet)
|
||||
[](https://github.com/AshleyMedway)
|
||||
[](https://github.com/Keflon)
|
||||
[](https://github.com/tbolon)
|
||||
[](https://github.com/kfrancis)
|
||||
[](https://github.com/twenzel)
|
||||
[](https://github.com/Giorgi)
|
||||
[](https://github.com/unoplatform)
|
||||
[](https://github.com/dansiegel)
|
||||
[](https://github.com/rbnswartz)
|
||||
[](https://github.com/jfoshee)
|
||||
[](https://github.com/Mrxx99)
|
||||
[](https://github.com/eajhnsn1)
|
||||
[](https://github.com/IxTechnologies)
|
||||
[](https://github.com/davidjenni)
|
||||
[](https://github.com/Jonathan-Hickey)
|
||||
[](https://github.com/okyrylchuk)
|
||||
[](https://github.com/akunzai)
|
||||
[](https://github.com/jakobt)
|
||||
[](https://github.com/seanalexander)
|
||||
[](https://github.com/tinohager)
|
||||
[](https://github.com/ploeh)
|
||||
[](https://github.com/KenBonny)
|
||||
[](https://github.com/SimonCropp)
|
||||
[](https://github.com/agileworks-eu)
|
||||
[](https://github.com/sorahex)
|
||||
[](https://github.com/arsdragonfly)
|
||||
[](https://github.com/vezel-dev)
|
||||
[](https://github.com/ChilliCream)
|
||||
[](https://github.com/4OTC)
|
||||
[](https://github.com/v-limo)
|
||||
[](https://github.com/brooke-hamilton)
|
||||
|
||||
|
||||
<!-- sponsors.md -->
|
||||
|
||||
[](https://github.com/sponsors/devlooped)
|
||||
|
||||
|
||||
[Learn more about GitHub Sponsors](https://github.com/sponsors)
|
||||
<!-- https://raw.githubusercontent.com/devlooped/sponsors/main/footer.md -->
|
||||
<!-- ../../readme.md#sponsors -->
|
||||
|
||||
<!-- Exclude from auto-expansion by devlooped/actions-include GH action -->
|
||||
<!-- exclude -->
|
||||
Reference in New Issue
Block a user