aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test
AgeCommit message (Collapse)Author
2012-08-27Increase buffer sizes in gen_sctp suiteAnders Svensson
This improves the situation with long turnaround times but doesn't completely solve the problem.
2012-08-26Exercise service_info in test suitesAnders Svensson
2012-08-26Lighten up on timetraps in test suitesAnders Svensson
Some look to be optimistic when running in slow virtual environments. (With bad time keeping?)
2012-08-26Fix timing issue with subscribe in test suitesAnders Svensson
Has to happen before add_transport to be sure of getting the subsequent event.
2011-12-20Merge branch 'anders/diameter/testsuites/OTP-9829' into maintAnders Svensson
* anders/diameter/testsuites/OTP-9829: (21 commits) Install example dictionaries Move example code to examples/code Move example dictionaries to examples/dict Set name/prefix at compilation, not in dictionaries Add RFC 4004 (MIP) dictionary Add RFC 4740 (SIP) dictionary Add RFC 4072 (EAP) dictionary Add RFC 4006 (CC) dictionary Add RFC 4005 (NAS) dictionary Add standards testcase to compiler suite Remove {init,end}_per_group workaround Use new syntax for specifying ct group properties Increase timetrap in compiler suite Minor capx suite tweaks Minor makefile tweak Remove trailing whitespace Update skip condition in gen_sctp suite Reintroduce gen_sctp suite Remove delay from connect in transport suite Add codec testcase for decode of unknown AVPs ...
2011-12-16Move example dictionaries to examples/dictAnders Svensson
2011-12-16Set name/prefix at compilation, not in dictionariesAnders Svensson
To avoid inappropriate defaults if the dictionaries are reused.
2011-12-16Add RFC 4004 (MIP) dictionaryAnders Svensson
2011-12-16Add RFC 4740 (SIP) dictionaryAnders Svensson
2011-12-16Add RFC 4072 (EAP) dictionaryAnders Svensson
2011-12-16Add RFC 4006 (CC) dictionaryAnders Svensson
2011-12-16Add RFC 4005 (NAS) dictionaryAnders Svensson
2011-12-16Add standards testcase to compiler suiteAnders Svensson
To test compilation of example dictionaries from various standards.
2011-12-16Remove {init,end}_per_group workaroundAnders Svensson
This undoes commit 162c0d3ee30790ec5a75e20b0e2e8bc61ed92375.
2011-12-16Use new syntax for specifying ct group propertiesAnders Svensson
No longer have to duplicate groups for sequential and parallel runs.
2011-12-16Increase timetrap in compiler suiteAnders Svensson
Compilation is slow on Solaris for one.
2011-12-16Minor capx suite tweaksAnders Svensson
2011-12-16Minor makefile tweakAnders Svensson
2011-12-16Remove trailing whitespaceAnders Svensson
2011-12-16Update skip condition in gen_sctp suiteAnders Svensson
To the R15 behaviour, with a return value instead of badarg.
2011-12-16Reintroduce gen_sctp suiteAnders Svensson
Commit e05868f49b442c10cedbded390c110473cda6f00 was the original, this commit is the result of splitting that one in two. Resurrect this suite to make SCTP faults more visible: the transport suite has sporadic failures because of them, despite having jacked up timeouts to unreasonable values.
2011-12-16Remove delay from connect in transport suiteAnders Svensson
There should be no need for it, previous introduction was misguided.
2011-12-16Add codec testcase for decode of unknown AVPsAnders Svensson
2011-12-16Handle only error return as evidence of no SCTPAnders Svensson
That is, remove the catch for the pre-R15 behaviour.
2011-12-16Update watchdog suiteAnders Svensson
2011-12-08Tell dialyzer not to warn about unused functionsAnders Svensson
Depending on the dictionary, generated dictionary modules may contain unused functions included from diameter_gen.hrl. There may still be warnings however since even used functions can contain code that isn't reached for a given dictionary. It would be useful for diameter to generate spec attributes for a dictionary's generated records but the format of these is currently undocumented.
2011-12-08Add compiler testcases for generation and compilation to beamAnders Svensson
2011-12-08Fix semantic checks on AVP qualifiersAnders Svensson
Didn't quite interpret '*' as RFC 3588 dictates. In particular, the interpretation depends on what's being qualified, a required, optional or fixed AVP.
2011-12-07Deal with crypto:start() failure in TLS suiteAnders Svensson
2011-12-06Skip sctp tests on {error, esocktnosupport}Anders Svensson
This is returned on MontaVista 4.0.1, Linux 2.6.10. On Solaris 9 (for one at least) it's eprotonosupport.
2011-12-06Ensure that TLS will be available in TLS suiteAnders Svensson
The existence of openssl is not enough.
2011-12-06Use diameter_callback in relay and tls suitesAnders Svensson
2011-12-06Use diameter_callback in failover suiteAnders Svensson
2011-12-06Update app suiteAnders Svensson
2011-12-05Check compiler dependencies in app suiteAnders Svensson
After having added a less than stellar dependency that broke the build. Parallel make could succeed by chance but not sequential. This ensures the error doesn't get past test.
2011-12-05Fix interpretation of vendor id in @groupedAnders Svensson
A value is required to be the same as any specified with @avp_vendor_id but otherwise the two locations are equivalent. Both possibilities are allowed since @avp_vendor_id is required for AVPs of types other than Grouped (modulo it not really needing to exist at all: see commit 943266c9) and since the grammar parsed in @grouped (from RFC 3588) allows it.
2011-12-05Add range checks on dictionary integersAnders Svensson
Check that values that should be Unsigned32 actually are.
2011-12-04Don't explicitly load inherited modulesAnders Svensson
Just use include options to add to the code path and expect that dependent modules will either already have been loaded or will be loaded dynamically, thereby avoiding having a module being left as both current and old code when compiling concurrently. Not a problem for a human user interactively compiling one module at a time but the compiler test suite for one will compile concurrently. In any case, leaving behind old code is probably not what someone would expect while relying on the code path probably is.
2011-12-04Add format testcase to compiler suiteAnders Svensson
Plus additional parsing tests.
2011-12-02Remove unnecessary includesAnders Svensson
2011-12-02Add compiler suiteAnders Svensson
2011-12-02Update app suiteAnders Svensson
2011-12-02Update codec suiteAnders Svensson
2011-11-16Merge branch 'anders/diameter/release_R15A'Anders Svensson
* anders/diameter/release_R15A: Version -> 0.11, update appup, minor app suite fix
2011-11-16Merge branch 'anders/diameter/app_suite_vs_sasl/OTP-9704'Anders Svensson
* anders/diameter/app_suite_vs_sasl/OTP-9704: Add sasl to app testcases to placate systools
2011-11-15Version -> 0.11, update appup, minor app suite fixAnders Svensson
2011-11-11Add sasl to app testcases to placate systoolsAnders Svensson
A recent sasl change results in a missing_sasl warning/error that causes the release and relup testcases to fail.
2011-11-10Add capx suiteAnders Svensson
Tests error handling at capabilities exchange.
2011-11-10Use trivial capabilities callback in traffic suiteAnders Svensson
2011-11-10Simplify handling of generated hrls in testsuitesAnders Svensson
Just morph include into include_lib when releasing. Not using include_lib here is due to generated hrls not residing in diameter/include until after release. See release.sed.