This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
improbable-prow-robot
added
do-not-merge/work-in-progress
Indicates that a PR should not merge because it is a work in progress.
jira/no-ticket
Indicates a PR has no corresponding JIRA ticket
labels
Jul 22, 2020
improbable-prow-robot
added
A: build-system
Area: Build system feature module
A: core
Area: Core GDK
labels
Jul 22, 2020
improbable-prow-robot
added
A: playground
Area: Playground
size/XL
Denotes a PR that changes 300-599 lines, ignoring generated files.
A: tooling
Area: Tooling
size/L
Denotes a PR that changes 150-299 lines, ignoring generated files.
and removed
size/XL
Denotes a PR that changes 300-599 lines, ignoring generated files.
labels
Jul 22, 2020
BryanJY-Wong
commented
Jul 22, 2020
workers/unity/Packages/io.improbable.gdk.testutils/MockCommandSender.cs
Outdated
Show resolved
Hide resolved
BryanJY-Wong
changed the title
Feature/enable command tests
UTY-2508: enable command tests
Jul 22, 2020
improbable-prow-robot
removed
the
jira/no-ticket
Indicates a PR has no corresponding JIRA ticket
label
Jul 22, 2020
Corresponding JIRA ticket: https://improbableio.atlassian.net/browse/UTY-2508 |
BryanJY-Wong
force-pushed
the
feature/enable-command-tests
branch
from
July 22, 2020 12:46
04043c6
to
56f0bc2
Compare
BryanJY-Wong
changed the title
UTY-2508: enable command tests
UTY-2508: enable command tests (WIP)
Jul 22, 2020
improbable-prow-robot
added
size/XL
Denotes a PR that changes 300-599 lines, ignoring generated files.
and removed
size/L
Denotes a PR that changes 150-299 lines, ignoring generated files.
labels
Jul 23, 2020
workers/unity/Packages/io.improbable.gdk.core/Systems/CommandSystem.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.core/Systems/CommandSystem.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.testutils/MockCommandSender.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.testutils/MockCommandSender.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.testutils/MockCommandSender.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.testutils/MockCommandSender.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.testutils/MockCommandSender.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.testutils/MockWorld.cs
Outdated
Show resolved
Hide resolved
BryanJY-Wong
commented
Jul 23, 2020
workers/unity/Packages/io.improbable.gdk.testutils/MockCommandSender.cs
Outdated
Show resolved
Hide resolved
paulbalaji
reviewed
Jul 23, 2020
workers/unity/Packages/io.improbable.gdk.testutils/MockWorld.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some structural and naming suggestions, but this is looking good
workers/unity/Assets/Tests/EditmodeTests/Correctness/Core/NullableResponseTests.cs
Outdated
Show resolved
Hide resolved
workers/unity/Assets/Tests/EditmodeTests/Correctness/Subscriptions/CommandTests.cs
Outdated
Show resolved
Hide resolved
workers/unity/Assets/Tests/EditmodeTests/Correctness/Subscriptions/CommandTests.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.core/Dynamic/ComponentDatabase.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.core/Systems/CommandSystem.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.testutils/MockCommandSender.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.testutils/MockCommandSender.cs
Outdated
Show resolved
Hide resolved
BryanJY-Wong
force-pushed
the
feature/enable-command-tests
branch
from
July 27, 2020 11:55
5d3f25f
to
c101ce6
Compare
paulbalaji
reviewed
Jul 29, 2020
workers/unity/Assets/Tests/EditmodeTests/Correctness/Core/CommandReceivedResponseTests.cs
Outdated
Show resolved
Hide resolved
BryanJY-Wong
force-pushed
the
feature/enable-command-tests
branch
from
July 29, 2020 14:03
51cb38a
to
b8a444e
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
paulbalaji
approved these changes
Jul 29, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A: build-system
Area: Build system feature module
A: core
Area: Core GDK
A: playground
Area: Playground
A: tooling
Area: Tooling
jira/UTY
size/XL
Denotes a PR that changes 300-599 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Created a
MockCommandSender
to inject intoCommandSystem
during construction of theMockWorld
. This allows generating stub responses either singularly through a knownCommandRequestId
or generating all responses for all "sent" requests.Tests
Created example use case using the
Launcher
component.Documentation
How is this documented (for example: release note, upgrade guide, feature page, in-code documentation)?
Did you remember a changelog entry?
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.