Skip to content

Commit 5bc6942

Browse files
committed
Removes test since there is no longer control of async operations
1 parent cd14774 commit 5bc6942

2 files changed

Lines changed: 42 additions & 345 deletions

File tree

Orm/Xtensive.Orm.Tests/Storage/AsyncQueries/ExecuteAsyncExtensionTest.cs

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2019-2020 Xtensive LLC.
1+
// Copyright (C) 2019-2020 Xtensive LLC.
22
// This code is distributed under MIT license terms.
33
// See the License.txt file in the project root for more information.
44
// Created by: Alexey Kulakov
@@ -11,8 +11,47 @@
1111
using NUnit.Framework;
1212
using Xtensive.Core;
1313
using Xtensive.Orm.Configuration;
14-
using Xtensive.Orm.Tests.Storage.ConcurrentCommandProcessorExecutionModel;
15-
using Xtensive.Orm.Tests.Storage.Prefetch;
14+
using Xtensive.Orm.Tests.Storage.ExecuteAsyncExtensionTestModel;
15+
16+
namespace Xtensive.Orm.Tests.Storage.ExecuteAsyncExtensionTestModel
17+
{
18+
[HierarchyRoot]
19+
public class TestEntity : Entity
20+
{
21+
[Field, Key]
22+
public int Id { get; private set; }
23+
24+
[Field]
25+
public string Name { get; set; }
26+
27+
[Field]
28+
public DateTime CreationDate { get; set; }
29+
30+
[Field]
31+
public long Value { get; set; }
32+
33+
public TestEntity(Session session)
34+
: base(session)
35+
{
36+
}
37+
}
38+
39+
[HierarchyRoot]
40+
public class EntitySetContainer : Entity
41+
{
42+
[Field, Key]
43+
public int Id { get; private set; }
44+
45+
[Field]
46+
public EntitySet<TestEntity> EntitySet { get; set; }
47+
48+
public EntitySetContainer(Session session)
49+
: base(session)
50+
{
51+
}
52+
}
53+
}
54+
1655

1756
namespace Xtensive.Orm.Tests.Storage
1857
{

Orm/Xtensive.Orm.Tests/Storage/ConcurrentCommandProcessorExecution.cs

Lines changed: 0 additions & 342 deletions
This file was deleted.

0 commit comments

Comments
 (0)