Skip to content

Commit

Permalink
Test for #4336
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Jun 1, 2021
1 parent 92a416c commit ad34e59
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/utilities/bcl/test/BCL_GTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,3 +462,15 @@ TEST_F(BCLFixture, 4014_Crash) {
// Try again, should not segfault
success = remoteBCL.downloadComponent(uid);
}


TEST_F(BCLFixture, RemoteBCL_EncodingURI) {

// Test for #4336
RemoteBCL remoteBCL;

// get all constructions, via empty first arg and tid
ASSERT_NO_THROW(remoteBCL.searchComponentLibrary("ashrae 4A", 127));
std::vector<BCLSearchResult> responses = remoteBCL.searchComponentLibrary("ashrae 4A", 127);
ASSERT_GT(responses.size(), 0u);
}

0 comments on commit ad34e59

Please sign in to comment.