Home
last modified time | relevance | path

Searched +full:test +full:- +full:static +full:- +full:rel (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/external/tinyxml2/.github/workflows/
Dtest.yml1 name: Test
4 test:
7 fail-fast: false
9 os: [ windows-2019, macos-latest, ubuntu-20.04 ]
12 - os: windows-2019
17 - os: ubuntu-20.04
20 - os: macos-latest
23 - cmake: 3.15
25 - cmake: 3.x
31 runs-on: ${{ matrix.os }}
[all …]
/external/owasp/sanitizer/src/tests/org/owasp/html/
DSanitizersTest.java31 import org.junit.Test;
37 @Test
38 public static final void testFormatting() { in testFormatting()
53 @Test
54 public static final void testBlockElements() { in testBlockElements()
68 @Test
69 public static final void testBlockAndFormattingElements() { in testBlockAndFormattingElements()
85 @Test
86 public static final void testStylesAndFormatting() { in testStylesAndFormatting()
89 String input = "<span style=\"font-weight:bold;" in testStylesAndFormatting()
[all …]
DAntiSamyTest.java2 * Copyright (c) 2007-2010, Arshan Dabirsiaghi, Jason Li
37 import junit.framework.Test;
51 static final boolean RUN_KNOWN_FAILURES = false;
52 static final boolean DISABLE_INTERNETS = false;
54 private static HtmlSanitizer.Policy makePolicy(Appendable buffer) { in makePolicy()
92 private static String sanitize(String html) {
100 private static final String[] BASE64_BAD_XML_STRINGS = new String[] {
102 // "<a - href=\"http://www.owasp.org\">click here</a>"
130 public static Test suite() {
168 System.out.println(" -Maximum input size 640000 exceeded. SKIPPING.");
[all …]
DExamplesTest.java39 import org.junit.Test;
45 @Test
46 public static final void testExamplesRun() throws Exception { in testExamplesRun()
53 PrintStream capturingOut = new PrintStream(captured, true, "UTF-8"); in testExamplesRun()
67 + captured.toString("UTF-8")); in testExamplesRun()
77 @Test
78 public static final void testSanitizeRemovesScripts() { in testSanitizeRemovesScripts()
86 @Test
87 public static final void testSanitizeRemovesOnclick() { in testSanitizeRemovesOnclick()
93 @Test
[all …]
/external/OpenCSD/decoder/docs/
Dbuild_libs.md4 @brief How to build the library and test programs and include the library in an application
7 ----------------
10 - Linux and Windows, x86 or x64 hosts.
11 - ARM linux - AArch32 and AArch64
12 - ARM aarch32 and aarch64 libs, x-compiled on x86/64 hosts.
18 --------------------
20 The library and test programs are built from the library `./build/<platform>` directory, where
21 <platform> is either 'linux' or 'win-vs2022'
23 See [`./docs/test_progs.md`](@ref test_progs) for further information on use of the test
29 libraries in `decoder/lib/<tgt_dir>`, and also as a sub-directory of the build process for
[all …]
/external/testng/doc/
Dmigrating.html3 <title>TestNG - Migrating from JUnit</title>
5 <link rel="stylesheet" href="testng.css" type="text/css" />
6 <link type="text/css" rel="stylesheet" href="http://beust.com/beust.css" />
15 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shCore.css"/>
16 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shThemeCedric.css"/>
35 …e Eclipse TestNG plug-in refactoring support. You will find a full description of its features in …
38 …f you are porting code that uses JUnit's asserts, you might want to us a static import of that cla…
41 import static org.testng.AssertJUnit.*;
49 change your test runner from JUnit to TestNG in Ant and then run TestNG in <tt>"mixed"</tt> mode.
53 <h4>Example - replacing JUnit Ant task with TestNG one</h4>
[all …]
Dindex.html3 <title>TestNG - Welcome</title>
4 <link rel="stylesheet" href="testng.css" type="text/css" />
5 <link type="text/css" rel="stylesheet" href="http://beust.com/beust.css" />
14 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shCore.css"/>
15 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shThemeCedric.css"/>
35 <img border="0" src="http://beust.com/pics/book-cover.jpg" />
44 <p align="right"><font size="-2"><em>C&eacute;dric Beust (cedric at beust.com)<br>
56 (all methods in their own thread, one thread per test class, etc...).
58 <li>Test that your code is multithread safe.
60 <li>Flexible test configuration.
[all …]
Dselenium.html7 <link rel="stylesheet" href="testng.css" type="text/css" />
8 <link type="text/css" rel="stylesheet" href="http://beust.com/beust.css" />
16 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shCore.css"/>
17 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shThemeCedric.css"/>
25 /* Set the command-line table option column width. */
26 #command-line colgroup.option {
39 …d from <a href="http://knorrium.info/2010/08/31/using-testng-to-launch-your-tests-and-the-selenium
46 <li><a href="#configuration_methods">How to configure your test</a>
49 <li><a href="#future">How to make the test design a little better for the future</a>
52 <h3><a name="#modeling">Modeling your test case</a></h3>
[all …]
/external/icu/icu4j/main/framework/src/test/java/com/ibm/icu/dev/util/
DCollectionUtilities.java5 * Copyright (C) 1996-2015, International Business Machines Corporation and *
36 public static <T> String join(T[] array, String separator) { in join()
54 public static <T, U extends Iterable<T>>String join(U collection, String separator) { in join()
73 public static <T> Map<T,T> asMap(T[][] source, Map<T,T> target, boolean reverse) { in asMap()
92 public static <T, U extends Collection<T>> U addAll(Iterator<T> source, U target) { in addAll()
104 public static int size(Iterator source) { in size()
119 public static <T> Map<T,T> asMap(T[][] source) { in asMap()
131 public static <K,V> Map<K,V> removeAll(Map<K,V> m, Collection<K> itemsToRemove) { in removeAll()
161 public static <T, U extends Collection<T>> T getBest(U c, Comparator<T> comp, int direction) { in getBest()
202 public static class InverseMatcher<T> implements ObjectMatcher<T> {
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DCollectionUtilities.java6 * Copyright (C) 1996-2015, International Business Machines Corporation and *
39 public static <T> String join(T[] array, String separator) { in join()
57 public static <T, U extends Iterable<T>>String join(U collection, String separator) { in join()
76 public static <T> Map<T,T> asMap(T[][] source, Map<T,T> target, boolean reverse) { in asMap()
95 public static <T, U extends Collection<T>> U addAll(Iterator<T> source, U target) { in addAll()
107 public static int size(Iterator source) { in size()
122 public static <T> Map<T,T> asMap(T[][] source) { in asMap()
134 public static <K,V> Map<K,V> removeAll(Map<K,V> m, Collection<K> itemsToRemove) { in removeAll()
164 public static <T, U extends Collection<T>> T getBest(U c, Comparator<T> comp, int direction) { in getBest()
205 public static class InverseMatcher<T> implements ObjectMatcher<T> {
[all …]
/external/elfutils/tests/
Drun-nm-syms.sh18 . $srcdir/test-subr.sh
23 # static void *SYM4;
26 # static void *SYM7 = &SYM3;
31 # static void FUN2 (void) { }
41 # gcc -m64 -c syms.c -o testfilesyms64
42 # gcc -m32 -c syms.c -o testfilesyms32
46 testrun_compare ${abs_top_builddir}/src/nm --format=bsd testfilesyms32 <<\EOF
65 testrun_compare ${abs_top_builddir}/src/nm --format=posix testfilesyms32 <<\EOF
84 testrun_compare ${abs_top_builddir}/src/nm --format=sysv testfilesyms32 <<\EOF
91 FREF |00000008|GLOBAL|OBJECT |00000004| |.data.rel
[all …]
Ddwflsyms.c1 /* Test program for libdwfl symbol resolving
30 static const char *
33 switch (GELF_ST_TYPE (sym->st_info)) in gelf_type()
54 static const char *
57 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind()
70 static int
73 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind_order()
86 static const char *
106 static int
115 printf ("%s: %s\n", mod_name, dwfl_errmsg (-1)); in list_syms()
[all …]
/external/clang/www/analyzer/
Dfiling_bugs.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
6 <link type="text/css" rel="stylesheet" href="menu.css">
7 <link type="text/css" rel="stylesheet" href="content.css">
13 <!--#include virtual="menu.html.incl"-->
27 <li>Provide a self-contained, reduced test case that exhibits the issue you are
30 <li>Test cases don't tell us everything. Please briefly describe the problem you
41 bugs</a> in LLVM's Bugzilla database against the Clang <b>Static Analyzer</b>
55 <h2>Apple-internal Users</h2>
57 <p>Please file bugs in Radar against the <b>clang - static analyzer</b> component.</p>
/external/cronet/url/
Durl_util_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
13 #include "testing/gtest/include/gtest/gtest-message.h"
22 class URLUtilTest : public testing::Test {
101 static const char kFooScheme[] = "foo"; in TEST_F()
110 static const char kFooScheme[] = "foo"; in TEST_F()
162 replacements.SetRef("test", Component(0, 4)); in TEST_F()
167 replacements.SetHost("test", Component(0, 4)); in TEST_F()
181 static std::string CheckReplaceScheme(const char* base_url, in CheckReplaceScheme()
243 " !\"#$%&'()*+,-.//"}, in TEST_F()
286 // Test the error behavior for invalid UTF-8. in TEST_F()
[all …]
/external/ltp/testcases/kernel/uevents/
Duevent03.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) Linux Test Project, 2019-2023
9 * Very simple uevent netlink socket test.
25 static int mouse_fd;
27 static void create_uinput_mouse(void) in create_uinput_mouse()
34 static void destroy_uinput_mouse(void) in destroy_uinput_mouse()
39 static void get_minor_major(char *device, char *minor, char *major, size_t buf_sizes) in get_minor_major()
54 static void verify_uevent(void) in verify_uevent()
82 "NAME=\"virtual-device-ltp\"", in verify_uevent()
85 "REL=3", in verify_uevent()
[all …]
/external/jsoup/src/test/java/org/jsoup/safety/
DCleanerTest.java11 import org.junit.jupiter.api.Test;
18 import static org.junit.jupiter.api.Assertions.*;
25 @Test public void simpleBehaviourTest() { in simpleBehaviourTest()
32 @Test public void simpleBehaviourTest2() { in simpleBehaviourTest2()
39 @Test public void basicBehaviourTest() { in basicBehaviourTest()
43 …assertEquals("<p><a rel=\"nofollow\">Dodgy</a> <a href=\"http://nice.com\" rel=\"nofollow\">Nice</… in basicBehaviourTest()
47 @Test public void basicWithImagesTest() { in basicWithImagesTest()
53 @Test public void testRelaxed() { in testRelaxed()
59 @Test public void testRemoveTags() { in testRemoveTags()
66 @Test public void testRemoveAttributes() { in testRemoveAttributes()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/
DSourceFilePageTest.java5 * http://www.eclipse.org/legal/epl-2.0
7 * SPDX-License-Identifier: EPL-2.0
10 * Marc R. Hoffmann - initial API and implementation
15 import static org.junit.Assert.assertEquals;
16 import static org.junit.Assert.assertNotNull;
24 import org.junit.Test;
40 "UTF-8"); in setup()
43 @Test
55 assertEquals("jacoco-resources/report.css", support.findStr(result, in testContents()
56 "/html/head/link[@rel='stylesheet'][1]/@href")); in testContents()
[all …]
DReportPageTest.java5 * http://www.eclipse.org/legal/epl-2.0
7 * SPDX-License-Identifier: EPL-2.0
10 * Marc R. Hoffmann - initial API and implementation
15 import static org.junit.Assert.assertEquals;
16 import static org.junit.Assert.assertFalse;
17 import static org.junit.Assert.assertTrue;
25 import org.junit.Test;
51 body.div("testcontent").text("Hello Test"); in content()
74 page = new TestReportPage("Test", "el_group", rootpage); in setup()
77 @Test
[all …]
/external/iperf3/
Diperf3.spec.in9 Source0: https://downloads.es.net/pub/iperf/iperf-%{version}.tar.gz
10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
13 BuildRequires: e2fsprogs-devel, openssl-devel
15 BuildRequires: openssl-devel
21 parameters related to timing, protocols, and buffers. For each test,
29 The %{name}-devel package contains libraries and header files for
33 %setup -q -n iperf-%{version}
40 rm -rf $RPM_BUILD_ROOT
41 %makeinstall -C src INSTALL_DIR="%{buildroot}%{_bindir}"
42 mkdir -p %{buildroot}%{_mandir}/man1
[all …]
/external/jsoup/src/main/java/org/jsoup/safety/
DSafelist.java5 this safe-list configuration, and the initial defaults.
20 import static org.jsoup.internal.Normalizer.lowerCase;
24 …Safe-lists define what HTML (elements and attributes) to allow through the cleaner. Everything els…
62 …the <a href="https://owasp.org/www-community/xss-filter-evasion-cheatsheet">XSS Filter Evasion Che…
67 private static final String All = ":all";
69 …private final Map<TagName, Set<AttributeKey>> attributes; // tag -> attribute[]. allowed attribute…
95 public static Safelist none() { in none()
105 public static Safelist simpleText() { in simpleText()
118 <code>rel=nofollow</code> attribute.
126 public static Safelist basic() { in basic()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Object/
DELFObjectFile.h1 //===- ELFObjectFile.h - ELF object file implementation ---------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
75 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0;
83 /// Returns platform-specific object flags, if any.
88 static bool classof(const Binary *v) { return v->isELF(); } in classof()
125 return getObject()->getSectionType(getRawDataRefImpl()); in getType()
129 return getObject()->getSectionFlags(getRawDataRefImpl()); in getFlags()
133 return getObject()->getSectionOffset(getRawDataRefImpl()); in getOffset()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/doc/reference/com/google/android/exoplayer2/testutil/
DHostActivity.HostedTest.html2 <!-- NewPage -->
4-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" s…
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
8 <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
11 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></sc…
12 <!--[if IE]>
13 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"><…
14 <![endif]-->
15 <script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
[all …]
DDumpFileAsserts.html2 <!-- NewPage -->
4-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" s…
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
8 <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
11 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></sc…
12 <!--[if IE]>
13 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"><…
14 <![endif]-->
15 <script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/doc/reference/com/google/android/exoplayer2/testutil/
DHostActivity.HostedTest.html2 <!-- NewPage -->
4-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" s…
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
8 <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
11 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></sc…
12 <!--[if IE]>
13 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"><…
14 <![endif]-->
15 <script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
[all …]
DDumpFileAsserts.html2 <!-- NewPage -->
4-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" s…
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
8 <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
11 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></sc…
12 <!--[if IE]>
13 <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"><…
14 <![endif]-->
15 <script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
[all …]

12345678910>>...12