Skip to content

Commit 7de8476

Browse files
committed
integration tests for Alchemy Language
1 parent 5ed99b1 commit 7de8476

File tree

4 files changed

+1337
-30
lines changed

4 files changed

+1337
-30
lines changed

Examples/ServiceExamples/Scripts/ExampleAlchemyLanguage.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void Start () {
3232
string unitySDK_release_html = Application.dataPath + "/Watson/Examples/ServiceExamples/TestData/unitySDK_release.html";
3333
string watson_beats_jeopardy_html = Application.dataPath + "/Watson/Examples/ServiceExamples/TestData/watson_beats_jeopardy.html";
3434
string microformats_html = Application.dataPath + "/Watson/Examples/ServiceExamples/TestData/microformats.html";
35-
string ycombindator_html = Application.dataPath + "/Watson/Examples/ServiceExamples/TestData/ycombinator_html.html";
35+
string ycombinator_html = Application.dataPath + "/Watson/Examples/ServiceExamples/TestData/ycombinator_news.html";
3636
// Get Author URL POST
3737
// if(!m_AlchemyLanguage.GetAuthors(OnGetAuthors, m_ExampleURL_watsonJeopardy))
3838
// Log.Debug("ExampleAlchemyLanguage", "Failed to get authors URL POST!");
@@ -94,7 +94,7 @@ void Start () {
9494
// Log.Debug("ExampleAlchemyLanguage", "Failed to get feeds by URL POST");
9595

9696
// Detect Feeds HTML POST
97-
// if(!m_AlchemyLanguage.DetectFeeds(OnDetectFeeds, ycombindator_html))
97+
// if(!m_AlchemyLanguage.DetectFeeds(OnDetectFeeds, ycombinator_html))
9898
// Log.Debug("ExampleAlchemyLanguage", "Failed to get feeds by URL POST");
9999

100100
// Extract Keywords URL POST
@@ -130,12 +130,12 @@ void Start () {
130130
// Log.Debug("ExampleAlchemyLanguage", "Failed to get microformats by text POST");
131131

132132
// Get PublicationDate URL POST
133-
if(!m_AlchemyLanguage.GetPublicationDate(OnGetPublicationDate, m_ExampleURL_watsonJeopardy))
134-
Log.Debug("ExampleAlchemyLanguage", "Failed to get publication dates by url POST");
133+
// if(!m_AlchemyLanguage.GetPublicationDate(OnGetPublicationDate, m_ExampleURL_watsonJeopardy))
134+
// Log.Debug("ExampleAlchemyLanguage", "Failed to get publication dates by url POST");
135135

136136
// Get PublicationDate HTML POST
137-
if(!m_AlchemyLanguage.GetPublicationDate(OnGetPublicationDate, watson_beats_jeopardy_html))
138-
Log.Debug("ExampleAlchemyLanguage", "Failed to get publication dates by html POST");
137+
// if(!m_AlchemyLanguage.GetPublicationDate(OnGetPublicationDate, watson_beats_jeopardy_html))
138+
// Log.Debug("ExampleAlchemyLanguage", "Failed to get publication dates by html POST");
139139

140140
// Get Relations URL POST
141141
// if(!m_AlchemyLanguage.GetRelations(OnGetRelations, m_ExampleURL_watsonJeopardy))

0 commit comments

Comments
 (0)