Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Applet
cryptix.util.test.BaseTest
cryptix.test.TestUnixCrypt
public class TestUnixCrypt
extends BaseTest
Field Summary |
Method Summary | |
protected void |
|
static void |
|
Methods inherited from class cryptix.util.test.BaseTest | |
commandline , commandline , describeOptions , describeUsage , engineTest , error , error , error , fail , getErrors , getExpectedPasses , getFailures , getName , getPasses , getSkipped , init , isGuiEnabled , isOverallPass , isVerbose , parseOption , parseOptions , pass , passIf , report , setExpectedPasses , setGuiEnabled , setName , setOutput , setVerbose , skip , test , waitForExit |
protected void engineTest() throws Exception
Test that is run by distribution to make sure everything is OK! This C test program will confirm (note that some systems don't implement straight crypt(3)).#includemain() { const char *key = "CryptixRulez"; const char salt[] = {'o','k'}; printf("crypt(%s, %s) = %s\n", key, salt, crypt(key, salt)); }
- Overrides:
- engineTest in interface BaseTest
public static void main(String[] args)