Skip to content

Commit b1ba437

Browse files
committed
mark TODO comments
1 parent 39d3004 commit b1ba437

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

obs-studio-server/tests/obs-setup.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ void setupApi()
3131
CHECK(g_util_osx->hasInitApi());
3232
#endif
3333
const std::string appPath = std::string(OSN_SOURCE_DIR) + "/tests/osn-tests/osnData/slobs-client";
34-
// osn.NodeObs.OBS_API_initAPI(this.language, this.obsPath, this.version, this.crashServer);
3534
std::vector<ipc::value> args = {ipc::value(appPath), ipc::value("en-US"), ipc::value("0.00.00-preview.0"), ipc::value("")};
3635
std::vector<ipc::value> response;
3736
OBS_API::OBS_API_initAPI(nullptr, 0, args, response);

obs-studio-server/tests/test-osn-source.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ TEST_CASE("Run osn::source tests")
4747
workers.push_back(std::thread([sourceId, i, &releaseOk]() {
4848

4949
#if defined(TRIGGER_CRASH)
50-
// Enable this code block once staging (commit cc4a0431) is merged.
50+
// TODO: Enable this code block once staging (commit cc4a0431) is merged.
5151
// Release the refcount to trigger actual private data destruction
5252
obs_source_t *src = osn::Source::Manager::GetInstance().find(sourceId); // may be null already
5353
if (src) {
5454
obs_source_release(src);
5555
releaseOk[i] = true;
5656
}
5757
#else
58-
// delete this block after staging (commit cc4a0431) is merged.
58+
// TODO: delete this block after staging (commit cc4a0431) is merged.
5959
std::vector<ipc::value> propArgs = {ipc::value(sourceId)};
6060
std::vector<ipc::value> propResponse;
6161
osn::Source::Release(nullptr, 0, propArgs, propResponse);
@@ -80,7 +80,7 @@ TEST_CASE("Run osn::source tests")
8080
CHECK(expectedErrorCode);
8181
}
8282
#if defined(TRIGGER_CRASH)
83-
// Enable this code block once staging (commit cc4a0431) is merged.
83+
// TODO: Enable this code block once staging (commit cc4a0431) is merged.
8484
CHECK(sourceCount == osn::Source::Manager::GetInstance().size()); // Check to see if all objects released.
8585
#endif
8686
}

0 commit comments

Comments
 (0)