AleksandraLebedeva 2 سال پیش
والد
کامیت
a18e153104

+ 0 - 20
TestProject/TestProject.csproj

@@ -1,20 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
-  <PropertyGroup>
-    <TargetFramework>netcoreapp3.1</TargetFramework>
-
-    <IsPackable>false</IsPackable>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
-    <PackageReference Include="MSTest.TestAdapter" Version="2.2.3" />
-    <PackageReference Include="MSTest.TestFramework" Version="2.2.3" />
-    <PackageReference Include="coverlet.collector" Version="3.0.2" />
-  </ItemGroup>
-
-  <ItemGroup>
-    <ProjectReference Include="..\Glass\Glass.csproj" />
-  </ItemGroup>
-
-</Project>

+ 0 - 23
TestProject/UnitTest1.cs

@@ -1,23 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using System.Data.SqlClient;
-using System;
-using Glass;
-
-namespace TestProject
-{
-    [TestClass]
-    public class UnitTest1
-    {
-        [TestMethod]
-        public void KorrectnVvodDannyKlienta()
-        {
-            bool check = true;
-
-            Client_add enemy = new Client_add();
-            bool value = false;
-            enemy.checkData(ref value, "Ïîïîâ", "Ïàâåë", "Èâàíîâè÷", 1,  "+7 (252) 476-30-68");
-
-            Assert.AreEqual(check, value);
-        }
-    }
-}

+ 0 - 16
TestProject1/TestProject1.csproj

@@ -1,16 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
-  <PropertyGroup>
-    <TargetFramework>netcoreapp3.1</TargetFramework>
-
-    <IsPackable>false</IsPackable>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
-    <PackageReference Include="NUnit" Version="3.13.1" />
-    <PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
-    <PackageReference Include="coverlet.collector" Version="3.0.2" />
-  </ItemGroup>
-
-</Project>

+ 0 - 18
TestProject1/UnitTest1.cs

@@ -1,18 +0,0 @@
-using NUnit.Framework;
-
-namespace TestProject1
-{
-    public class Tests
-    {
-        [SetUp]
-        public void Setup()
-        {
-        }
-
-        [Test]
-        public void Test1()
-        {
-            Assert.Pass();
-        }
-    }
-}

+ 0 - 20
TestProjectt/TestProjectt.csproj

@@ -1,20 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
-  <PropertyGroup>
-    <TargetFramework>netcoreapp3.1</TargetFramework>
-
-    <IsPackable>false</IsPackable>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
-    <PackageReference Include="MSTest.TestAdapter" Version="2.2.3" />
-    <PackageReference Include="MSTest.TestFramework" Version="2.2.3" />
-    <PackageReference Include="coverlet.collector" Version="3.0.2" />
-  </ItemGroup>
-
-  <ItemGroup>
-    <ProjectReference Include="..\Glass\Glass.csproj" />
-  </ItemGroup>
-
-</Project>

+ 0 - 23
TestProjectt/UnitTest1.cs

@@ -1,23 +0,0 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using System;
-using System.Data.SqlClient;
-using Glass;
-
-namespace TestProjectt
-{
-    [TestClass]
-    public class UnitTest1
-    {
-        [TestMethod]
-        public void roverka_na_korreknost_dann()
-        {
-            bool check = true;
-
-           Client_add enemy = new Client_add();
-            bool value = false;
-            enemy.checkData(check: ref value, surname: "Ïîïîâ", name: "Ïàâåë", patronymic: "Èâàíîâè÷", city: 1, phone: "+7 (252) 476-30-68");
-
-            Assert.AreEqual(check, value);
-        }
-    }
-}