Watson Developer Cloud Unity SDK
1.0.0
The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems.
|
This is the base class for all UnitTest classes. Derive from this class and implement the RunTest() function. More...
Public Member Functions | |
abstract IEnumerator | RunTest () |
void | Test (bool condition) |
Utility function that fails this test if false. More... | |
virtual string | ProjectToTest () |
Public Attributes | |
int | TestCredentialIndex = 0 |
Which credential should the tests use. Default is 0. More... | |
Protected Attributes | |
string | _url |
Properties | |
bool | TestFailed [get, set] |
This is the base class for all UnitTest classes. Derive from this class and implement the RunTest() function.
|
inlinevirtual |
|
pure virtual |
Implemented in IBM.Watson.DeveloperCloud.UnitTests.TestAlchemyAPI, IBM.Watson.DeveloperCloud.UnitTests.TestRetrieveAndRank, IBM.Watson.DeveloperCloud.UnitTests.TestDiscovery, IBM.Watson.DeveloperCloud.UnitTests.TestSpeechToText, IBM.Watson.DeveloperCloud.UnitTests.TestVisualRecognition, IBM.Watson.DeveloperCloud.UnitTests.TestNaturalLanguageClassifier, IBM.Watson.DeveloperCloud.UnitTests.TestTextToSpeech, IBM.Watson.DeveloperCloud.UnitTests.TestLanguageTranslator, IBM.Watson.DeveloperCloud.UnitTests.TestPersonalityInsightsV3, IBM.Watson.DeveloperCloud.UnitTests.TestConversation, IBM.Watson.DeveloperCloud.UnitTests.TestDocumentConversion, IBM.Watson.DeveloperCloud.UnitTests.TestToneAnalyzer, IBM.Watson.DeveloperCloud.UnitTests.TestTradeoffAnalytics, IBM.Watson.DeveloperCloud.UnitTests.TestNaturalLanguageUnderstanding, IBM.Watson.DeveloperCloud.UnitTests.TestEventManager, and IBM.Watson.DeveloperCloud.UnitTests.TestRunnable.
|
inline |
Utility function that fails this test if false.
condition | If false then the test is failed and the failure is logged. |
|
protected |
int IBM.Watson.DeveloperCloud.UnitTests.UnitTest.TestCredentialIndex = 0 |
Which credential should the tests use. Default is 0.
|
getset |