Skip to content

Commit 6bc1225

Browse files
committed
changes based on comments
1 parent 0c7c3df commit 6bc1225

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

scripts/gha/build_testapps.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,8 @@ def _add_menu_scene(dir_helper):
618618

619619

620620
def _add_automated_test_runner(dir_helper):
621-
"""Copies automated_testpp."""
622-
logging.info("Adding automated_testpp to sample...")
621+
"""Copies automated_testapp."""
622+
logging.info("Adding automated_testapp to sample...")
623623
shutil.copy(
624624
os.path.join(dir_helper.builder_dir, "automated_testapp", "AutomatedTestRunner.cs"),
625625
os.path.join(dir_helper.unity_project_sample_dir, "AutomatedTestRunner.cs"))

scripts/gha/integration_testing/MenuScene/SceneLoader.cs

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2021 Google LLC
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+
115
using System;
216
using UnityEngine;
317

@@ -7,8 +21,8 @@ public sealed class SceneLoader : MonoBehaviour {
721
const string MANUAL = "MainScene";
822
const string AUTOMATIC = "MainSceneAutomated";
923

10-
// After loading this scene, the automated scene will be loaded by default
11-
// after this many seconds.
24+
// After loading this scene, the user can select to load manual or automated scene
25+
// After this many seconds, the automated scene will be loaded by default
1226
const float TIMEOUT = 6f;
1327

1428
float secondsUntilTimeout;

0 commit comments

Comments
 (0)