File indexing completed on 2024-05-19 16:49:24
0001 # SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org> 0002 # 0003 # SPDX-License-Identifier: GPL-2.0-or-later 0004 0005 $LOAD_PATH.unshift(File.absolute_path('../', __dir__)) # ../ 0006 0007 def __test_method_name__ 0008 return @method_name if defined?(:@method_name) 0009 index = 0 0010 caller = '' 0011 until caller.start_with?('test_') 0012 caller = caller_locations(index, 1)[0].label 0013 index += 1 0014 end 0015 caller 0016 end 0017 0018 require 'test/unit'