Resolve WES-181 "Missing code doc"
This commit is contained in:
committed by
Louis Adriaens
parent
7505ae7262
commit
3d99184717
@@ -1,16 +1,18 @@
|
||||
using UnityEditor;
|
||||
using NUnit.Framework;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.TestTools;
|
||||
using NUnit.Framework;
|
||||
|
||||
/// <summary>
|
||||
/// Test the UserButton class
|
||||
/// </summary>
|
||||
public class UserButtonTests
|
||||
{
|
||||
/// <summary>
|
||||
/// Setup the environment before each test
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[UnitySetUp]
|
||||
public IEnumerator SetupFunction()
|
||||
{
|
||||
@@ -37,7 +39,6 @@ public class UserButtonTests
|
||||
/// <summary>
|
||||
/// Test the ChangeUserCallback on the UserButton
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[UnityTest]
|
||||
public IEnumerator ChangeUserCallbackTest()
|
||||
{
|
||||
@@ -52,7 +53,6 @@ public class UserButtonTests
|
||||
/// <summary>
|
||||
/// Test if the username and avatar are correctly loaded
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[UnityTest]
|
||||
public IEnumerator CorrectUsernameAndAvatarTest()
|
||||
{
|
||||
@@ -63,10 +63,10 @@ public class UserButtonTests
|
||||
|
||||
yield return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the transition to UserProgressScreen
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[UnityTest]
|
||||
public IEnumerator ChangeSceneToUserProgressScreenTest()
|
||||
{
|
||||
@@ -78,10 +78,10 @@ public class UserButtonTests
|
||||
var userProgressScreen = GameObject.FindObjectOfType<UserProgressScreen>();
|
||||
Assert.IsNotNull(userProgressScreen, "Scene was not correctly changed to UserProgressScreen.");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test is the user dropdown menu works correctly
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[UnityTest]
|
||||
public IEnumerator ToggleDropdownTest()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user