36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
> make contract-go
|
|
go test -tags=contract ./student-tests/... -v -args -base-url=http://localhost:8080
|
|
=== RUN TestAttachmentJPEG
|
|
--- PASS: TestAttachmentJPEG (0.23s)
|
|
=== RUN TestAttachmentTooManyPixels
|
|
--- PASS: TestAttachmentTooManyPixels (1.83s)
|
|
=== RUN TestAttachmentUnsafeFilename
|
|
--- PASS: TestAttachmentUnsafeFilename (0.12s)
|
|
=== RUN TestAttachmentTooLarge
|
|
--- PASS: TestAttachmentTooLarge (0.22s)
|
|
=== RUN TestAttachmentCorruptedImage
|
|
--- PASS: TestAttachmentCorruptedImage (0.14s)
|
|
=== RUN TestAttachmentMimeSubstitution
|
|
--- PASS: TestAttachmentMimeSubstitution (0.12s)
|
|
=== RUN TestAttachmentForeignID
|
|
--- PASS: TestAttachmentForeignID (0.26s)
|
|
=== RUN TestAttachmentFromAnotherChat
|
|
--- PASS: TestAttachmentFromAnotherChat (0.41s)
|
|
=== RUN TestCreateChatRollback
|
|
--- PASS: TestCreateChatRollback (0.16s)
|
|
=== RUN TestInvalidJSON
|
|
--- PASS: TestInvalidJSON (0.00s)
|
|
=== RUN TestForeignChat
|
|
--- PASS: TestForeignChat (0.57s)
|
|
=== RUN TestEmptyMessage
|
|
--- PASS: TestEmptyMessage (0.21s)
|
|
=== RUN TestDuplicateUsername
|
|
--- PASS: TestDuplicateUsername (0.28s)
|
|
=== RUN TestPagination
|
|
--- PASS: TestPagination (0.36s)
|
|
=== RUN TestLoginWrongPassword
|
|
--- PASS: TestLoginWrongPassword (0.34s)
|
|
=== RUN TestLogout
|
|
--- PASS: TestLogout (0.17s)
|
|
PASS
|
|
ok mtusi2026-messenger/student-tests 5.442s |