summaryrefslogtreecommitdiff
path: root/indra/llfilesystem/tests/lldiriterator_test.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2021-03-09 14:26:24 -0800
committerCallum Prentice <callum@lindenlab.com>2021-03-09 14:26:24 -0800
commit519cbcecdf78e4dfc3adc465ae8cebed5df71647 (patch)
treeefa8e20856dbfc80e1ae44283cbd0139b828b1b2 /indra/llfilesystem/tests/lldiriterator_test.cpp
parentada8ad1bc21665631f030c3194a567ea6f6a2a72 (diff)
parent88d837c16e768c5262073a7df965066d4bd8842c (diff)
Merge with master before reseting to revert (revert) and get back to D519 status
Diffstat (limited to 'indra/llfilesystem/tests/lldiriterator_test.cpp')
-rw-r--r--indra/llfilesystem/tests/lldiriterator_test.cpp65
1 files changed, 0 insertions, 65 deletions
diff --git a/indra/llfilesystem/tests/lldiriterator_test.cpp b/indra/llfilesystem/tests/lldiriterator_test.cpp
deleted file mode 100644
index a65e3dada5..0000000000
--- a/indra/llfilesystem/tests/lldiriterator_test.cpp
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * @file lldiriterator_test.cpp
- * @date 2011-06
- * @brief LLDirIterator test cases.
- *
- * $LicenseInfo:firstyear=2011&license=viewerlgpl$
- * Second Life Viewer Source Code
- * Copyright (C) 2011, Linden Research, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation;
- * version 2.1 of the License only.,
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
- * $/LicenseInfo$
- */
-
-#include "linden_common.h"
-#include "lltut.h"
-#include "../lldiriterator.h"
-
-
-namespace tut
-{
-
- struct LLDirIteratorFixture
- {
- LLDirIteratorFixture()
- {
- }
- };
- typedef test_group<LLDirIteratorFixture> LLDirIteratorTest_factory;
- typedef LLDirIteratorTest_factory::object LLDirIteratorTest_t;
- LLDirIteratorTest_factory tf("LLDirIterator");
-
- /*
- CHOP-662 was originally introduced to deal with crashes deleting files from
- a directory (VWR-25500). However, this introduced a crash looking for
- old chat logs as the glob_to_regex function in lldiriterator wasn't escaping lots of regexp characters
- */
- void test_chop_662(void)
- {
- // Check a selection of bad group names from the crash reports
- LLDirIterator iter(".","+bad-group-name]+?\?-??.*");
- LLDirIterator iter1(".","))--@---bad-group-name2((?\?-??.*\\.txt");
- LLDirIterator iter2(".","__^v--x)Cuide d sua vida(x--v^__?\?-??.*");
- }
-
- template<> template<>
- void LLDirIteratorTest_t::test<1>()
- {
- test_chop_662();
- }
-
-}