-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(definitions): Bindings Test Suite
- Loading branch information
Showing
20 changed files
with
134 additions
and
135 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...bindings/amqp/0.2.0/server/server.test.js → ...indings/amqp/0.2.0/server/server.test.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import {describe, it} from 'vitest'; | ||
import TestHelper from '@test/test-helper'; | ||
|
||
const fs = require('fs'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('AMQP', () => { | ||
suite('0.2.0', () => { | ||
test('Channel', require('./0.2.0/channel/channel.test.js')); | ||
test('Message', require('./0.2.0/message/message.test.js')); | ||
test('Operation', require('./0.2.0/operation/operation.test.js')); | ||
test('Server', require('./0.2.0/server/server.test.js')); | ||
describe('AMQP Test Suite', () => { | ||
describe('0.2.0', async () => { | ||
await import('./0.2.0/channel/channel.test.js'); | ||
await import('./0.2.0/message/message.test.js'); | ||
await import('./0.2.0/operation/operation.test.js'); | ||
await import('./0.2.0/server/server.test.mjs'); | ||
}); | ||
|
||
suite('0.3.0', () => { | ||
test('Channel', require('./0.3.0/channel/channel.test.js')); | ||
test('Message', require('./0.3.0/message/message.test.js')); | ||
test('Operation', require('./0.3.0/operation/operation.test.js')); | ||
test('Server', require('./0.3.0/server/server.test.js')); | ||
describe('0.3.0', async () => { | ||
await import('./0.3.0/channel/channel.test.js'); | ||
await import('./0.3.0/message/message.test.js'); | ||
await import('./0.3.0/operation/operation.test.js'); | ||
await import('./0.3.0/server/server.test.js'); | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('Anypoint MQ', () => { | ||
suite('0.0.1', () => { | ||
test('Channel', require('./0.0.1/channel/channel.test.js')); | ||
test('Message', require('./0.0.1/message/message.test.js')); | ||
describe('Anypoint MQ Test Suite', () => { | ||
describe('0.0.1', async () => { | ||
await import('./0.0.1/channel/channel.test.js'); | ||
await import('./0.0.1/message/message.test.js'); | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {describe} from 'vitest'; | ||
|
||
describe('Bindings Test Suite', async () => { | ||
await import('@test/bindings/amqp/index.mjs'); | ||
await import('@test/bindings/anypointmq/index.mjs'); | ||
await import('@test/bindings/googlepubsub/index.mjs'); | ||
await import('@test/bindings/http/index.mjs'); | ||
await import('@test/bindings/ibmmq/index.mjs'); | ||
await import('@test/bindings/jms/index.mjs'); | ||
await import('@test/bindings/kafka/index.mjs'); | ||
await import('@test/bindings/mqtt/index.mjs'); | ||
await import('@test/bindings/nats/index.mjs'); | ||
await import('@test/bindings/pulsar/index.mjs'); | ||
await import('@test/bindings/sns/index.mjs'); | ||
await import('@test/bindings/solace/index.mjs'); | ||
await import('@test/bindings/sqs/index.mjs'); | ||
await import('@test/bindings/websockets/index.mjs'); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('Google Pub/Sub', () => { | ||
suite('0.1.0', () => { | ||
test('Channel', require('./0.1.0/channel/channel.test.js')); | ||
test('Message', require('./0.1.0/message/message.test.js')); | ||
describe('Google Pub/Sub Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('./0.1.0/channel/channel.test.js') | ||
await import('./0.1.0/message/message.test.js') | ||
}); | ||
|
||
suite('0.2.0', () => { | ||
test('Channel', require('./0.2.0/channel/channel.test.js')); | ||
test('Message', require('./0.2.0/message/message.test.js')); | ||
describe('0.2.0', async () => { | ||
await import('./0.2.0/channel/channel.test.js') | ||
await import('./0.2.0/message/message.test.js') | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('HTTP', () => { | ||
suite('0.1.0', () => { | ||
test('Message', require('./0.1.0/message/message.test.js')); | ||
test('Operation', require('./0.1.0/operation/operation.test.js')); | ||
describe('HTTP Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('./0.1.0/message/message.test.js') | ||
await import('./0.1.0/operation/operation.test.js') | ||
}); | ||
|
||
suite('0.2.0', () => { | ||
test('Message', require('./0.2.0/message/message.test.js')); | ||
test('Operation', require('./0.2.0/operation/operation.test.js')); | ||
describe('0.2.0', async () => { | ||
await import('./0.2.0/message/message.test.js') | ||
await import('./0.2.0/operation/operation.test.js') | ||
}); | ||
|
||
suite('0.3.0', () => { | ||
test('Message', require('./0.3.0/message/message.test.js')); | ||
test('Operation', require('./0.3.0/operation/operation.test.js')); | ||
describe('0.3.0', async () => { | ||
await import('./0.3.0/message/message.test.js') | ||
await import('./0.3.0/operation/operation.test.js') | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('IBM MQ', () => { | ||
suite('0.1.0', () => { | ||
test('Channel', require('./0.1.0/channel/channel.test.js')); | ||
test('Message', require('./0.1.0/message/message.test.js')); | ||
test('Server', require('./0.1.0/server/server.test.js')); | ||
describe('IBM MQ Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('./0.1.0/channel/channel.test.js'); | ||
await import('./0.1.0/message/message.test.js'); | ||
await import('./0.1.0/server/server.test.js'); | ||
}); | ||
}) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('JMS', () => { | ||
suite('0.1.0', () => { | ||
test('Channel', require('./0.1.0/channel/channel.test.js')); | ||
test('Message', require('./0.1.0/message/message.test.js')); | ||
test('Server', require('./0.1.0/server/server.test.js')); | ||
describe('JMS Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('./0.1.0/channel/channel.test.js'); | ||
await import('./0.1.0/message/message.test.js'); | ||
await import('./0.1.0/server/server.test.js'); | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('Kafka', () => { | ||
suite('0.1.0', () => { | ||
test('Message', require('./0.1.0/message/message.test.js')); | ||
test('Operation', require('./0.1.0/operation/operation.test.js')); | ||
describe('Kafka Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('./0.1.0/message/message.test.js'); | ||
await import('./0.1.0/operation/operation.test.js'); | ||
}); | ||
|
||
suite('0.3.0', () => { | ||
test('Channel', require('./0.3.0/channel/channel.test.js')); | ||
test('Message', require('./0.3.0/message/message.test.js')); | ||
test('Operation', require('./0.3.0/operation/operation.test.js')); | ||
test('Server', require('./0.3.0/server/server.test.js')); | ||
describe('0.3.0', async () => { | ||
await import('./0.3.0/channel/channel.test.js'); | ||
await import('./0.3.0/message/message.test.js'); | ||
await import('./0.3.0/operation/operation.test.js'); | ||
await import('./0.3.0/server/server.test.js'); | ||
}); | ||
|
||
suite('0.4.0', () => { | ||
test('Channel', require('./0.4.0/channel/channel.test.js')); | ||
test('Message', require('./0.4.0/message/message.test.js')); | ||
test('Operation', require('./0.4.0/operation/operation.test.js')); | ||
test('Server', require('./0.4.0/server/server.test.js')); | ||
describe('0.4.0', async () => { | ||
await import('./0.4.0/channel/channel.test.js'); | ||
await import('./0.4.0/message/message.test.js'); | ||
await import('./0.4.0/operation/operation.test.js'); | ||
await import('./0.4.0/server/server.test.js'); | ||
}); | ||
|
||
suite('0.5.0', () => { | ||
test('Channel', require('./0.5.0/channel/channel.test.js')); | ||
test('Message', require('./0.5.0/message/message.test.js')); | ||
test('Operation', require('./0.5.0/operation/operation.test.js')); | ||
test('Server', require('./0.5.0/server/server.test.js')); | ||
describe('0.5.0', async () => { | ||
await import('./0.5.0/channel/channel.test.js'); | ||
await import('./0.5.0/message/message.test.js'); | ||
await import('./0.5.0/operation/operation.test.js'); | ||
await import('./0.5.0/server/server.test.js'); | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('MQTT', () => { | ||
suite('0.1.0', () => { | ||
test('Message', require('./0.1.0/message/message.test.js')); | ||
test('Operation', require('./0.1.0/operation/operation.test.js')); | ||
test('Server', require('./0.1.0/server/server.test.js')); | ||
describe('MQTT Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('./0.1.0/message/message.test.js'); | ||
await import('./0.1.0/operation/operation.test.js'); | ||
await import('./0.1.0/server/server.test.js'); | ||
}); | ||
|
||
suite('0.2.0', () => { | ||
test('Message', require('./0.2.0/message/message.test.js')); | ||
test('Operation', require('./0.2.0/operation/operation.test.js')); | ||
test('Server', require('./0.2.0/server/server.test.js')); | ||
describe('0.2.0', async () => { | ||
await import('./0.2.0/message/message.test.js'); | ||
await import('./0.2.0/operation/operation.test.js'); | ||
await import('./0.2.0/server/server.test.js'); | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('NATS', () => { | ||
suite('0.1.0', () => { | ||
test('Operation', require('./0.1.0/operation/operation.test.js')); | ||
describe('NATS Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('./0.1.0/operation/operation.test.js'); | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('Pulsar', () => { | ||
suite('0.1.0', () => { | ||
test('Channel', require('./0.1.0/channel/channel.test.js')); | ||
test('Server', require('./0.1.0/server/server.test.js')); | ||
describe('Pulsar Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('./0.1.0/channel/channel.test.js') | ||
await import('./0.1.0/server/server.test.js') | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('Amazon SNS', () => { | ||
suite('0.1.0', () => { | ||
test('Channel', require('./0.1.0/channel/channel.test.js')); | ||
test('Operation', require('./0.1.0/operation/operation.test.js')); | ||
describe('Amazon SNS Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('./0.1.0/channel/channel.test.js'); | ||
await import('./0.1.0/operation/operation.test.js'); | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('AMQP', () => { | ||
suite('0.2.0', () => { | ||
test('Operation', require('./0.2.0/operation/operation.test.js')); | ||
test('Server', require('./0.2.0/server/server.test.js')); | ||
describe('Solace Test Suite', () => { | ||
describe('0.2.0', async () => { | ||
await import('./0.2.0/operation/operation.test.js') | ||
await import('./0.2.0/server/server.test.js') | ||
}); | ||
|
||
suite('0.3.0', () => { | ||
test('Operation', require('./0.3.0/operation/operation.test.js')); | ||
test('Server', require('./0.3.0/server/server.test.js')); | ||
describe('0.3.0', async () => { | ||
await import('./0.3.0/operation/operation.test.js') | ||
await import('./0.3.0/server/server.test.js') | ||
}); | ||
|
||
suite('0.4.0', () => { | ||
test('Operation', require('./0.4.0/operation/operation.test.js')); | ||
test('Server', require('./0.4.0/server/server.test.js')); | ||
describe('0.4.0', async () => { | ||
await import('./0.4.0/operation/operation.test.js') | ||
await import('./0.4.0/server/server.test.js') | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('Amazon SQS', () => { | ||
suite('0.2.0', () => { | ||
test('Channel', require('./0.2.0/channel/channel.test.js')); | ||
test('Operation', require('./0.2.0/operation/operation.test.js')); | ||
describe('Amazon SQS Test Suite', () => { | ||
describe('0.2.0', async () => { | ||
await import('./0.2.0/channel/channel.test.js'); | ||
await import('./0.2.0/operation/operation.test.js'); | ||
}); | ||
}) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import {describe, suite} from 'vitest'; | ||
import {describe} from 'vitest'; | ||
|
||
describe('WebSockets', () => { | ||
suite('0.1.0', () => { | ||
test('Channel', require('./0.1.0/channel/channel.test.js')); | ||
describe('WebSockets Test Suite', () => { | ||
describe('0.1.0', async () => { | ||
await import('@test/bindings/websockets/0.1.0/channel/channel.test.mjs') | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters