changeset 716:751516d6b33f

minor
author Devel 1
date Wed, 29 Nov 2017 16:09:15 +0100
parents 0029b16967c6
children e38dee41176b
files stress-tester/src/test/java/com/passus/st/FilterScanner.java stress-tester/src/test/java/com/passus/st/source/NcEventSourceTest.java
diffstat 2 files changed, 18 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stress-tester/src/test/java/com/passus/st/FilterScanner.java	Wed Nov 29 16:09:15 2017 +0100
@@ -0,0 +1,16 @@
+package com.passus.st;
+
+import com.passus.st.client.http.filter.HttpFilterFactory;
+
+/**
+ *
+ * @author mikolaj.podbielski
+ */
+public class FilterScanner {
+
+    public static void main(String[] args) {
+        HttpFilterFactory.getInstance().getAll().stream()
+                .sorted((pi1, pi2) -> pi1.getPluginClass().getSimpleName().compareTo(pi2.getPluginClass().getSimpleName()))
+                .forEach((pi) -> System.out.format("%-28s %s\n", pi.getElementName(), pi.getPluginClass().getSimpleName()));
+    }
+}
--- a/stress-tester/src/test/java/com/passus/st/source/NcEventSourceTest.java	Wed Nov 29 16:09:02 2017 +0100
+++ b/stress-tester/src/test/java/com/passus/st/source/NcEventSourceTest.java	Wed Nov 29 16:09:15 2017 +0100
@@ -48,7 +48,8 @@
     public Object[][] pcapFiles() {
         return new Object[][]{
             {"pcap/http/http_req_resp.pcap"},
-            {"pcap/http/http_ndiag_tcp_conn.pcap"}
+            {"pcap/http/http_ndiag_tcp_conn.pcap"},
+            {"pcap/http/basic_digest.pcap"}
         };
     }