Skip to content

Commit 34db851

Browse files
authored
chore: Cleaning up Auth integration tests (#239)
* chore: Cleaning up Auth integration tests * fix: Added newline at the eof
1 parent 7ece40c commit 34db851

File tree

8 files changed

+857
-1034
lines changed

8 files changed

+857
-1034
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Copyright 2020, Google Inc. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
using FirebaseAdmin.Auth;
16+
17+
namespace FirebaseAdmin.IntegrationTests.Auth
18+
{
19+
/// <summary>
20+
/// A fixture API that facilitates running the same set of integration tests on different
21+
/// implementations of <c>AbstractFirebaseAuth</c>.
22+
/// </summary>
23+
public abstract class AbstractAuthFixture<T>
24+
where T : AbstractFirebaseAuth
25+
{
26+
public abstract T Auth { get; }
27+
28+
public abstract TemporaryUserBuilder UserBuilder { get; }
29+
30+
public abstract string TenantId { get; }
31+
32+
public abstract T AuthFromApp(FirebaseApp app);
33+
}
34+
}

0 commit comments

Comments
 (0)