From e7fd54fcdeb988af7f75f15be74802abd95bc6c0 Mon Sep 17 00:00:00 2001 From: Kyle Ambroff-Kao Date: Mon, 3 Feb 2020 02:15:06 -0800 Subject: [PATCH] tests/haikudepot: Fix build of ValidationUtilsTest Changeset 835e7239d added some additional tests for HaikuDepot, but ValidationUtilsTest::AddTest references a test method which doesn't exist. I think the intention was to have TestEmailInvalid defined, but it was split into more granular tests like TestEmailInvalidNoDomain, etc. Just removing this undefined test from the suite. Change-Id: I858233df29657d07d78ad1784691572e65a26045 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2183 Reviewed-by: Adrien Destugues --- src/tests/apps/haikudepot/ValidationUtilsTest.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/tests/apps/haikudepot/ValidationUtilsTest.cpp b/src/tests/apps/haikudepot/ValidationUtilsTest.cpp index 8d2fd2f856..a98a792e12 100644 --- a/src/tests/apps/haikudepot/ValidationUtilsTest.cpp +++ b/src/tests/apps/haikudepot/ValidationUtilsTest.cpp @@ -151,10 +151,6 @@ ValidationUtilsTest::AddTests(BTestSuite& parent) CppUnit::TestSuite& suite = *new CppUnit::TestSuite( "ValidationUtilsTest"); - suite.addTest( - new CppUnit::TestCaller( - "ValidationUtilsTest::TestEmailInvalid", - &ValidationUtilsTest::TestEmailInvalid)); suite.addTest( new CppUnit::TestCaller( "ValidationUtilsTest::TestEmailValid", @@ -181,4 +177,4 @@ ValidationUtilsTest::AddTests(BTestSuite& parent) &ValidationUtilsTest::TestPasswordClearValid)); parent.addTest("ValidationUtilsTest", &suite); -} \ No newline at end of file +}