Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of NSAPITests by
NSAPITests.h@2:41bf867fedd2, 2016-03-02 (annotated)
- Committer:
- Brian Daniels
- Date:
- Wed Mar 02 13:24:46 2016 -0600
- Revision:
- 2:41bf867fedd2
- Parent:
- 1:796ba8b082b1
- Child:
- 3:8b595ee6219d
Adding NetworkInterface tests
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Christopher Haster |
1:796ba8b082b1 | 1 | /* NetworkSocketAPI Tests |
| Christopher Haster |
1:796ba8b082b1 | 2 | * Copyright (c) 2015 ARM Limited |
| Christopher Haster |
1:796ba8b082b1 | 3 | * |
| Christopher Haster |
1:796ba8b082b1 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| Christopher Haster |
1:796ba8b082b1 | 5 | * you may not use this file except in compliance with the License. |
| Christopher Haster |
1:796ba8b082b1 | 6 | * You may obtain a copy of the License at |
| Christopher Haster |
1:796ba8b082b1 | 7 | * |
| Christopher Haster |
1:796ba8b082b1 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| Christopher Haster |
1:796ba8b082b1 | 9 | * |
| Christopher Haster |
1:796ba8b082b1 | 10 | * Unless required by applicable law or agreed to in writing, software |
| Christopher Haster |
1:796ba8b082b1 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| Christopher Haster |
1:796ba8b082b1 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| Christopher Haster |
1:796ba8b082b1 | 13 | * See the License for the specific language governing permissions and |
| Christopher Haster |
1:796ba8b082b1 | 14 | * limitations under the License. |
| Christopher Haster |
1:796ba8b082b1 | 15 | */ |
| Christopher Haster |
1:796ba8b082b1 | 16 | |
| Christopher Haster |
1:796ba8b082b1 | 17 | #ifndef NSAPI_TESTS_H |
| Christopher Haster |
1:796ba8b082b1 | 18 | #define NSAPI_TESTS_H |
| Christopher Haster |
1:796ba8b082b1 | 19 | |
| Christopher Haster |
1:796ba8b082b1 | 20 | #include "NetworkInterface.h" |
| Christopher Haster |
1:796ba8b082b1 | 21 | |
| Christopher Haster |
1:796ba8b082b1 | 22 | int nsapi_tests(const char *name, NetworkInterface *iface); |
| Brian Daniels |
2:41bf867fedd2 | 23 | int nsapi_run_test(const char *name, NetworkInterface *iface, int (*test)(NetworkInterface*)); |
| Christopher Haster |
1:796ba8b082b1 | 24 | |
| Christopher Haster |
1:796ba8b082b1 | 25 | #endif |
