about summary refs log tree commit diff stats
path: root/js/blotbotboot/node_modules/irc/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'js/blotbotboot/node_modules/irc/test/data')
-rw-r--r--js/blotbotboot/node_modules/irc/test/data/fixtures.json197
-rw-r--r--js/blotbotboot/node_modules/irc/test/data/ircd.key15
-rw-r--r--js/blotbotboot/node_modules/irc/test/data/ircd.pem17
3 files changed, 0 insertions, 229 deletions
diff --git a/js/blotbotboot/node_modules/irc/test/data/fixtures.json b/js/blotbotboot/node_modules/irc/test/data/fixtures.json
deleted file mode 100644
index 5e092a0..0000000
--- a/js/blotbotboot/node_modules/irc/test/data/fixtures.json
+++ /dev/null
@@ -1,197 +0,0 @@
-{
-	"basic": {
-		"sent": [
-			["NICK testbot", "Client sent NICK message"],
-			["USER nodebot 8 * :nodeJS IRC client", "Client sent USER message"],
-			["QUIT :node-irc says goodbye", "Client sent QUIT message"]
-		],
-
-		"received": [
-			[":localhost 001 testbot :Welcome to the Internet Relay Chat Network testbot\r\n", "Received welcome message"]
-		]
-	},
-	"double-CRLF": {
-		"sent": [
-			["NICK testbot", "Client sent NICK message"],
-			["USER nodebot 8 * :nodeJS IRC client", "Client sent USER message"],
-			["QUIT :node-irc says goodbye", "Client sent QUIT message"]
-		],
-
-		"received": [
-			[":localhost 001 testbot :Welcome to the Internet Relay Chat Network testbot\r\n\r\n", "Received welcome message"]
-		]
-	},
-	"parse-line": {
-		":irc.dollyfish.net.nz 372 nodebot :The message of the day was last changed: 2012-6-16 23:57": {
-			"prefix": "irc.dollyfish.net.nz",
-			"server": "irc.dollyfish.net.nz",
-			"command": "rpl_motd",
-			"rawCommand": "372",
-			"commandType": "reply",
-			"args": ["nodebot", "The message of the day was last changed: 2012-6-16 23:57"]
-		},
-		":Ned!~martyn@irc.dollyfish.net.nz PRIVMSG #test :Hello nodebot!": {
-			"prefix": "Ned!~martyn@irc.dollyfish.net.nz",
-			"nick": "Ned",
-			"user": "~martyn",
-			"host": "irc.dollyfish.net.nz",
-			"command": "PRIVMSG",
-			"rawCommand": "PRIVMSG",
-			"commandType": "normal",
-			"args": ["#test", "Hello nodebot!"]
-		},
-		":Ned!~martyn@irc.dollyfish.net.nz PRIVMSG #test ::-)": {
-			"prefix": "Ned!~martyn@irc.dollyfish.net.nz",
-			"nick": "Ned",
-			"user": "~martyn",
-			"host": "irc.dollyfish.net.nz",
-			"command": "PRIVMSG",
-			"rawCommand": "PRIVMSG",
-			"commandType": "normal",
-			"args": ["#test", ":-)"]
-		},
-		":Ned!~martyn@irc.dollyfish.net.nz PRIVMSG #test ::": {
-			"prefix": "Ned!~martyn@irc.dollyfish.net.nz",
-			"nick": "Ned",
-			"user": "~martyn",
-			"host": "irc.dollyfish.net.nz",
-			"command": "PRIVMSG",
-			"rawCommand": "PRIVMSG",
-			"commandType": "normal",
-			"args": ["#test", ":"]
-		},
-		":Ned!~martyn@irc.dollyfish.net.nz PRIVMSG #test ::^:^:": {
-			"prefix": "Ned!~martyn@irc.dollyfish.net.nz",
-			"nick": "Ned",
-			"user": "~martyn",
-			"host": "irc.dollyfish.net.nz",
-			"command": "PRIVMSG",
-			"rawCommand": "PRIVMSG",
-			"commandType": "normal",
-			"args": ["#test", ":^:^:"]
-		},
-		":some.irc.net 324 webuser #channel +Cnj 5:10": {
-			"prefix": "some.irc.net",
-			"server": "some.irc.net",
-			"command": "rpl_channelmodeis",
-			"rawCommand": "324",
-			"commandType": "reply",
-			"args": ["webuser", "#channel", "+Cnj", "5:10"]
-		},
-		":nick!user@host QUIT :Ping timeout: 252 seconds": {
-			"prefix": "nick!user@host",
-			"nick": "nick",
-			"user": "user",
-			"host": "host",
-			"command": "QUIT",
-			"rawCommand": "QUIT",
-			"commandType": "normal",
-			"args": ["Ping timeout: 252 seconds"]
-		},
-		":nick!user@host PRIVMSG #channel :so : colons: :are :: not a problem ::::": {
-			"prefix": "nick!user@host",
-			"nick": "nick",
-			"user": "user",
-			"host": "host",
-			"command": "PRIVMSG",
-			"rawCommand": "PRIVMSG",
-			"commandType": "normal",
-			"args": ["#channel", "so : colons: :are :: not a problem ::::"]
-		},
-		":nick!user@host PRIVMSG #channel :\u000314,01\u001fneither are colors or styles\u001f\u0003": {
-			"prefix": "nick!user@host",
-			"nick": "nick",
-			"user": "user",
-			"host": "host",
-			"command": "PRIVMSG",
-			"rawCommand": "PRIVMSG",
-			"commandType": "normal",
-			"args": ["#channel", "neither are colors or styles"],
-			"stripColors": true
-		},
-		":nick!user@host PRIVMSG #channel :\u000314,01\u001fwe can leave styles and colors alone if desired\u001f\u0003": {
-			"prefix": "nick!user@host",
-			"nick": "nick",
-			"user": "user",
-			"host": "host",
-			"command": "PRIVMSG",
-			"rawCommand": "PRIVMSG",
-			"commandType": "normal",
-			"args": ["#channel", "\u000314,01\u001fwe can leave styles and colors alone if desired\u001f\u0003"],
-			"stripColors": false
-		},
-		":pratchett.freenode.net 324 nodebot #ubuntu +CLcntjf 5:10 #ubuntu-unregged": {
-			"prefix": "pratchett.freenode.net",
-			"server": "pratchett.freenode.net",
-			"command": "rpl_channelmodeis",
-			"rawCommand": "324",
-			"commandType": "reply",
-			"args": ["nodebot", "#ubuntu", "+CLcntjf", "5:10", "#ubuntu-unregged"]
-		}
-
-	},
-	"433-before-001": {
-		"sent": [
-			["NICK testbot", "Client sent NICK message"],
-			["USER nodebot 8 * :nodeJS IRC client", "Client sent USER message"],
-			["NICK testbot1", "Client sent proper response to 433 nickname in use message"],
-			["QUIT :node-irc says goodbye", "Client sent QUIT message"]
-		],
-
-		"received": [
-			[":localhost 433 * testbot :Nickname is already in use.\r\n", "Received nick in use error"],
-			[":localhost 001 testbot1 :Welcome to the Internet Relay Chat Network testbot\r\n", "Received welcome message"]
-		],
-		"clientInfo": [
-			"hostmask is as expected after 433",
-			"nick is as expected after 433",
-			"maxLineLength is as expected after 433"
-		]
-	},
-    "convert-encoding": {
-        "causesException": [
-            ":ubottu!ubottu@ubuntu/bot/ubottu MODE #ubuntu -bo *!~Brian@* ubottu\r\n",
-            "Elizabeth",
-            ":sblack1!~sblack1@unaffiliated/sblack1 NICK :sblack\r\n",
-            ":TijG!~TijG@null.1ago.be PRIVMSG #ubuntu :ThinkPad\r\n"
-        ]
-    },
-    "_splitLongLines": [
-        {
-            "input": "abcde ",
-            "maxLength": 5,
-            "result": ["abcde"]
-        },
-        {
-            "input": "abcde",
-            "maxLength": 5,
-            "result": ["abcde"]
-        },
-        {
-            "input": "abcdefghijklmnopqrstuvwxyz",
-            "maxLength": 5,
-            "result": ["abcde", "fghij", "klmno", "pqrst", "uvwxy", "z"]
-        },
-        {
-            "input": "abc abcdef abc abcd abc",
-            "maxLength": 5,
-            "result": ["abc", "abcde", "f abc", "abcd", "abc"]
-        }
-    ],
-	"_splitLongLines_no_max": [
-		{
-			"input": "abcdefghijklmnopqrstuvwxyz",
-			"result": ["abcdefghijklmnopqrstuvwxyz"]
-		}
-	],
-	"_speak": [
-		{
-			"length": 30,
-			"expected": 10
-		},
-		{
-			"length": 7,
-			"expected": 1
-		}
-	]
-}
diff --git a/js/blotbotboot/node_modules/irc/test/data/ircd.key b/js/blotbotboot/node_modules/irc/test/data/ircd.key
deleted file mode 100644
index fc8978a..0000000
--- a/js/blotbotboot/node_modules/irc/test/data/ircd.key
+++ /dev/null
@@ -1,15 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIICWwIBAAKBgQDH5pYbcECKUrbRbUXKUu7lMCgb9UkPi4+Ur9f0LYdspHZJlv0S
-yBn4RpJOl8EsMhWI+houY3mBlcCL/DwiGfMDk5TSomyrI6eONFworokTJpG2h0f0
-cWnGdDW1zu8Z1odo047NWzwwv2mU03fkZmzfCclAzjKkDMMqP34mPl5TnwIDAQAB
-AoGAJslK3tAM9cnOxxvYqsUkrTuGzMXvAyElHshvsmUTHbVbbjPprrc8sruer7kq
-NhURsJ42bkHG1ankzkSGtmcqi3LdBBhVLm5gyog2JxQlTxvUVOPvyrOsQkl3uDwL
-aZqGTESHlLx7jhOKgiImqo0uGxNy46tzsHbpFGAeqTYcYKECQQD6faxqytMpMc/h
-zcrWsRhe7Omj5D6VdrbkGkM8razn4Oyr42p8Xylcde2MlnTiTAL5ElxlLd4PYsLD
-hKme/M5tAkEAzEwT1GU7CYjPdHHfsHUbDIHBh0BOJje2TXhDOa5tiZbOZevIk6TZ
-V6p/9zjLe5RAc/dpzHv1C+vQOkhgvoNyuwJARwjGkU5NTXxTwGwUnoeAKsMyioia
-etY8jTkpYha6VtOBKkmGlBiEaTUEFX9BTD9UBIABdavpMiHGq51+YJi+jQJAGYic
-pdwtH8jwnM4qtgQ86DhDduMLoW0vJMmWJVxuplap30Uz4XgmDfXqXnzDueNSluvi
-VkNb4iyL7uzi4ozNRwJALT0vP65RQ2d7OUEwB4XZFExKYzHADiFtw0NZtcWRW6y3
-rN0uXMxEZ6vRQurVjO9GhB76fAo/UooX0MVF0ShFNQ==
------END RSA PRIVATE KEY-----
diff --git a/js/blotbotboot/node_modules/irc/test/data/ircd.pem b/js/blotbotboot/node_modules/irc/test/data/ircd.pem
deleted file mode 100644
index 3d8d979..0000000
--- a/js/blotbotboot/node_modules/irc/test/data/ircd.pem
+++ /dev/null
@@ -1,17 +0,0 @@
------BEGIN CERTIFICATE-----
-MIICojCCAgugAwIBAgIJAMid3M25tUeUMA0GCSqGSIb3DQEBBQUAMGoxCzAJBgNV
-BAYTAlpaMREwDwYDVQQIDAhJbnRlcm5ldDEPMA0GA1UEBwwGZ2l0aHViMREwDwYD
-VQQKDAhub2RlLWlyYzEQMA4GA1UECwwHdGVzdGluZzESMBAGA1UEAwwJbG9jYWxo
-b3N0MB4XDTE1MDExMjIzNDg0MloXDTI1MDEwOTIzNDg0MlowajELMAkGA1UEBhMC
-WloxETAPBgNVBAgMCEludGVybmV0MQ8wDQYDVQQHDAZnaXRodWIxETAPBgNVBAoM
-CG5vZGUtaXJjMRAwDgYDVQQLDAd0ZXN0aW5nMRIwEAYDVQQDDAlsb2NhbGhvc3Qw
-gZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMfmlhtwQIpSttFtRcpS7uUwKBv1
-SQ+Lj5Sv1/Qth2ykdkmW/RLIGfhGkk6XwSwyFYj6Gi5jeYGVwIv8PCIZ8wOTlNKi
-bKsjp440XCiuiRMmkbaHR/RxacZ0NbXO7xnWh2jTjs1bPDC/aZTTd+RmbN8JyUDO
-MqQMwyo/fiY+XlOfAgMBAAGjUDBOMB0GA1UdDgQWBBTUaumzrTJrl1goRRzOGgEO
-VNKFmjAfBgNVHSMEGDAWgBTUaumzrTJrl1goRRzOGgEOVNKFmjAMBgNVHRMEBTAD
-AQH/MA0GCSqGSIb3DQEBBQUAA4GBAGKppBE9mjk2zJPSxPcHl3RSpnPs5ZkuBLnK
-rxZ2bR9VJhoQEwtiZRxkSXSdooj3eJgzMobYMEhSvFibUeBuIppB7oacys2Bd+O1
-xzILcbgEPqsk5JFbYT9KD8r+sZy5Wa1A39eNkmdD/oWt9Mb1PLrDfM/melvZ9/vW
-oMSmMipK
------END CERTIFICATE-----